
Synthesizer.FusionList.Filter.NonRecursive  Portability  requires multiparameter type classes  Stability  provisional  Maintainer  synthesizer@henningthielemann.de 





Description 


Synopsis 




Envelope application




amplifyVector :: C a v => a > T v > T v  Source 



:: C a   => T a  the envelope
 > T a  the signal to be enveloped
 > T a  



:: C a v   => T a  the envelope
 > T v  the signal to be enveloped
 > T v  






Shift






Smoothing



Unmodulated nonrecursive filter


binomial :: (C a, C a, C a v) => a > a > T v > T v  Source 


ratioFreqToVariance :: C a => a > a > a  Source 

Compute the variance of the Gaussian
such that its Fourier transform has value ratio at frequency freq.





Moving (uniformly weighted) average in the most trivial form.
This is very slow and needs about n * length x operations.


Filter operators from calculus



Forward difference quotient.
Shortens the signal by one.
Inverts Synthesizer.Plain.Filter.Recursive.Integration.run in the sense that
differentiate (zero : integrate x) == x.
The signal is shifted by a half time unit.


differentiateCenter :: C v => T v > T v  Source 

Central difference quotient.
Shortens the signal by two elements,
and shifts the signal by one element.
(Which can be fixed by prepending an appropriate value.)
For linear functions this will yield
essentially the same result as differentiate.
You obtain the result of differentiateCenter
if you smooth the one of differentiate
by averaging pairs of adjacent values.
ToDo: Vector variant



Second derivative.
It is differentiate2 == differentiate . differentiate
but differentiate2 should be faster.


Produced by Haddock version 2.4.2 