| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Boopadoop.Rhythm
Description
Representing rhythms as rose trees.
Documentation
A rhythm is represented as a rose tree where each subtree is given equal amounts of time.
Leaves are either a Beat of type a or empty (a rest).
class SummaryChar a where Source #
Class for things that can be summarized in a single character, for use in printing out rhythms.
Instances
| SummaryChar DrumRack Source # | |
A rack of drums. Simple enumeration of the different possible drum types.
Instances
| SummaryChar DrumRack Source # | |