Skip to content

Class daisysp::Flanger

ClassList > daisysp > Flanger

Flanging Audio Effect. More...

  • #include <flanger.h>

Public Functions

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

Detailed Description

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 daisysp::Flanger::Init (
    float sample_rate
) 

Initialize the modules

Parameters:

  • sample_rate Audio engine sample rate.

function Process

float daisysp::Flanger::Process (
    float in
) 

Get the next sample

Parameters:

  • in Sample to process

function SetDelay

void daisysp::Flanger::SetDelay (
    float delay
) 

Set the internal delay rate.

Parameters:

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

function SetDelayMs

void daisysp::Flanger::SetDelayMs (
    float ms
) 

Set the delay time in ms.

Parameters:

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

function SetFeedback

void daisysp::Flanger::SetFeedback (
    float feedback
) 

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

Parameters:

  • feedback Works 0-1.

function SetLfoDepth

void daisysp::Flanger::SetLfoDepth (
    float depth
) 

How much to modulate the delay by.

Parameters:

  • depth Works 0-1.

function SetLfoFreq

void daisysp::Flanger::SetLfoFreq (
    float freq
) 

Set lfo frequency.

Parameters:

  • freq Frequency in Hz


The documentation for this class was generated from the following file external-docs/DaisySP/Source/Effects/flanger.h