Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
The core types/ They are not imported by default.
Synopsis
- type Sam = Sample Sig2
- runSam :: Bpm -> Sam -> SE Sig2
- newtype Sample a = Sam {}
- data S a = S {}
- data Dur
- type Bpm = Sig
- liftSam :: Sample (SE a) -> Sample a
- mapBpm :: (Bpm -> a -> b) -> Sample a -> Sample b
- mapBpm2 :: (Bpm -> a -> b -> c) -> Sample a -> Sample b -> Sample c
- bindSam :: (a -> SE b) -> Sample a -> Sample b
- bindBpm :: (Bpm -> a -> SE b) -> Sample a -> Sample b
- bindBpm2 :: (Bpm -> a -> b -> SE c) -> Sample a -> Sample b -> Sample c
- withBpm :: (Bpm -> Sample a) -> Sample a
Documentation
The generic type for samples.
Instances
mapBpm2 :: (Bpm -> a -> b -> c) -> Sample a -> Sample b -> Sample c Source #
Transforms the sample with BPM.
bindBpm :: (Bpm -> a -> SE b) -> Sample a -> Sample b Source #
Lifts bind on stereo signals to samples with BPM.