void SDTFluidFlow_setMaxRadius(SDTFluidFlow *x, double f)
Sets the maximum radius for the bubble population.
void SDTBubble_normAmp(SDTBubble *x)
Sets bubble amplitude to the maximum instead of computing it from radius and depth.
struct SDTFluidFlow SDTFluidFlow
Opaque data structure representing a fluid flow object.
Definition: SDTLiquids.h:76
double SDTBubble_dsp(SDTBubble *x)
Signal processing routine. Call this function at sample rate to obtain a bubble sound.
SDTFluidFlow * SDTFluidFlow_new(int nBubbles)
Object constructor.
void SDTBubble_setDepth(SDTBubble *x, double f)
Sets the bubble depth.
void SDTFluidFlow_setAvgRate(SDTFluidFlow *x, double f)
Sets the amount of generated bubbles per second.
void SDTBubble_update(SDTBubble *x)
Triggers a new bubble.
void SDTFluidFlow_setMaxDepth(SDTFluidFlow *x, double f)
Sets the maximum depth value for the bubble population.
struct SDTBubble SDTBubble
Opaque data structure representing a bubble object.
Definition: SDTLiquids.h:28
SDTBubble * SDTBubble_new()
Object constructor.
void SDTBubble_setRadius(SDTBubble *x, double f)
Sets the bubble radius.
void SDTFluidFlow_setExpRadius(SDTFluidFlow *x, double f)
Sets the gamma factor for the radius assignment.
void SDTBubble_free(SDTBubble *x)
Object destructor.
void SDTFluidFlow_setRiseCutoff(SDTFluidFlow *x, double f)
Bubbles deeper than this threshold do not rise in frequency.
double SDTFluidFlow_dsp(SDTFluidFlow *x)
Signal processing routine. Call this function at sample rate to obtain a liquid sound.
void SDTFluidFlow_setRiseFactor(SDTFluidFlow *x, double f)
Sets the amount of blooping for the bubble population.
void SDTFluidFlow_free(SDTFluidFlow *x)
Object destructor.
void SDTFluidFlow_setExpDepth(SDTFluidFlow *x, double f)
Sets the gamma factor for the depth assignment.
void SDTBubble_setRiseFactor(SDTBubble *x, double f)
Sets the amount of blooping.
void SDTFluidFlow_setMinDepth(SDTFluidFlow *x, double f)
Sets the minimum depth value for the bubble population.
void SDTFluidFlow_setMinRadius(SDTFluidFlow *x, double f)
Sets the minimum radius for the bubble population.