DaisySP
Loading...
Searching...
No Matches
Public Member Functions | List of all members
daisysp::Phaser Class Reference

Phaser Effect. More...

#include <phaser.h>

Public Member Functions

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

Phaser Effect.

Author
Ben Sergentanis
Date
Jan 2021

Member Function Documentation

◆ Init()

void Phaser::Init ( float sample_rate)

Initialize the module

Parameters
sample_rateAudio engine sample rate

◆ Process()

float Phaser::Process ( float in)

Get the next floating point sample.

Parameters
inSample to process

◆ SetFeedback()

void Phaser::SetFeedback ( float feedback)

Set all channels feedback.

Parameters
feedbackWorks 0-1.

◆ SetFreq()

void Phaser::SetFreq ( float ap_freq)

Set all channel allpass freq in Hz.

Parameters
ap_freqFrequency in Hz.

◆ SetLfoDepth()

void Phaser::SetLfoDepth ( float depth)

Set all lfo depths

Parameters
depthWorks 0-1.

◆ SetLfoFreq()

void Phaser::SetLfoFreq ( float lfo_freq)

Set all lfo frequencies.

Parameters
lfo_freqLfo freq in Hz.

◆ SetPoles()

void Phaser::SetPoles ( int poles)

Number of allpass stages.

Parameters
polesWorks 1 to 8.

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