Skip to content

Class daisysp::Phaser

ClassList > daisysp > Phaser

Phaser Effect.More...

  • #include <phaser.h>

Public Functions

Type Name
void Init (float sample_rate)
Phaser ()
float Process (float in)
void SetFeedback (float feedback)
void SetFreq (float ap_freq)
void SetLfoDepth (float depth)
void SetLfoFreq (float lfo_freq)
void SetPoles (int poles)
~Phaser ()

Detailed Description

Author:

Ben Sergentanis

Date:

Jan 2021

Public Functions Documentation

function Init

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

Initialize the module

Parameters:

  • sample_rate Audio engine sample rate

function Phaser

inline daisysp::Phaser::Phaser () 

function Process

float daisysp::Phaser::Process (
    float in
) 

Get the next floating point sample.

Parameters:

  • in Sample to process

function SetFeedback

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

Set all channels feedback.

Parameters:

  • feedback Works 0-1.

function SetFreq

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

Set all channel allpass freq in Hz.

Parameters:

  • ap_freq Frequency in Hz.

function SetLfoDepth

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

Set all lfo depths

Parameters:

  • depth Works 0-1.

function SetLfoFreq

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

Set all lfo frequencies.

Parameters:

  • lfo_freq Lfo freq in Hz.

function SetPoles

void daisysp::Phaser::SetPoles (
    int poles
) 

Number of allpass stages.

Parameters:

  • poles Works 1 to 8.

function ~Phaser

inline daisysp::Phaser::~Phaser () 


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