|
Sound Design Toolkit
078
Physically informed sound synthesis for everyday sounds
|
Typedefs | |
| typedef struct SDTOnePole | SDTOnePole |
| Opaque data structure for a one pole filter object. | |
| typedef struct SDTOnePole | SDTOnePole |
| Opaque data structure for a one pole filter object. | |
Functions | |
| SDTOnePole * | SDTOnePole_new () |
| Object constructor. More... | |
| void | SDTOnePole_free (SDTOnePole *x) |
| Object destructor. More... | |
| void | SDTOnePole_setFeedback (SDTOnePole *x, double f) |
| Manually sets the alpha coefficient. More... | |
| void | SDTOnePole_lowpass (SDTOnePole *x, double f) |
| Puts the filter in lowpass mode, at the given cutoff frequency. More... | |
| void | SDTOnePole_highpass (SDTOnePole *x, double f) |
| Puts the filter in highpass mode, at the given cutoff frequency. More... | |
| double | SDTOnePole_dsp (SDTOnePole *x, double in) |
| Signal processing routine. Call this function at sample rate to compute the filtered signal. More... | |
Simple one pole filter.
| double SDTOnePole_dsp | ( | SDTOnePole * | x, |
| double | in | ||
| ) |
Signal processing routine. Call this function at sample rate to compute the filtered signal.
| [in] | in | Input sample |
| void SDTOnePole_free | ( | SDTOnePole * | x | ) |
Object destructor.
| [in] | x | Pointer to the instance to destroy |
| void SDTOnePole_highpass | ( | SDTOnePole * | x, |
| double | f | ||
| ) |
Puts the filter in highpass mode, at the given cutoff frequency.
| [in] | f | Cutoff frequency, in Hz |
| void SDTOnePole_lowpass | ( | SDTOnePole * | x, |
| double | f | ||
| ) |
Puts the filter in lowpass mode, at the given cutoff frequency.
| [in] | f | Cutoff frequency, in Hz |
| SDTOnePole * SDTOnePole_new | ( | ) |
Object constructor.
| void SDTOnePole_setFeedback | ( | SDTOnePole * | x, |
| double | f | ||
| ) |
Manually sets the alpha coefficient.
| [in] | f | Weight of the input sample |