Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Euterpea.Music
Documentation
type Pitch = (PitchClass, Octave) Source #
data PitchClass Source #
data InstrumentName Source #
Constructors
Instances
data PhraseAttribute Source #
Instances
data StdLoudness Source #
Instances
Constructors
Ritardando Rational | |
Accelerando Rational |
data Articulation Source #
Constructors
Staccato Rational | |
Legato Rational | |
Slurred Rational | |
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 |
data NoteAttribute Source #
type Note1 = (Pitch, [NoteAttribute]) Source #
instrument :: InstrumentName -> Music a -> Music a Source #
pcToInt :: PitchClass -> Int Source #
lineToList :: Music a -> [Music a] Source #
removeZeros :: Music a -> Music a Source #
data PercussionSound Source #
Constructors
mFold :: (Primitive a -> b) -> (b -> b -> b) -> (b -> b -> b) -> (Control -> b -> b) -> Music a -> b Source #
changeInstrument :: InstrumentName -> Music a -> Music a Source #
removeInstruments :: Music a -> Music a Source #