Copyright | (c) Henning Thielemann 2008 |
---|---|
License | GPL |
Maintainer | synthesizer@henning-thielemann.de |
Stability | provisional |
Portability | requires multi-parameter type classes |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Comb filters, useful for emphasis of tones with harmonics and for repeated echos.
Documentation
karplusStrong :: (C a, C a v) => Parameter a -> T v -> T v Source #
The most simple version of the Karplus-Strong algorithm
which is suitable to simulate a plucked string.
It is similar to the runProc
function.
run :: C a v => Int -> a -> T v -> T v Source #
Infinitely many equi-delayed exponentially decaying echos. The echos are clipped to the input length. We think it is easier (and simpler to do efficiently) to pad the input with zeros or whatever instead of cutting the result according to the input length.