musicology-core-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Musicology.Core.Slicing

Documentation

onOffGroups :: (Foldable f, HasTime n) => f n -> [[OnOff n (TimeOf n)]] Source #

groupsToSlices :: Foldable f => Slicer a t st s -> f [OnOff a t] -> [s] Source #

slicePiece :: (Foldable f, HasTime n) => Slicer n (TimeOf n) st s -> f n -> [s] Source #

data Slicer a t st s Source #

Constructors

Slicer 

Fields

timed :: (Num a1, Ord a1) => Slicer a2 a1 c c -> Slicer a2 a1 (a1, c) (TimedEvent c a1) Source #

cleanSlicer :: Eq a => Slicer a t [a] [a] Source #

tiedSlicer :: Eq a => Slicer a t ([a], [a]) [(a, Tied)] Source #