Skip to content

daisysp::Allpass

More...

#include <allpass.h>

Public Functions

Name
Allpass()
~Allpass()
void Init(float sample_rate, float * buff, size_t size)
float Process(float in)
void SetFreq(float looptime)
void SetRevTime(float revtime)

Detailed Description

class daisysp::Allpass;

Author: Barry Vercoe, John ffitch

Date: 1991

Allpass filter module

Passes all frequencies at their original levels, with a phase shift.

Ported from soundpipe by Ben Sergentanis, May 2020

Public Functions Documentation

function Allpass

inline Allpass()

function ~Allpass

inline ~Allpass()

function Init

void Init(
    float sample_rate,
    float * buff,
    size_t size
)

Parameters:

  • buff Buffer for allpass to use.
  • size Size of buff.
Initializes the allpass module.
\param sample_rate  The sample rate of the audio engine being run.

function Process

float Process(
    float in
)

Parameters:

  • in Input sample.

Return: Next floating point sample.


function SetFreq

void SetFreq(
    float looptime
)

Parameters:

  • looptime Filter looptime in seconds.

Sets the filter frequency (Implemented by delay time).


function SetRevTime

inline void SetRevTime(
    float revtime
)

Parameters:

  • revtime Reverb time in seconds.

---

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