10#ifndef DSY_STRINGVOICE_H
11#define DSY_STRINGVOICE_H
13#include "Filters/svf.h"
41 void Init(
float sample_rate);
49 float Process(
bool trigger =
false);
91 float f0_, brightness_, damping_;
92 float density_, accent_;
96 Svf excitation_filter_;
98 size_t remaining_noise_samples_;
Dust Module.
Definition dust.h:32
Comb filter / KS string.
Definition KarplusString.h:36
Extended Karplus-Strong, with all the niceties from Rings.
Definition stringvoice.h:33
void SetFreq(float freq)
Definition stringvoice.cpp:39
void Reset()
Definition stringvoice.cpp:24
float GetAux()
Definition stringvoice.cpp:72
void SetAccent(float accent)
Definition stringvoice.cpp:46
void SetDamping(float damping)
Definition stringvoice.cpp:67
void Trig()
Definition stringvoice.cpp:34
void SetStructure(float structure)
Definition stringvoice.cpp:51
void SetBrightness(float brightness)
Definition stringvoice.cpp:61
void SetSustain(bool sustain)
Definition stringvoice.cpp:29
void Init(float sample_rate)
Definition stringvoice.cpp:7
float Process(bool trigger=false)
Definition stringvoice.cpp:77
FIR Filter implementation, generic and ARM CMSIS DSP based.
Definition adenv.h:16