Safe Haskell | Safe-Inferred |
---|
Music.Theory.Clef
Description
Common music notation clefs.
Documentation
Clef enumeration type.
Constructors
Bass | |
Tenor | |
Alto | |
Treble | |
Percussion |
data Integral i => Clef i Source
Clef with octave offset.
Constructors
Clef | |
Fields
|
clef_range :: Clef_T -> Maybe (Pitch, Pitch)Source
Give clef range as a Pitch
pair indicating the notes below and
above the staff.
map clef_range [Treble,Bass] == [Just (d4,g5),Just (f2,b3)] clef_range Percussion == Nothing
clef_suggest :: Integral i => Pitch -> Clef iSource