DaisySP
Loading...
Searching...
No Matches
daisysp::Drip Class Reference

#include <drip.h>

Public Member Functions

void Init (float sample_rate, float dettack)
 
float Process (bool trig)
 

Detailed Description

Imitates the sound of dripping water via Physical Modeling Synthesis.
Ported from soundpipe by Ben Sergentanis, May 2020

Author
Perry Cook
Date
2000

Member Function Documentation

◆ Init()

void Drip::Init ( float sample_rate,
float dettack )

Initializes the Drip module.

Parameters
sample_rateThe sample rate of the audio engine being run.
dettackThe period of time over which all sound is stopped.

◆ Process()

float Drip::Process ( bool trig)

Process the next floating point sample.

Parameters
trigIf true, begins a new drip.
Returns
Next sample.

The documentation for this class was generated from the following files: