Copyright | (c) 2012--2014, Utrecht University |
---|---|
License | LGPL-3 |
Maintainer | W. Bas de Haas <w.b.dehaas@uu.nl> |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell98 |
Summary: Functions for representing MIDI time musically.
Documentation
getBarRat :: TimeSig -> TPB -> Time -> (Bar, BarRat) Source
Similar to getBeatInBar
we can also describe the musical position as the
combination of a Bar
and a BarRat
. The latter denotes the ratio within
a bar, e.g. BarRat (3 % 4) denotes the 4th Beat
in the bar.