Class daisysp::Tremolo¶
#include <tremolo.h>
Public Functions¶
| Type | Name |
|---|---|
| void | Init (float sample_rate) |
| float | Process (float in) |
| void | SetDepth (float depth) |
| void | SetFreq (float freq) |
| void | SetWaveform (int waveform) |
| Tremolo () |
|
| ~Tremolo () |
Detailed Description¶
Author:
Ben Sergentanis
Date:
Jan 2021 Based on https://christianfloisand.wordpress.com/2012/04/18/coding-some-tremolo/
Public Functions Documentation¶
function Init¶
Initializes the module
Parameters:
sample_rateThe sample rate of the audio engine being run.
function Process¶
Parameters:
inInput sample.
Returns:
Next floating point sample.
function SetDepth¶
How much to modulate your volume.
Parameters:
depthWorks 0-1.
function SetFreq¶
Sets the tremolo rate.
Parameters:
freqTremolo freq in Hz.
function SetWaveform¶
Shape of the modulating lfo
Parameters:
waveformOscillator waveform. Use Oscillator::WAVE_SIN for example.
function Tremolo¶
function ~Tremolo¶
The documentation for this class was generated from the following file external-docs/DaisySP/Source/Effects/tremolo.h