Skip to content

daisysp::ChorusEngine

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

#include <chorus.h>

Public Functions

Name
ChorusEngine()
~ChorusEngine()
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

class daisysp::ChorusEngine;

Single Chorus engine. Used in Chorus.

Author: Ben Sergentanis

Public Functions Documentation

function ChorusEngine

inline ChorusEngine()

function ~ChorusEngine

inline ~ChorusEngine()

function Init

void Init(
    float sample_rate
)

Parameters:

  • sample_rate Audio engine sample rate.

Initialize the module


function Process

float Process(
    float in
)

Parameters:

  • in Sample to process

Get the next sample


function SetLfoDepth

void SetLfoDepth(
    float depth
)

Parameters:

  • depth Works 0-1.

How much to modulate the delay by.


function SetLfoFreq

void SetLfoFreq(
    float freq
)

Parameters:

  • freq Frequency in Hz

Set lfo frequency.


function SetDelay

void SetDelay(
    float delay
)

Parameters:

  • delay Tuned for 0-1. Maps to .1 to 50 ms.

Set the internal delay rate.


function SetDelayMs

void SetDelayMs(
    float ms
)

Parameters:

  • ms Delay time in ms, 0 to 50 ms.

Set the delay time in ms.


function SetFeedback

void SetFeedback(
    float feedback
)

Parameters:

  • feedback Amount from 0-1.

Set the feedback amount.

---

Updated on 2024-01-03 at 19:38:46 +0000