All Pass Filter

Overview

All pass second-order IIR (Infinite Impulse Response) filter. This filter is embodied by the allpass class.

Include

#include <q/fx/biquad.hpp>

Declaration

struct allpass : biquad
{
         allpass(frequency f, float sps, double q = 0.707);
   void  config(frequency f, float sps, double q = 0.707)
};

Expressions

In addition to valid expressions for biquad, allpass allows these expressions.

Notation

ap

Object of type allpass.

f

Object of type frequency.

sps

Floating point value representing samples per second.

q

Q or quality factor.

a [, b, c, d]

Required a, optional b, c, d.

Constructor

Expression Semantics

allpass(f, sps [, q])

Construct an allpass filter from f, sps and optional q (defaults to 0.707).

C++ brace initialization may also be used.

Mutators

Expression Semantics

ap.config(f, sps [, q])

Configure an allpass from f, sps and optional q (defaults to 0.707).