void SDTWindFlow_setWindSpeed(SDTWindFlow *x, double f)
Sets the wind speed.
void SDTExplosion_setWaveSpeed(SDTExplosion *x, double f)
Sets the propagation velocity of the shockwave.
void SDTExplosion_setDistance(SDTExplosion *x, double f)
Sets the distance of the listener from the explosion.
void SDTWindCavity_setLength(SDTWindCavity *x, double f)
Sets the lenght of the cavity.
void SDTExplosion_update(SDTExplosion *x)
Updates the internal state of the object. Please call this function after having reset one or more sy...
struct SDTWindKarman SDTWindKarman
Opaque data structure for a thin obstacle object.
Definition: SDTGases.h:124
double SDTWindFlow_dsp(SDTWindFlow *x)
Signal processing routine. Call this function at sample rate to synthesize a wind turbulence sound...
SDTWindCavity * SDTWindCavity_new(int maxDelay)
Object constructor.
void SDTWindKarman_free(SDTWindKarman *x)
Object destructor.
void SDTWindCavity_free(SDTWindCavity *x)
Object destructor.
void SDTWindFlow_setFilters(SDTWindFlow *x)
Update filter coefficients. Should be always called after setting the sampling rate with SDT_setSampl...
struct SDTExplosion SDTExplosion
Opaque data structure for an explosion object.
Definition: SDTGases.h:156
void SDTWindCavity_setDiameter(SDTWindCavity *x, double f)
Sets the diameter of the cavity.
void SDTWindKarman_setDiameter(SDTWindKarman *x, double f)
Sets the diameter of the object.
struct SDTWindFlow SDTWindFlow
Opaque data structure for a solid obstacle object.
Definition: SDTGases.h:40
SDTWindFlow * SDTWindFlow_new()
Object constructor.
struct SDTWindCavity SDTWindCavity
Opaque data structure for a hollow cavity object.
Definition: SDTGases.h:84
SDTWindKarman * SDTWindKarman_new()
Object constructor.
void SDTExplosion_dsp(SDTExplosion *x, double *outs)
Signal processing routine. Call this function at sample rate to synthesize an explosion sound...
double SDTWindCavity_dsp(SDTWindCavity *x)
Signal processing routine. Call this function at sample rate to synthesize wind through a cavity...
void SDTExplosion_setDispersion(SDTExplosion *x, double f)
Sets the balance between initial spike and successive scattering.
void SDTWindCavity_setWindSpeed(SDTWindCavity *x, double f)
Sets the wind speed.
void SDTExplosion_setBlastTime(SDTExplosion *x, double f)
Sets the duration of the initial spike.
void SDTWindFlow_free(SDTWindFlow *x)
Object destructor.
SDTExplosion * SDTExplosion_new(long maxScatter, long maxDelay)
Object constructor.
void SDTExplosion_setScatterTime(SDTExplosion *x, double f)
Sets the duration of the scattering.
void SDTWindKarman_setWindSpeed(SDTWindKarman *x, double f)
Sets the wind speed.
void SDTExplosion_setWindSpeed(SDTExplosion *x, double f)
Sets the propagation velocity of the blast wind.
double SDTWindKarman_dsp(SDTWindKarman *x)
Signal processing routine. Call this function at sample rate to synthesize wind blowing against a thi...
void SDTExplosion_free(SDTExplosion *x)
Object destructor.