synthesizer-core-0.7.1: Audio signal processing coded in Haskell: Low level part

Copyright(c) Henning Thielemann 2008
LicenseGPL
Maintainersynthesizer@henning-thielemann.de
Stabilityprovisional
Portabilityrequires multi-parameter type classes
Safe HaskellNone
LanguageHaskell2010

Synthesizer.Plain.Filter.Recursive.AllpassPoly

Description

 

Synopsis

Documentation

newtype Parameter a

Constructors

Parameter [a] 

Instances

Show a => Show (Parameter a) 

shiftParam :: (Scalar a, Fractional a, C a) => Int -> a -> a -> Parameter a

Compute coefficients for an allpass that shifts low frequencies by approximately the shift you want. To achieve this we solve a linear least squares problem, where low frequencies are more weighted than high ones. The output is a list of coefficients for an arbitrary order allpass.

makePhase :: (C a, C a) => Parameter a -> a -> a

scalarProdScrewExp :: C a => a -> Int -> a -> Int -> Int -> a

screwProd :: C a => Int -> a -> Int -> Int -> a -> a

integrateScrewExp :: C a => a -> Int -> (a, a)

integrateNum :: (C a, C a v) => Int -> (a, a) -> (a -> v) -> v