haskore-0.0.5.1: The Haskore Computer Music SystemSource codeContentsIndex
Haskore.Music.Standard
Synopsis
type T = T Drum Instr
type Note = Note Drum Instr
type NoteBody = NoteBody Drum Instr
type Instr = String
type Drum = String
velocity :: Note drum instr -> Rational
body :: Note drum instr -> NoteBody drum instr
instrument :: NoteBody drum instr -> instr
pitch :: NoteBody drum instr -> T
drum :: NoteBody drum instr -> drum
noteFromStdMelodyNote :: instr -> Note -> Note drum instr
fromStdMelody :: Instr -> T -> T
fromMelodyNullAttr :: Instr -> T () -> T
wn :: T
dhn :: T
ddqn :: T
wnr :: T note
dhnr :: T note
ddqnr :: T note
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
= Dyn Dynamic
| Tmp Tempo
| Art Articulation
| Orn Ornament
data Dynamic
= Loudness Rational
| Accent Rational
| Crescendo Rational
| Diminuendo Rational
data Tempo
= Ritardando Rational
| Accelerando Rational
data Articulation
= Staccato Dur
| Legato Dur
| Slurred Dur
| Tenuto
| Marcato
| Pedal
| Fermata
| FermataDown
| Breath
| DownBow
| UpBow
| Harmonic
| Pizzicato
| LeftPizz
| BartokPizz
| Swell
| Wedge
| Thumb
| Stopped
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
crescendo :: Rational -> T note -> T note
legato :: Dur -> T note -> T note
defltStaccato :: T note -> T note
Documentation
type T = T Drum InstrSource
type Note = Note Drum InstrSource
type NoteBody = NoteBody Drum InstrSource
type Instr = StringSource
type Drum = StringSource
velocity :: Note drum instr -> RationalSource
body :: Note drum instr -> NoteBody drum instrSource
instrument :: NoteBody drum instr -> instrSource
pitch :: NoteBody drum instr -> TSource
drum :: NoteBody drum instr -> drumSource
noteFromStdMelodyNote :: instr -> Note -> Note drum instrSource
fromStdMelody :: Instr -> T -> TSource
in contrast to RhyMusic.fromStdMelody it has fixed instrument type
fromMelodyNullAttr :: Instr -> T () -> TSource
wn :: TSource
dhn :: TSource
ddqn :: TSource
wnr :: T noteSource
dhnr :: T noteSource
ddqnr :: T noteSource
chord :: [T note] -> T noteSource
changeTempo :: DurRatio -> T note -> T noteSource
transpose :: Relative -> T note -> T noteSource
phrase :: PhraseAttribute -> T note -> T noteSource
(=:=) :: T note -> T note -> T noteSource
type Dur = TSource
data PhraseAttribute Source
Constructors
Dyn Dynamic
Tmp Tempo
Art Articulation
Orn Ornament
show/hide Instances
data Dynamic Source
Constructors
Loudness Rational
Accent Rational
Crescendo Rational
Diminuendo Rational
show/hide Instances
data Tempo Source
Constructors
Ritardando Rational
Accelerando Rational
show/hide Instances
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
show/hide Instances
data Ornament Source
Constructors
Trill
Mordent
InvMordent
DoubleMordent
Turn
TrilledTurn
ShortTrill
Arpeggio
ArpeggioUp
ArpeggioDown
Instruction String
Head NoteHead
show/hide Instances
data NoteHead Source
Constructors
DiamondHead
SquareHead
XHead
TriangleHead
TremoloHead
SlashHead
ArtHarmonic
NoHead
show/hide Instances
crescendo :: Rational -> T note -> T noteSource
legato :: Dur -> T note -> T noteSource
defltStaccato :: T note -> T noteSource
Produced by Haddock version 2.3.0