Tremolo effect.
More...
#include <tremolo.h>
◆ Init()
void Tremolo::Init |
( |
float | sample_rate | ) |
|
Initializes the module
- Parameters
-
sample_rate | The sample rate of the audio engine being run. |
◆ Process()
float Tremolo::Process |
( |
float | in | ) |
|
- Parameters
-
- Returns
- Next floating point sample.
◆ SetDepth()
void Tremolo::SetDepth |
( |
float | depth | ) |
|
How much to modulate your volume.
- Parameters
-
◆ SetFreq()
void Tremolo::SetFreq |
( |
float | freq | ) |
|
Sets the tremolo rate.
- Parameters
-
◆ SetWaveform()
void Tremolo::SetWaveform |
( |
int | waveform | ) |
|
Shape of the modulating lfo
- Parameters
-
waveform | Oscillator waveform. Use Oscillator::WAVE_SIN for example. |
The documentation for this class was generated from the following files:
- Source/Effects/tremolo.h
- Source/Effects/tremolo.cpp