|
Sound Design Toolkit
078
Physically informed sound synthesis for everyday sounds
|
Typedefs | |
| typedef struct SDTDelay | SDTDelay |
| Opaque data structure for a delay line object. | |
| typedef struct SDTDelay | SDTDelay |
| Opaque data structure for a delay line object. | |
Functions | |
| SDTDelay * | SDTDelay_new (long maxDelay) |
| Object constructor. More... | |
| void | SDTDelay_free (SDTDelay *x) |
| Object destructor. More... | |
| void | SDTDelay_clear (SDTDelay *x) |
| Clears the buffer, therefore silencing the delayed signal. | |
| void | SDTDelay_setDelay (SDTDelay *x, double f) |
| Sets the delay time. Fractional values are allowed. The delay time can be continuously changed over time without audible glitches. More... | |
| double | SDTDelay_dsp (SDTDelay *x, double in) |
| Signal processing routine. Call this function at sample rate to output the delayed signal. More... | |
Delay line, supporting fractional and time-varying delay lengths.
| double SDTDelay_dsp | ( | SDTDelay * | x, |
| double | in | ||
| ) |
Signal processing routine. Call this function at sample rate to output the delayed signal.
| [in] | in | Input sample |
| void SDTDelay_free | ( | SDTDelay * | x | ) |
Object destructor.
| [in] | x | Pointer to the instance to destroy |
| SDTDelay * SDTDelay_new | ( | long | maxDelay | ) |
Object constructor.
| [in] | maxDelay | Buffer size, determining the maximum delay length, in samples |
| void SDTDelay_setDelay | ( | SDTDelay * | x, |
| double | f | ||
| ) |
Sets the delay time. Fractional values are allowed. The delay time can be continuously changed over time without audible glitches.
| [in] | f | Delay time, in samples |