hommage-0.0.5: Haskell Offline Music Manipulation And Generation EDSLSource codeContentsIndex
Sound.Hommage.Seq
Synopsis
runNumNotation :: (IsDur d, Num a) => Notation (WithDur d [a]) -> d -> [a]
bpmToDur :: Double -> Dur
newtype Seq a = SEQ {
unSeq :: [[a]]
}
noteSeq :: IsDur d => a -> WithDur d (Seq a)
noteSeq' :: IsDur d => WithDur d a -> WithDur d (Seq a)
mixdownNumSeq :: Num a => Seq [a] -> [a]
applySeq :: (s -> s) -> Seq (s -> a) -> s -> Seq a
applySeqE :: (s -> s) -> Seq (Either (s -> a) (s -> s)) -> s -> Seq a
filterSeq :: (a -> Maybe b) -> Seq a -> Seq b
Documentation
runNumNotation :: (IsDur d, Num a) => Notation (WithDur d [a]) -> d -> [a]Source
bpmToDur :: Double -> DurSource
newtype Seq a Source
A Seq represents a temporal sequence of "Moments". Each moment can contain some events of type a.
Constructors
SEQ
unSeq :: [[a]]
show/hide Instances
noteSeq :: IsDur d => a -> WithDur d (Seq a)Source
Creates a Seq with the length that the Reader reads. (The length will be in any case at least 1).
noteSeq' :: IsDur d => WithDur d a -> WithDur d (Seq a)Source
mixdownNumSeq :: Num a => Seq [a] -> [a]Source
applySeq :: (s -> s) -> Seq (s -> a) -> s -> Seq aSource
applySeqE :: (s -> s) -> Seq (Either (s -> a) (s -> s)) -> s -> Seq aSource
filterSeq :: (a -> Maybe b) -> Seq a -> Seq bSource
Produced by Haddock version 2.4.2