| Safe Haskell | Safe-Infered |
|---|
Haskore.Music.Rhythmic
- type T drum instr = T (Note drum instr)
- data Note drum instr = Note {}
- data NoteBody drum instr
- maybeInstrument :: NoteBody drum instr -> Maybe instr
- noteFromAttrs :: NoteAttributes -> NoteBody drum instr -> Note drum instr
- noteFromStdMelodyNote :: instr -> Note -> Note drum instr
- noteFromMelodyNote :: (attr -> (Rational, instr)) -> Note attr -> Note drum instr
- fromStdMelody :: instr -> T -> T drum instr
- fromMelodyNullAttr :: instr -> T () -> T drum instr
- fromMelody :: (attr -> (Rational, instr)) -> T attr -> T drum instr
- bn, sfn, tn, sn, en, qn, hn, wn :: T
- dwn, dtn, dsn, den, dqn, dhn :: T
- ddhn, dden, ddqn :: T
- bnr, sfnr, tnr, snr, enr, qnr, hnr, wnr :: T note
- dwnr, dtnr, dsnr, denr, dqnr, dhnr :: T note
- ddhnr, ddenr, ddqnr :: T note
- line, chord :: [T note] -> T note
- changeTempo :: DurRatio -> T note -> T note
- transpose :: Relative -> T note -> T note
- phrase :: PhraseAttribute -> T note -> T note
- (+:+), (=:=) :: T note -> T note -> T note
- type Dur = T
- data PhraseAttribute
- data Dynamic
- data Tempo
- data Articulation
- data Ornament
- = Trill
- | Mordent
- | InvMordent
- | DoubleMordent
- | Turn
- | TrilledTurn
- | ShortTrill
- | Arpeggio
- | ArpeggioUp
- | ArpeggioDown
- | Instruction String
- | Head NoteHead
- data NoteHead
- = DiamondHead
- | SquareHead
- | XHead
- | TriangleHead
- | TremoloHead
- | SlashHead
- | ArtHarmonic
- | NoHead
- accent, accelerando, ritardando, loudness1, diminuendo, crescendo :: Rational -> T note -> T note
- staccato, legato :: Dur -> T note -> T note
- defltLegato, bigAccent, defltAccent, defltStaccato :: T note -> T note
Documentation
maybeInstrument :: NoteBody drum instr -> Maybe instrSource
noteFromAttrs :: NoteAttributes -> NoteBody drum instr -> Note drum instrSource
noteFromStdMelodyNote :: instr -> Note -> Note drum instrSource
noteFromMelodyNote :: (attr -> (Rational, instr)) -> Note attr -> Note drum instrSource
fromStdMelody :: instr -> T -> T drum instrSource
fromMelodyNullAttr :: instr -> T () -> T drum instrSource
ignores the note attributes
fromMelody :: (attr -> (Rational, instr)) -> T attr -> T drum instrSource
changeTempo :: DurRatio -> T note -> T noteSource
phrase :: PhraseAttribute -> T note -> T noteSource
data PhraseAttribute Source
Instances
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 |
accent, accelerando, ritardando, loudness1, diminuendo, crescendo :: Rational -> T note -> T noteSource
defltLegato, bigAccent, defltAccent, defltStaccato :: T note -> T noteSource