Class daisysp::Resonator¶
ClassList > daisysp > Resonator
Resonant Body Simulation. More...
#include <resonator.h>
Public Functions¶
Type | Name |
---|---|
void | Init (float position, int resolution, float sample_rate) |
float | Process (const float in) |
Resonator () |
|
void | SetBrightness (float brightness) |
void | SetDamping (float damping) |
void | SetFreq (float freq) |
void | SetStructure (float structure) |
~Resonator () |
Detailed Description¶
Author:
Ported by Ben Sergentanis
Date:
Jan 2021 Ported from pichenettes/eurorack/plaits/dsp/physical_modelling/resonator.h to an independent module. Original code written by Emilie Gillet in 2016.
Public Functions Documentation¶
function Init¶
Initialize the module
Parameters:
position
Offset the phase of the amplitudes. 0-1resolution
Quality vs speed scalarsample_rate
Samplerate of the audio engine being run.
function Process¶
Get the next sample_rate
Parameters:
in
The signal to excited the resonant body
function Resonator¶
function SetBrightness¶
Set the brighness of the resonator
Parameters:
brightness
Works best 0-1
function SetDamping¶
How long the resonant body takes to decay.
Parameters:
damping
Works best 0-1
function SetFreq¶
Resonator frequency.
Parameters:
freq
Frequency in Hz.
function SetStructure¶
Changes the general charater of the resonator (stiffness, brightness)
Parameters:
structure
Works best from 0-1
function ~Resonator¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/PhysicalModeling/resonator.h