synthesizer-core-0.8.1.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 Source #

Constructors

Parameter [a] 

Instances

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

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 Source #

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

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

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

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