
Synthesizer.Plain.Signal  Portability  portable  Stability  provisional  Maintainer  synthesizer@henningthielemann.de 





Description 


Synopsis 



Documentation 



Generic routines that are useful for filters





modif is a process controlled by values of type c
with an internal state of type s,
it converts an input value of type a into an output value of type b
while turning into a new state
ToDo:
Shall finite signals be padded with zeros?



Here the control may vary over the time.









Here the control may vary over the time.


unfoldR :: (acc > Maybe (y, acc)) > acc > (acc, T y)  Source 


reduceL :: (x > acc > Maybe acc) > acc > T x > acc  Source 


mapAccumL :: (x > acc > Maybe (y, acc)) > acc > T x > (acc, T y)  Source 


crochetL :: (x > acc > Maybe (y, acc)) > acc > T x > T y  Source 



Feed back signal into signal processor,
and apply a delay by one value.
fix1 is a kind of generate.



dropMarginRem n m xs
drops at most the first m elements of xs
and ensures that xs still contains n elements.
Additionally returns the number of elements that could not be dropped
due to the margin constraint.
That is dropMarginRem n m xs == (k,ys) implies length xs  m == length ys  k.
Requires length xs >= n.




zipWithTails :: (y0 > T y1 > y2) > T y0 > T y1 > T y2  Source 

Can be implemented more efficiently
than just by zipWith and tails
for other data structures.


Produced by Haddock version 2.3.0 