DaisySP
Loading...
Searching...
No Matches
daisysp::PhaserEngine Class Reference

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

#include <phaser.h>

Public Member Functions

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

Single Phaser engine. Used in Phaser.

Author
Ben Sergentanis

Member Function Documentation

◆ Init()

void PhaserEngine::Init ( float sample_rate)

Initialize the module

Parameters
sample_rateAudio engine sample rate.

◆ Process()

float PhaserEngine::Process ( float in)

Get the next sample

Parameters
inSample to process

◆ SetFeedback()

void PhaserEngine::SetFeedback ( float feedback)

Set the feedback amount.

Parameters
feedbackAmount from 0-1.

◆ SetFreq()

void PhaserEngine::SetFreq ( float ap_freq)

Set the allpass frequency

Parameters
ap_freqFrequency in Hz.

◆ SetLfoDepth()

void PhaserEngine::SetLfoDepth ( float depth)

How much to modulate the allpass filter by.

Parameters
depthWorks 0-1.

◆ SetLfoFreq()

void PhaserEngine::SetLfoFreq ( float lfo_freq)

Set lfo frequency.

Parameters
lfo_freqFrequency in Hz

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