|
Sound Design Toolkit
078
Physically informed sound synthesis for everyday sounds
|
Typedefs | |
| typedef struct SDTEnvelope | SDTEnvelope |
| Opaque data structure for an envelope tracker object. | |
| typedef struct SDTEnvelope | SDTEnvelope |
| Opaque data structure for an envelope tracker object. | |
Functions | |
| SDTEnvelope * | SDTEnvelope_new () |
| Object constructor. More... | |
| void | SDTEnvelope_free (SDTEnvelope *x) |
| Object destructor. More... | |
| void | SDTEnvelope_setAttack (SDTEnvelope *x, double a) |
| Sets the attack time. More... | |
| void | SDTEnvelope_setRelease (SDTEnvelope *x, double r) |
| Sets the release time. More... | |
| double | SDTEnvelope_dsp (SDTEnvelope *x, double in) |
| Signal processing routine. Call this function at sample rate to compute the filtered signal. More... | |
One pole envelope follower, with independent attack and release times.
| double SDTEnvelope_dsp | ( | SDTEnvelope * | x, |
| double | in | ||
| ) |
Signal processing routine. Call this function at sample rate to compute the filtered signal.
| [in] | in | Input sample |
| void SDTEnvelope_free | ( | SDTEnvelope * | x | ) |
Object destructor.
| [in] | x | Pointer to the instance to destroy |
| SDTEnvelope * SDTEnvelope_new | ( | ) |
Object constructor.
| void SDTEnvelope_setAttack | ( | SDTEnvelope * | x, |
| double | a | ||
| ) |
Sets the attack time.
| [in] | a | Attack time, in ms |
| void SDTEnvelope_setRelease | ( | SDTEnvelope * | x, |
| double | r | ||
| ) |
Sets the release time.
| [in] | r | Release time, in ms |