| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Haskore.Music
Documentation
Constructors
| Tempo DurRatio | |
| Transpose Relative | |
| Player PlayerName | |
| Phrase PhraseAttribute |
type PlayerName = String Source
changeTempo :: DurRatio -> T note -> T note Source
setPlayer :: PlayerName -> T note -> T note Source
phrase :: PhraseAttribute -> T note -> T note Source
applyPrimitive :: (Dur -> Atom note -> b) -> Primitive note -> b Source
switchBinary :: (Dur -> Atom note -> b) -> (Control -> T note -> b) -> (T note -> T note -> b) -> (T note -> T note -> b) -> b -> T note -> b Source
switchList :: (Dur -> Atom note -> b) -> (Control -> T note -> b) -> ([T note] -> b) -> ([T note] -> b) -> T note -> b Source
foldBin :: (Dur -> Atom note -> b) -> (Control -> b -> b) -> (b -> b -> b) -> (b -> b -> b) -> b -> T note -> b Source
foldList :: (Dur -> Atom note -> b) -> (Control -> b -> b) -> ([b] -> b) -> ([b] -> b) -> T note -> b Source
mapListFlat :: (Dur -> Atom noteA -> (Dur, Atom noteB)) -> (Control -> T noteA -> T noteB) -> ([T noteA] -> [T noteB]) -> ([T noteA] -> [T noteB]) -> T noteA -> T noteB Source
mapList :: (Dur -> Atom noteA -> (Dur, Atom noteB)) -> (Control -> T noteB -> T noteB) -> ([T noteB] -> [T noteB]) -> ([T noteB] -> [T noteB]) -> T noteA -> T noteB Source
mapDurNote :: (Dur -> noteA -> noteB) -> T noteA -> T noteB Source
data PhraseAttribute Source
Constructors
| Ritardando Rational | |
| Accelerando Rational |
data Articulation Source
Constructors
| Staccato Dur | |
| Legato Dur | |
| Slurred Dur | |
| Tenuto | |
| Marcato | |
| Pedal | |
| Fermata | |
| FermataDown | |
| Breath | |
| DownBow | |
| UpBow | |
| Harmonic | |
| Pizzicato | |
| LeftPizz | |
| BartokPizz | |
| Swell | |
| Wedge | |
| Thumb | |
| Stopped |
Instances
Constructors
| DiamondHead | |
| SquareHead | |
| XHead | |
| TriangleHead | |
| TremoloHead | |
| SlashHead | |
| ArtHarmonic | |
| NoHead |
articulation :: Articulation -> T note -> T note Source
diminuendo :: Rational -> T note -> T note Source
ritardando :: Rational -> T note -> T note Source
accelerando :: Rational -> T note -> T note Source
defltLegato :: T note -> T note Source
defltStaccato :: T note -> T note Source
defltAccent :: T note -> T note Source