Skip to content

daisysp::Drip

More...

#include <drip.h>

Public Functions

Name
Drip()
~Drip()
void Init(float sample_rate, float dettack)
float Process(bool trig)

Detailed Description

class daisysp::Drip;

Author: Perry Cook

Date: 2000

Imitates the sound of dripping water via Physical Modeling Synthesis.

Ported from soundpipe by Ben Sergentanis, May 2020

Public Functions Documentation

function Drip

inline Drip()

function ~Drip

inline ~Drip()

function Init

void Init(
    float sample_rate,
    float dettack
)

Parameters:

  • dettack The period of time over which all sound is stopped.
Initializes the Drip module. 
\param sample_rate The sample rate of the audio engine being run.

function Process

float Process(
    bool trig
)

Parameters:

  • trig If true, begins a new drip.

Return: Next sample.

Process the next floating point sample.

---

Updated on 2024-01-03 at 19:38:46 +0000