csound-expression-4.2.0: library to make electronic music

Safe HaskellNone
LanguageHaskell98

Csound.SigSpace

Synopsis

Documentation

class SigSpace a where Source

A class for easy way to process the outputs of the instruments.

Methods

mapSig :: (Sig -> Sig) -> a -> a Source

class SigSpace a => BindSig a where Source

A class for easy way to process the outputs of the instruments.

Methods

bindSig :: (Sig -> SE Sig) -> a -> SE a Source

mul :: SigSpace a => Sig -> a -> a Source

Scaling the sound.

cfd :: (Num a, SigSpace a) => Sig -> a -> a -> a Source

Crossfade.

cfd coeff sig1 sig2

If coeff equals 0 then we get the first signal and if it equals 1 we get the second signal.

cfds :: (Num a, SigSpace a) => [Sig] -> [a] -> a Source

Generic crossfade for n coefficients and n+1 signals.

cfds coeffs sigs

cfdSpec :: Sig -> Spec -> Spec -> Spec Source

Spectral crossfade.

cfdsSpec :: [Sig] -> [Spec] -> Spec Source

Generic spectral crossfade.

wsum :: (Num a, SigSpace a) => [(Sig, a)] -> a Source

Weighted sum.