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

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Generic.Cyclic

Synopsis

Documentation

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

reverse :: Transform sig y => sig y -> sig y Source #

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

It must hold n <= CutG.length x.

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

length of the input signals must be equal

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

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

type Pair y = (y, y) Source #

convolvePair :: C y => Pair y -> Pair y -> Pair y Source #

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 #