|
Sound Design Toolkit
075
Physically informed sound synthesis for everyday sounds
|
Typedefs | |
| typedef struct SDTPitchShift | SDTPitchShift |
| Opaque data structure for a pitch shifter object. | |
Functions | |
| SDTPitchShift * | SDTPitchShift_new (long size) |
| Object constructor. More... | |
| void | SDTPitchShift_free (SDTPitchShift *x) |
| Object destructor. More... | |
| void | SDTPitchShift_setRatio (SDTPitchShift *x, double f) |
| Sets the pitch shifting ratio. More... | |
| double | SDTPitchShift_dsp (SDTPitchShift *x, double in) |
| Signal processing routine. Call this function at sample rate to compute the pitch shifted signal. More... | |
Time-domain pitch shifter, useful to simulate doppler effect or other applications requiring pitch shifting.
| double SDTPitchShift_dsp | ( | SDTPitchShift * | x, |
| double | in | ||
| ) |
Signal processing routine. Call this function at sample rate to compute the pitch shifted signal.
| [in] | in | Input sample |
| void SDTPitchShift_free | ( | SDTPitchShift * | x | ) |
Object destructor.
| [in] | x | Pointer to the instance to destroy |
| SDTPitchShift* SDTPitchShift_new | ( | long | size | ) |
Object constructor.
| [in] | size | Internal buffer size, in samples |
| void SDTPitchShift_setRatio | ( | SDTPitchShift * | x, |
| double | f | ||
| ) |
Sets the pitch shifting ratio.
| [in] | f | New pitch / original pitch ratio |