Skip to content

daisysp::PhaserEngine

Single Phaser engine. Used in Phaser. More...

#include <phaser.h>

Public Functions

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

Detailed Description

class daisysp::PhaserEngine;

Single Phaser engine. Used in Phaser.

Author: Ben Sergentanis

Public Functions Documentation

function PhaserEngine

inline PhaserEngine()

function ~PhaserEngine

inline ~PhaserEngine()

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 sample


function SetLfoDepth

void SetLfoDepth(
    float depth
)

Parameters:

  • depth Works 0-1.

How much to modulate the allpass filter by.


function SetLfoFreq

void SetLfoFreq(
    float lfo_freq
)

Parameters:

  • lfo_freq Frequency in Hz

Set lfo frequency.


function SetFreq

void SetFreq(
    float ap_freq
)

Parameters:

  • ap_freq Frequency in Hz.

Set the allpass frequency


function SetFeedback

void SetFeedback(
    float feedback
)

Parameters:

  • feedback Amount from 0-1.

Set the feedback amount.

---

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