Class daisysp::String¶
Comb filter / KS string.More...
#include <KarplusString.h>
Public Functions¶
Type | Name |
---|---|
void | Init (float sample_rate) |
float | Process (const float in) |
void | Reset () |
void | SetBrightness (float brightness) |
void | SetDamping (float damping) |
void | SetFreq (float freq) |
void | SetNonLinearity (float non_linearity_amount) |
String () |
|
~String () |
Detailed Description¶
Author:
Ben Sergentanis
Date:
Jan 2021 "Lite" version of the implementation used in Rings
Ported from pichenettes/eurorack/plaits/dsp/oscillator/formant_oscillator.h to an independent module. Original code written by Emilie Gillet in 2016.
Public Functions Documentation¶
function Init¶
Initialize the module.
Parameters:
sample_rate
Audio engine sample rate
function Process¶
Get the next floating point sample
Parameters:
in
Signal to excite the string.
function Reset¶
Clear the delay line
function SetBrightness¶
Set the string's overall brightness
Parameters:
Works
0-1.
function SetDamping¶
Set the string's decay time.
Parameters:
damping
Works 0-1.
function SetFreq¶
Set the string frequency.
Parameters:
freq
Frequency in Hz
function SetNonLinearity¶
Set the string's behavior.
Parameters:
-1
to 0 is curved bridge, 0 to 1 is dispersion.
function String¶
function ~String¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/PhysicalModeling/KarplusString.h