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

Flanging Audio Effect. More...

#include <flanger.h>

Public Member Functions

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

Flanging Audio Effect.

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

Member Function Documentation

◆ Init()

void Flanger::Init ( float sample_rate)

Initialize the modules

Parameters
sample_rateAudio engine sample rate.

◆ Process()

float Flanger::Process ( float in)

Get the next sample

Parameters
inSample to process

◆ SetDelay()

void Flanger::SetDelay ( float delay)

Set the internal delay rate.

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

◆ SetDelayMs()

void Flanger::SetDelayMs ( float ms)

Set the delay time in ms.

Parameters
msDelay time in ms, .1 to 7 ms.

◆ SetFeedback()

void Flanger::SetFeedback ( float feedback)

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

Parameters
feedbackWorks 0-1.

◆ SetLfoDepth()

void Flanger::SetLfoDepth ( float depth)

How much to modulate the delay by.

Parameters
depthWorks 0-1.

◆ SetLfoFreq()

void Flanger::SetLfoFreq ( float freq)

Set lfo frequency.

Parameters
freqFrequency in Hz

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