Chorus Effect.
More...
#include <chorus.h>
◆ GetLeft()
float Chorus::GetLeft |
( |
| ) |
|
Get the left channel's last sample
◆ GetRight()
float Chorus::GetRight |
( |
| ) |
|
Get the right channel's last sample
◆ Init()
void Chorus::Init |
( |
float | sample_rate | ) |
|
Initialize the module
- Parameters
-
sample_rate | Audio engine sample rate |
◆ Process()
float Chorus::Process |
( |
float | in | ) |
|
Get the net floating point sample. Defaults to left channel.
- Parameters
-
◆ SetDelay() [1/2]
void Chorus::SetDelay |
( |
float | delay | ) |
|
Set both channel delay amounts.
- Parameters
-
delay | Both channel delay amount. Works 0-1. |
◆ SetDelay() [2/2]
void Chorus::SetDelay |
( |
float | delayl, |
|
|
float | delayr ) |
Set both channel delay amounts individually.
- Parameters
-
delayl | Left channel delay amount. Works 0-1. |
delayr | Right channel delay amount. |
◆ SetDelayMs() [1/2]
void Chorus::SetDelayMs |
( |
float | ms | ) |
|
Set both channel delay in ms.
- Parameters
-
ms | Both channel delay amounts in ms. |
◆ SetDelayMs() [2/2]
void Chorus::SetDelayMs |
( |
float | msl, |
|
|
float | msr ) |
Set both channel delay individually.
- Parameters
-
msl | Left channel delay in ms. |
msr | Right channel delay in ms. |
◆ SetFeedback() [1/2]
void Chorus::SetFeedback |
( |
float | feedback | ) |
|
Set both channels feedback.
- Parameters
-
feedback | Both channel feedback. Works 0-1. |
◆ SetFeedback() [2/2]
void Chorus::SetFeedback |
( |
float | feedbackl, |
|
|
float | feedbackr ) |
Set both channels feedback individually.
- Parameters
-
feedbackl | Left channel feedback. Works 0-1. |
feedbackr | Right channel feedback. |
◆ SetLfoDepth() [1/2]
void Chorus::SetLfoDepth |
( |
float | depth | ) |
|
Set both lfo depths.
- Parameters
-
depth | Both channels lfo depth. Works 0-1. |
◆ SetLfoDepth() [2/2]
void Chorus::SetLfoDepth |
( |
float | depthl, |
|
|
float | depthr ) |
Set both lfo depths individually.
- Parameters
-
depthl | Left channel lfo depth. Works 0-1. |
depthr | Right channel lfo depth. |
◆ SetLfoFreq() [1/2]
void Chorus::SetLfoFreq |
( |
float | freq | ) |
|
Set both lfo frequencies.
- Parameters
-
depth | Both channel lfo freqs in Hz. |
◆ SetLfoFreq() [2/2]
void Chorus::SetLfoFreq |
( |
float | freql, |
|
|
float | freqr ) |
Set both lfo frequencies individually.
- Parameters
-
depthl | Left channel lfo freq in Hz. |
depthr | Right channel lfo freq in Hz. |
◆ SetPan() [1/2]
void Chorus::SetPan |
( |
float | pan | ) |
|
Pan both channels.
- Parameters
-
pan | Where to pan both channels to. 0 is left, 1 is right. |
◆ SetPan() [2/2]
void Chorus::SetPan |
( |
float | panl, |
|
|
float | panr ) |
Pan both channels individually.
- Parameters
-
panl | Pan the left channel. 0 is left, 1 is right. |
panr | Pan the right channel. |
The documentation for this class was generated from the following files:
- Source/Effects/chorus.h
- Source/Effects/chorus.cpp