haskore-0.2: The Haskore Computer Music System

Haskore.Music.GeneralMIDI

Synopsis

Documentation

type T = T Drum InstrSource

type Note = Note Drum InstrSource

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

data Instrument

Constructors

AcousticGrandPiano 
BrightAcousticPiano 
ElectricGrandPiano 
HonkyTonk 
ElectricPiano1 
ElectricPiano2 
Harpsichord 
Clavinet 
Celesta 
Glockenspiel 
MusicBox 
Vibraphone 
Marimba 
Xylophone 
TubularBells 
Dulcimer 
DrawbarOrgan 
PercussiveOrgan 
RockOrgan 
ChurchOrgan 
ReedOrgan 
Accordion 
Harmonica 
TangoAccordian 
AcousticGuitarNylon 
AcousticGuitarSteel 
ElectricGuitarJazz 
ElectricGuitarClean 
ElectricGuitarMuted 
OverdrivenGuitar 
DistortionGuitar 
GuitarHarmonics 
AcousticBass 
ElectricBassFinger 
ElectricBassPick 
FretlessBass 
SlapBass1 
SlapBass2 
SynthBass1 
SynthBass2 
Violin 
Viola 
Cello 
Contrabass 
TremoloStrings 
PizzicatoStrings 
OrchestralHarp 
Timpani 
StringEnsemble1 
StringEnsemble2 
SynthStrings1 
SynthStrings2 
ChoirAahs 
VoiceOohs 
SynthVoice 
OrchestraHit 
Trumpet 
Trombone 
Tuba 
MutedTrumpet 
FrenchHorn 
BrassSection 
SynthBrass1 
SynthBrass2 
SopranoSax 
AltoSax 
TenorSax 
BaritoneSax 
Oboe 
EnglishHorn 
Bassoon 
Clarinet 
Piccolo 
Flute 
Recorder 
PanFlute 
BlownBottle 
Skakuhachi 
Whistle 
Ocarina 
Lead1Square 
Lead2Sawtooth 
Lead3Calliope 
Lead4Chiff 
Lead5Charang 
Lead6Voice 
Lead7Fifths 
Lead8BassLead 
Pad1NewAge 
Pad2Warm 
Pad3Polysynth 
Pad4Choir 
Pad5Bowed 
Pad6Metallic 
Pad7Halo 
Pad8Sweep 
FX1Rain 
FX2Soundtrack 
FX3Crystal 
FX4Atmosphere 
FX5Brightness 
FX6Goblins 
FX7Echoes 
FX8SciFi 
Sitar 
Banjo 
Shamisen 
Koto 
Kalimba 
Bagpipe 
Fiddle 
Shanai 
TinkleBell 
Agogo 
SteelDrums 
Woodblock 
TaikoDrum 
MelodicTom 
SynthDrum 
ReverseCymbal 
GuitarFretNoise 
BreathNoise 
Seashore 
BirdTweet 
TelephoneRing 
Helicopter 
Applause 
Gunshot 

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

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