Skip to content

Class daisysp::PhaserEngine

ClassList > daisysp > PhaserEngine

Single Phaser engine. Used inPhaser .More...

  • #include <phaser.h>

Public Functions

Type Name
void Init (float sample_rate)
PhaserEngine ()
float Process (float in)
void SetFeedback (float feedback)
void SetFreq (float ap_freq)
void SetLfoDepth (float depth)
void SetLfoFreq (float lfo_freq)
~PhaserEngine ()

Detailed Description

Author:

Ben Sergentanis

Public Functions Documentation

function Init

void daisysp::PhaserEngine::Init (
    float sample_rate
) 

Initialize the module

Parameters:

  • sample_rate Audio engine sample rate.

function PhaserEngine

inline daisysp::PhaserEngine::PhaserEngine () 

function Process

float daisysp::PhaserEngine::Process (
    float in
) 

Get the next sample

Parameters:

  • in Sample to process

function SetFeedback

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

Set the feedback amount.

Parameters:

  • feedback Amount from 0-1.

function SetFreq

void daisysp::PhaserEngine::SetFreq (
    float ap_freq
) 

Set the allpass frequency

Parameters:

  • ap_freq Frequency in Hz.

function SetLfoDepth

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

How much to modulate the allpass filter by.

Parameters:

  • depth Works 0-1.

function SetLfoFreq

void daisysp::PhaserEngine::SetLfoFreq (
    float lfo_freq
) 

Set lfo frequency.

Parameters:

  • lfo_freq Frequency in Hz

function ~PhaserEngine

inline daisysp::PhaserEngine::~PhaserEngine () 


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