Skip to content

daisysp::Flanger

Flanging Audio Effect. More...

#include <flanger.h>

Public Functions

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

Detailed Description

class daisysp::Flanger;

Flanging Audio Effect.

Generates a modulating phase shifted copy of a signal, and recombines with the original to create a 'flanging' sound effect.

Public Functions Documentation

function Init

void Init(
    float sample_rate
)

Parameters:

  • sample_rate Audio engine sample rate.

Initialize the modules


function Process

float Process(
    float in
)

Parameters:

  • in Sample to process

Get the next sample


function SetFeedback

void SetFeedback(
    float feedback
)

Parameters:

  • feedback Works 0-1.

How much of the signal to feedback into the delay line.


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 7 ms.

Set the internal delay rate.


function SetDelayMs

void SetDelayMs(
    float ms
)

Parameters:

  • ms Delay time in ms, .1 to 7 ms.

Set the delay time in ms.

---

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