- class Num a => SigSpace a where
- mul :: SigSpace a => Sig -> a -> a
- cfd :: SigSpace a => Sig -> a -> a -> a
- cfds :: SigSpace a => [Sig] -> [a] -> a
- cfdSpec :: Sig -> Spec -> Spec -> Spec
- cfdsSpec :: [Sig] -> [Spec] -> Spec
- wsum :: SigSpace a => [(Sig, a)] -> a
A class for easy way to process the outputs of the instruments.
cfd coeff sig1 sig2
If coeff equals 0 then we get the first signal and if it equals 1 we get the second signal.
Generic crossfade for n coefficients and n+1 signals.
cfds coeffs sigs