|
Sound Design Toolkit
075
Physically informed sound synthesis for everyday sounds
|
Go to the source code of this file.
Typedefs | |
| typedef struct SDTWindFlow | SDTWindFlow |
| Opaque data structure for a solid obstacle object. | |
| typedef struct SDTWindCavity | SDTWindCavity |
| Opaque data structure for a hollow cavity object. | |
| typedef struct SDTWindKarman | SDTWindKarman |
| Opaque data structure for a thin obstacle object. | |
| typedef struct SDTExplosion | SDTExplosion |
| Opaque data structure for an explosion object. | |
Functions | |
| SDTWindFlow * | SDTWindFlow_new () |
| Object constructor. More... | |
| void | SDTWindFlow_free (SDTWindFlow *x) |
| Object destructor. More... | |
| void | SDTWindFlow_setFilters (SDTWindFlow *x) |
| Update filter coefficients. Should be always called after setting the sampling rate with SDT_setSampleRate(). More... | |
| void | SDTWindFlow_setWindSpeed (SDTWindFlow *x, double f) |
| Sets the wind speed. More... | |
| double | SDTWindFlow_dsp (SDTWindFlow *x) |
| Signal processing routine. Call this function at sample rate to synthesize a wind turbulence sound. More... | |
| SDTWindCavity * | SDTWindCavity_new (int maxDelay) |
| Object constructor. More... | |
| void | SDTWindCavity_free (SDTWindCavity *x) |
| Object destructor. More... | |
| void | SDTWindCavity_setLength (SDTWindCavity *x, double f) |
| Sets the lenght of the cavity. More... | |
| void | SDTWindCavity_setDiameter (SDTWindCavity *x, double f) |
| Sets the diameter of the cavity. More... | |
| void | SDTWindCavity_setWindSpeed (SDTWindCavity *x, double f) |
| Sets the wind speed. More... | |
| double | SDTWindCavity_dsp (SDTWindCavity *x) |
| Signal processing routine. Call this function at sample rate to synthesize wind through a cavity. More... | |
| SDTWindKarman * | SDTWindKarman_new () |
| Object constructor. More... | |
| void | SDTWindKarman_free (SDTWindKarman *x) |
| Object destructor. More... | |
| void | SDTWindKarman_setDiameter (SDTWindKarman *x, double f) |
| Sets the diameter of the object. More... | |
| void | SDTWindKarman_setWindSpeed (SDTWindKarman *x, double f) |
| Sets the wind speed. More... | |
| double | SDTWindKarman_dsp (SDTWindKarman *x) |
| Signal processing routine. Call this function at sample rate to synthesize wind blowing against a thin object. More... | |
| SDTExplosion * | SDTExplosion_new (long maxScatter, long maxDelay) |
| Object constructor. More... | |
| void | SDTExplosion_free (SDTExplosion *x) |
| Object destructor. More... | |
| void | SDTExplosion_setBlastTime (SDTExplosion *x, double f) |
| Sets the duration of the initial spike. More... | |
| void | SDTExplosion_setScatterTime (SDTExplosion *x, double f) |
| Sets the duration of the scattering. More... | |
| void | SDTExplosion_setDispersion (SDTExplosion *x, double f) |
| Sets the balance between initial spike and successive scattering. More... | |
| void | SDTExplosion_setDistance (SDTExplosion *x, double f) |
| Sets the distance of the listener from the explosion. More... | |
| void | SDTExplosion_setWaveSpeed (SDTExplosion *x, double f) |
| Sets the propagation velocity of the shockwave. More... | |
| void | SDTExplosion_setWindSpeed (SDTExplosion *x, double f) |
| Sets the propagation velocity of the blast wind. More... | |
| void | SDTExplosion_update (SDTExplosion *x) |
| Updates the internal state of the object. Please call this function after having reset one or more synthesis parameters. | |
| void | SDTExplosion_dsp (SDTExplosion *x, double *outs) |
| Signal processing routine. Call this function at sample rate to synthesize an explosion sound. More... | |