Class fx_allpass_filter

Inheritance Relationships

Base Type

Class Documentation

class fx_allpass_filter : public fx_effect

Effect: Allpass filter.

Allpass filters have a flat frequency response but displace signals in the time domain as a function of frequency. They’re a common building block in reverbs but are also used in phase shifters as well.

Public Functions

fx_allpass_filter(float gain, float length_ms)

Basic constructor/initializer for the allpass filter.

Parameters
  • [in] gain: The gain of the allpass filter (-1.0 to 1.0)

  • [in] length_ms: The length of the allpass filter in milliseconds

void enable()

Enanle the allpass filter.

void bypass()

Bypass the allpass filter (will just pass clean audio through)

void set_gain(float gain)

Sets the gain of the allpass filter.

Parameters
  • [in] gain: Gain of the offpass filter

void print_params(void)

Prints the parameters for the delay effect.

Public Members

fx_audio_node *input

Audio routing node: primary audio input

fx_audio_node *output

Audio routing node: primary audio output

fx_control_node *gain

Control routing node: allpass filter gain