hsc3-0.21: Haskell SuperCollider
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.Sc3.Common.Math.Filter

Contents

Description

Filter coefficient calculations.

Synopsis

Documentation

type SosCoef t = (t, t, t, t, t) Source #

Sos filter coefficients, (a0, a1, a2, b1, b2)

bw_lpf_or_hpf_coef :: Floating n => Bool -> n -> n -> SosCoef n Source #

Butterworth low pass or high pass Sos filter coefficients.

type Iir2Coef t = (t, t, t) Source #

Two place infinite impulse response filter coefficients, (a0, b1, b2)

rlpf_coef :: Floating n => (n -> n -> n) -> (n, n, n) -> Iir2Coef n Source #

rlpf coefficients, (a0,b1,b2).

resonz_coef :: Floating n => (n, n, n) -> Iir2Coef n Source #

resonz coefficients, (a0,b1,b2).

Pinking

type Pinking_Param t = (t, t, t, t, t, t, t) Source #

pinking_filter_coef :: Floating t => t -> Pinking_Param t -> Pinking_Param t Source #

Pinking filter coefficients

>>> pinking_filter_coef 48000 pinking_filter_freq_48000
(0.5368186045507747,0.5899888969306109,0.6945314610687594,0.8175983529924599,0.9542588306160661,0.9908788735874952,0.9960807097281633)