Safe Haskell | Safe-Inferred |
---|
Haskore.Music
Documentation
Constructors
Tempo DurRatio | |
Transpose Relative | |
Player PlayerName | |
Phrase PhraseAttribute |
type PlayerName = StringSource
changeTempo :: DurRatio -> T note -> T noteSource
setPlayer :: PlayerName -> T note -> T noteSource
phrase :: PhraseAttribute -> T note -> T noteSource
partitionMaybe :: (noteA -> Maybe noteB) -> T noteA -> (T noteB, T noteA)Source
applyPrimitive :: (Dur -> Atom note -> b) -> Primitive note -> bSource
switchBinary :: (Dur -> Atom note -> b) -> (Control -> T note -> b) -> (T note -> T note -> b) -> (T note -> T note -> b) -> b -> T note -> bSource
switchList :: (Dur -> Atom note -> b) -> (Control -> T note -> b) -> ([T note] -> b) -> ([T note] -> b) -> T note -> bSource
foldBin :: (Dur -> Atom note -> b) -> (Control -> b -> b) -> (b -> b -> b) -> (b -> b -> b) -> b -> T note -> bSource
foldList :: (Dur -> Atom note -> b) -> (Control -> b -> b) -> ([b] -> b) -> ([b] -> b) -> T note -> bSource
mapListFlat :: (Dur -> Atom noteA -> (Dur, Atom noteB)) -> (Control -> T noteA -> T noteB) -> ([T noteA] -> [T noteB]) -> ([T noteA] -> [T noteB]) -> T noteA -> T noteBSource
mapList :: (Dur -> Atom noteA -> (Dur, Atom noteB)) -> (Control -> T noteB -> T noteB) -> ([T noteB] -> [T noteB]) -> ([T noteB] -> [T noteB]) -> T noteA -> T noteBSource
mapDurNote :: (Dur -> noteA -> noteB) -> T noteA -> T noteBSource
data PhraseAttribute Source
Instances
Eq PhraseAttribute | |
Ord PhraseAttribute | |
Show PhraseAttribute |
Constructors
Loudness Rational | |
Accent Rational | |
Crescendo Rational | |
Diminuendo Rational |
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
Eq Articulation | |
Ord Articulation | |
Show Articulation |
Constructors
Trill | |
Mordent | |
InvMordent | |
DoubleMordent | |
Turn | |
TrilledTurn | |
ShortTrill | |
Arpeggio | |
ArpeggioUp | |
ArpeggioDown | |
Instruction String | |
Head NoteHead |
Constructors
DiamondHead | |
SquareHead | |
XHead | |
TriangleHead | |
TremoloHead | |
SlashHead | |
ArtHarmonic | |
NoHead |
articulation :: Articulation -> T note -> T noteSource
accelerando :: Rational -> T note -> T noteSource
ritardando :: Rational -> T note -> T noteSource
diminuendo :: Rational -> T note -> T noteSource
defltLegato :: T note -> T noteSource
defltAccent :: T note -> T noteSource
defltStaccato :: T note -> T noteSource