DaisySP
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisysp::ChorusEngine Class Reference

Single Chorus engine. Used in Chorus. More...

#include <chorus.h>

Public Member Functions

void Init (float sample_rate)
 
float Process (float in)
 
void SetLfoDepth (float depth)
 
void SetLfoFreq (float freq)
 
void SetDelay (float delay)
 
void SetDelayMs (float ms)
 
void SetFeedback (float feedback)
 

Detailed Description

Single Chorus engine. Used in Chorus.

Author
Ben Sergentanis

Member Function Documentation

◆ Init()

void ChorusEngine::Init ( float sample_rate)

Initialize the module

Parameters
sample_rateAudio engine sample rate.

◆ Process()

float ChorusEngine::Process ( float in)

Get the next sample

Parameters
inSample to process

◆ SetDelay()

void ChorusEngine::SetDelay ( float delay)

Set the internal delay rate.

Parameters
delayTuned for 0-1. Maps to .1 to 50 ms.

◆ SetDelayMs()

void ChorusEngine::SetDelayMs ( float ms)

Set the delay time in ms.

Parameters
msDelay time in ms, 0 to 50 ms.

◆ SetFeedback()

void ChorusEngine::SetFeedback ( float feedback)

Set the feedback amount.

Parameters
feedbackAmount from 0-1.

◆ SetLfoDepth()

void ChorusEngine::SetLfoDepth ( float depth)

How much to modulate the delay by.

Parameters
depthWorks 0-1.

◆ SetLfoFreq()

void ChorusEngine::SetLfoFreq ( float freq)

Set lfo frequency.

Parameters
freqFrequency in Hz

The documentation for this class was generated from the following files: