Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Documentation
type Pitch = (PitchClass, Octave) Source #
data PitchClass Source #
Cff | |
Cf | |
C | |
Dff | |
Cs | |
Df | |
Css | |
D | |
Eff | |
Ds | |
Ef | |
Fff | |
Dss | |
E | |
Ff | |
Es | |
F | |
Gff | |
Ess | |
Fs | |
Gf | |
Fss | |
G | |
Aff | |
Gs | |
Af | |
Gss | |
A | |
Bff | |
As | |
Bf | |
Ass | |
B | |
Bs | |
Bss |
Instances
Instances
Functor Primitive Source # | |
Show a => Show (Primitive a) Source # | |
NFData a => NFData (Primitive a) Source # | |
Defined in Euterpea.IO.MIDI.Play | |
Eq a => Eq (Primitive a) Source # | |
Ord a => Ord (Primitive a) Source # | |
Defined in Euterpea.Music |
Prim (Primitive a) | |
(Music a) :+: (Music a) infixr 5 | |
(Music a) :=: (Music a) infixr 5 | |
Modify Control (Music a) |
Tempo Rational | |
Transpose AbsPitch | |
Instrument InstrumentName | |
Phrase [PhraseAttribute] | |
KeySig PitchClass Mode | |
Custom String |
data InstrumentName Source #
Instances
data PhraseAttribute Source #
Instances
Show PhraseAttribute Source # | |
Defined in Euterpea.Music showsPrec :: Int -> PhraseAttribute -> ShowS # show :: PhraseAttribute -> String # showList :: [PhraseAttribute] -> ShowS # | |
NFData PhraseAttribute Source # | |
Defined in Euterpea.IO.MIDI.Play rnf :: PhraseAttribute -> () # | |
Eq PhraseAttribute Source # | |
Defined in Euterpea.Music (==) :: PhraseAttribute -> PhraseAttribute -> Bool # (/=) :: PhraseAttribute -> PhraseAttribute -> Bool # | |
Ord PhraseAttribute Source # | |
Defined in Euterpea.Music compare :: PhraseAttribute -> PhraseAttribute -> Ordering # (<) :: PhraseAttribute -> PhraseAttribute -> Bool # (<=) :: PhraseAttribute -> PhraseAttribute -> Bool # (>) :: PhraseAttribute -> PhraseAttribute -> Bool # (>=) :: PhraseAttribute -> PhraseAttribute -> Bool # max :: PhraseAttribute -> PhraseAttribute -> PhraseAttribute # min :: PhraseAttribute -> PhraseAttribute -> PhraseAttribute # |
data StdLoudness Source #
Instances
data Articulation Source #
Staccato Rational | |
Legato Rational | |
Slurred Rational | |
Tenuto | |
Marcato | |
Pedal | |
Fermata | |
FermataDown | |
Breath | |
DownBow | |
UpBow | |
Harmonic | |
Pizzicato | |
LeftPizz | |
BartokPizz | |
Swell | |
Wedge | |
Thumb | |
Stopped |
Instances
Show Articulation Source # | |
Defined in Euterpea.Music showsPrec :: Int -> Articulation -> ShowS # show :: Articulation -> String # showList :: [Articulation] -> ShowS # | |
NFData Articulation Source # | |
Defined in Euterpea.IO.MIDI.Play rnf :: Articulation -> () # | |
Eq Articulation Source # | |
Defined in Euterpea.Music (==) :: Articulation -> Articulation -> Bool # (/=) :: Articulation -> Articulation -> Bool # | |
Ord Articulation Source # | |
Defined in Euterpea.Music compare :: Articulation -> Articulation -> Ordering # (<) :: Articulation -> Articulation -> Bool # (<=) :: Articulation -> Articulation -> Bool # (>) :: Articulation -> Articulation -> Bool # (>=) :: Articulation -> Articulation -> Bool # max :: Articulation -> Articulation -> Articulation # min :: Articulation -> Articulation -> Articulation # |
Trill | |
Mordent | |
InvMordent | |
DoubleMordent | |
Turn | |
TrilledTurn | |
ShortTrill | |
Arpeggio | |
ArpeggioUp | |
ArpeggioDown | |
Instruction String | |
Head NoteHead | |
DiatonicTrans Int |
data NoteAttribute Source #
Instances
ToMusic1 Note1 Source # | |
Show NoteAttribute Source # | |
Defined in Euterpea.Music showsPrec :: Int -> NoteAttribute -> ShowS # show :: NoteAttribute -> String # showList :: [NoteAttribute] -> ShowS # | |
NFData NoteAttribute Source # | |
Defined in Euterpea.IO.MIDI.Play rnf :: NoteAttribute -> () # | |
Eq NoteAttribute Source # | |
Defined in Euterpea.Music (==) :: NoteAttribute -> NoteAttribute -> Bool # (/=) :: NoteAttribute -> NoteAttribute -> Bool # |
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 #
Instances
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 #