DaisySP
|
Simple modal synthesis voice with a mallet exciter: click -> LPF -> resonator. More...
#include <modalvoice.h>
Public Member Functions | |
void | Init (float sample_rate) |
float | Process (bool trigger=false) |
void | SetSustain (bool sustain) |
void | Trig () |
void | SetFreq (float freq) |
void | SetAccent (float accent) |
void | SetStructure (float structure) |
void | SetBrightness (float brightness) |
void | SetDamping (float damping) |
float | GetAux () |
Simple modal synthesis voice with a mallet exciter: click -> LPF -> resonator.
Initialize the module
sample_rate | Audio engine sample rate |
Get the next sample
trigger | Strike the resonator. Defaults to false. |
Hit the resonator a bit harder.
accent | Works 0-1. |
Set the brighness of the resonator, and the noise density.
brightness | Works best 0-1 |
How long the resonant body takes to decay.
damping | Works best 0-1 |
Set the resonator root frequency.
freq | Frequency in Hz. |
Changes the general charater of the resonator (stiffness, brightness)
structure | Works best from 0-1 |
Continually excite the resonator with noise.
sustain | True turns on the noise. |
void ModalVoice::Trig | ( | ) |
Strike the resonator.