|
DaisySP
|
#include <drip.h>
Public Member Functions | |
| void | Init (float sample_rate, float dettack) |
| float | Process (bool trig) |
Imitates the sound of dripping water via Physical Modeling Synthesis.
Ported from soundpipe by Ben Sergentanis, May 2020
| void Drip::Init | ( | float | sample_rate, |
| float | dettack ) |
Initializes the Drip module.
| sample_rate | The sample rate of the audio engine being run. |
| dettack | The period of time over which all sound is stopped. |
| float Drip::Process | ( | bool | trig | ) |
Process the next floating point sample.
| trig | If true, begins a new drip. |