DaisySP
|
#include <chorus.h>
Public Member Functions | |
void | Init (float sample_rate) |
float | Process (float in) |
float | GetLeft () |
float | GetRight () |
void | SetPan (float panl, float panr) |
void | SetPan (float pan) |
void | SetLfoDepth (float depthl, float depthr) |
void | SetLfoDepth (float depth) |
void | SetLfoFreq (float freql, float freqr) |
void | SetLfoFreq (float freq) |
void | SetDelay (float delayl, float delayr) |
void | SetDelay (float delay) |
void | SetDelayMs (float msl, float msr) |
void | SetDelayMs (float ms) |
void | SetFeedback (float feedbackl, float feedbackr) |
void | SetFeedback (float feedback) |
Chorus Effect.
float Chorus::GetLeft | ( | ) |
Get the left channel's last sample
float Chorus::GetRight | ( | ) |
Get the right channel's last sample
Initialize the module
sample_rate | Audio engine sample rate |
Get the net floating point sample. Defaults to left channel.
in | Sample to process |
Set both channel delay amounts.
delay | Both channel delay amount. Works 0-1. |
Set both channel delay amounts individually.
delayl | Left channel delay amount. Works 0-1. |
delayr | Right channel delay amount. |
Set both channel delay in ms.
ms | Both channel delay amounts in ms. |
Set both channel delay individually.
msl | Left channel delay in ms. |
msr | Right channel delay in ms. |
Set both channels feedback.
feedback | Both channel feedback. Works 0-1. |
Set both channels feedback individually.
feedbackl | Left channel feedback. Works 0-1. |
feedbackr | Right channel feedback. |
Set both lfo depths.
depth | Both channels lfo depth. Works 0-1. |
Set both lfo depths individually.
depthl | Left channel lfo depth. Works 0-1. |
depthr | Right channel lfo depth. |
Set both lfo frequencies.
depth | Both channel lfo freqs in Hz. |
Set both lfo frequencies individually.
depthl | Left channel lfo freq in Hz. |
depthr | Right channel lfo freq in Hz. |
Pan both channels.
pan | Where to pan both channels to. 0 is left, 1 is right. |
Pan both channels individually.
panl | Pan the left channel. 0 is left, 1 is right. |
panr | Pan the right channel. |