daisysp::Tremolo¶
#include <tremolo.h>
Public Functions¶
Name | |
---|---|
Tremolo() | |
~Tremolo() | |
void | Init(float sample_rate) |
float | Process(float in) |
void | SetFreq(float freq) |
void | SetWaveform(int waveform) |
void | SetDepth(float depth) |
Detailed Description¶
Tremolo effect.
Author: Ben Sergentanis
Date: Jan 2021 Based on https://christianfloisand.wordpress.com/2012/04/18/coding-some-tremolo/
Public Functions Documentation¶
function Tremolo¶
function ~Tremolo¶
function Init¶
Parameters:
- sample_rate The sample rate of the audio engine being run.
Initializes the module
function Process¶
Parameters:
- in Input sample.
Return: Next floating point sample.
function SetFreq¶
Parameters:
- freq Tremolo freq in Hz.
Sets the tremolo rate.
function SetWaveform¶
Parameters:
- waveform Oscillator waveform. Use Oscillator::WAVE_SIN for example.
Shape of the modulating lfo
function SetDepth¶
Parameters:
- depth Works 0-1.
How much to modulate your volume.
---¶
Updated on 2024-01-03 at 19:38:46 +0000