Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Filter coefficient calculations.
Synopsis
- type SosCoef t = (t, t, t, t, t)
- bw_lpf_or_hpf_coef :: Floating n => Bool -> n -> n -> SosCoef n
- type Iir2Coef t = (t, t, t)
- rlpf_coef :: Floating n => (n -> n -> n) -> (n, n, n) -> Iir2Coef n
- resonz_coef :: Floating n => (n, n, n) -> Iir2Coef n
- type Pinking_Param t = (t, t, t, t, t, t, t)
- pinking_filter_freq_48000 :: Fractional t => Pinking_Param t
- pinking_filter_freq_96000 :: Fractional t => Pinking_Param t
- pinking_filter_freq_192000 :: Fractional t => Pinking_Param t
- pinking_filter_coef :: Floating t => t -> Pinking_Param t -> Pinking_Param t
- pinking_filter_next :: Floating t => Pinking_Param t -> Pinking_Param t -> t -> (t, Pinking_Param t)
Documentation
bw_lpf_or_hpf_coef :: Floating n => Bool -> n -> n -> SosCoef n Source #
Butterworth low pass or high pass SOS filter coefficients, (a0,a1,a2,b1,b2).
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_freq_48000 :: Fractional t => Pinking_Param t Source #
Sample rate variable pinking filter.
https://www.musicdsp.org/en/latest/Filters/76-pink-noise-filter.html
pinking_filter_freq_96000 :: Fractional t => Pinking_Param t Source #
pinking_filter_freq_192000 :: Fractional t => Pinking_Param t Source #
pinking_filter_coef :: Floating t => t -> Pinking_Param t -> Pinking_Param t Source #
pinking_filter_next :: Floating t => Pinking_Param t -> Pinking_Param t -> t -> (t, Pinking_Param t) Source #