Copyright | (c) Hans Hoglund 2012-2014 |
---|---|
License | BSD-style |
Maintainer | hans@hanshoglund.se |
Stability | experimental |
Portability | non-portable (TF,GNTD) |
Safe Haskell | None |
Language | Haskell2010 |
- extractTimeSignatures :: Score a -> ([Maybe TimeSignature], [Duration])
- voiceToBars' :: Tiable a => [Duration] -> Voice (Maybe a) -> [[(Duration, Maybe a)]]
- spellPitch :: Integral a => a -> (a, a, a)
- type MVoice a = Voice (Maybe a)
- toMVoice :: (Semigroup a, Transformable a) => Score a -> MVoice a
- unvoice :: Voice b -> [(Duration, b)]
- openCommand :: String
Documentation
extractTimeSignatures :: Score a -> ([Maybe TimeSignature], [Duration]) Source
voiceToBars' :: Tiable a => [Duration] -> Voice (Maybe a) -> [[(Duration, Maybe a)]] Source
Convert a voice to a list of bars using the given bar durations.
spellPitch :: Integral a => a -> (a, a, a) Source
Basic spelling for integral types.
toMVoice :: (Semigroup a, Transformable a) => Score a -> MVoice a Source