Skip to content

daisysp::Phaser

Phaser Effect. More...

#include <phaser.h>

Public Functions

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

Detailed Description

class daisysp::Phaser;

Phaser Effect.

Author: Ben Sergentanis

Date: Jan 2021

Public Functions Documentation

function Phaser

inline Phaser()

function ~Phaser

inline ~Phaser()

function Init

void Init(
    float sample_rate
)

Parameters:

  • sample_rate Audio engine sample rate

Initialize the module


function Process

float Process(
    float in
)

Parameters:

  • in Sample to process

Get the next floating point sample.


function SetPoles

void SetPoles(
    int poles
)

Parameters:

  • poles Works 1 to 8.

Number of allpass stages.


function SetLfoDepth

void SetLfoDepth(
    float depth
)

Parameters:

  • depth Works 0-1.

Set all lfo depths


function SetLfoFreq

void SetLfoFreq(
    float lfo_freq
)

Parameters:

  • lfo_freq Lfo freq in Hz.

Set all lfo frequencies.


function SetFreq

void SetFreq(
    float ap_freq
)

Parameters:

  • ap_freq Frequency in Hz.

Set all channel allpass freq in Hz.


function SetFeedback

void SetFeedback(
    float feedback
)

Parameters:

  • feedback Works 0-1.

Set all channels feedback.

---

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