haskore-0.2.0.5: The Haskore Computer Music System

Safe HaskellSafe-Inferred

Haskore.Music.Standard

Synopsis

Documentation

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

bnr :: T noteSource

wnr :: T noteSource

hnr :: T noteSource

qnr :: T noteSource

enr :: T noteSource

snr :: T noteSource

tnr :: T noteSource

sfnr :: T noteSource

dwnr :: T noteSource

dhnr :: T noteSource

dqnr :: T noteSource

denr :: T noteSource

dsnr :: T noteSource

dtnr :: T noteSource

ddhnr :: T noteSource

ddqnr :: T noteSource

ddenr :: T noteSource

line :: [T note] -> 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

(=:=) :: T note -> T note -> T noteSource

type Dur = TSource

data Dynamic Source

Constructors

Loudness Rational 
Accent Rational 
Crescendo Rational 
Diminuendo Rational 

Instances

Eq Dynamic 
Ord Dynamic 
Show Dynamic 

data Tempo Source

Constructors

Ritardando Rational 
Accelerando Rational 

Instances

Eq Tempo 
Ord Tempo 
Show Tempo 

accent :: Rational -> T note -> T noteSource

crescendo :: Rational -> T note -> T noteSource

diminuendo :: Rational -> T note -> T noteSource

loudness1 :: Rational -> T note -> T noteSource

ritardando :: Rational -> T note -> T noteSource

accelerando :: Rational -> T note -> T noteSource

staccato :: Dur -> T note -> T noteSource

legato :: Dur -> T note -> T noteSource

defltLegato :: T note -> T noteSource

defltStaccato :: T note -> T noteSource

defltAccent :: T note -> T noteSource

bigAccent :: T note -> T noteSource