Copyright | (c) Hans Hoglund 2012-2015 |
---|---|
License | BSD-style |
Maintainer | hans@hanshoglund.se |
Stability | experimental |
Portability | non-portable (TF,GNTD) |
Safe Haskell | None |
Language | Haskell2010 |
- data Instrument
- allowedClefs :: Instrument -> Set Clef
- playableRange :: Instrument -> Ambitus Pitch
- comfortableRange :: Instrument -> Ambitus Pitch
- playableDynamics :: Instrument -> Pitch -> Dynamics
- instrumentName :: Instrument -> String
- fullName :: Instrument -> String
- shortName :: Instrument -> String
- transposition :: Instrument -> Interval
- transpositionString :: Instrument -> String
Documentation
data Instrument Source
An Instrument
represents the set of all instruments of a given type.
Enum Instrument | |
Eq Instrument | |
Ord Instrument | |
Show Instrument | |
Default Instrument | This instance is quite arbitrary but very handy. |
allowedClefs :: Instrument -> Set Clef Source
playableDynamics :: Instrument -> Pitch -> Dynamics Source
Name etc
instrumentName :: Instrument -> String Source
fullName :: Instrument -> String Source
shortName :: Instrument -> String Source