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

Safe HaskellNone

Synthesizer.Generic.Cyclic

Synopsis

Documentation

fromSignal :: (Write sig yv, C yv) => LazySize -> Int -> sig yv -> sig yvSource

reverse :: Transform sig y => sig y -> sig ySource

reperiodize :: (Transform sig yv, C yv) => Int -> sig yv -> sig yvSource

It must hold n <= CutG.length x.

convolve :: (Transform sig y y, C y) => sig y -> sig y -> sig ySource

length of the input signals must be equal

filterNaive :: (Transform sig y, C y) => sig y -> sig y -> sig ySource

The size of both input signals must be equal.

Could be optimized by computing only first (length x) elements.

convolveNaive :: (Transform sig y, C y) => sig y -> sig y -> sig ySource

type Pair y = (y, y)Source

convolvePair :: C y => Pair y -> Pair y -> Pair ySource

sumAndConvolvePair :: C y => Pair y -> Pair y -> ((y, y), Pair y)Source

type Triple y = (y, y, y)Source

sumAndConvolveTriple :: C y => Triple y -> Triple y -> ((y, y), Triple y)Source

sumAndConvolveTripleAlt :: C y => Triple y -> Triple y -> ((y, y), Triple y)Source

type Quadruple y = (y, y, y, y)Source