haskore-0.2.0.7: The Haskore Computer Music System

Safe HaskellSafe-Inferred
LanguageHaskell2010

Haskore.Music.GeneralMIDI

Synopsis

Documentation

type T = T Drum Instr Source

type Note = Note Drum Instr Source

velocity :: Note drum instr -> Rational Source

body :: Note drum instr -> NoteBody drum instr Source

instrument :: NoteBody drum instr -> instr Source

pitch :: NoteBody drum instr -> T Source

drum :: NoteBody drum instr -> drum Source

noteFromStdMelodyNote :: instr -> Note -> Note drum instr Source

fromStdMelody :: Instr -> T -> T Source

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 note Source

wnr :: T note Source

hnr :: T note Source

qnr :: T note Source

enr :: T note Source

snr :: T note Source

tnr :: T note Source

sfnr :: T note Source

dwnr :: T note Source

dhnr :: T note Source

dqnr :: T note Source

denr :: T note Source

dsnr :: T note Source

dtnr :: T note Source

ddhnr :: T note Source

ddqnr :: T note Source

ddenr :: T note Source

line :: [T note] -> T note Source

chord :: [T note] -> T note Source

changeTempo :: DurRatio -> T note -> T note Source

transpose :: Relative -> T note -> T note Source

phrase :: PhraseAttribute -> T note -> T note Source

(+:+) :: T note -> T note -> T note infixr 7 Source

(=:=) :: T note -> T note -> T note infixr 6 Source

type Dur = T Source

accent :: Rational -> T note -> T note Source

crescendo :: Rational -> T note -> T note Source

diminuendo :: Rational -> T note -> T note Source

loudness1 :: Rational -> T note -> T note Source

ritardando :: Rational -> T note -> T note Source

accelerando :: Rational -> T note -> T note Source

staccato :: Dur -> T note -> T note Source

legato :: Dur -> T note -> T note Source

defltLegato :: T note -> T note Source

defltStaccato :: T note -> T note Source

defltAccent :: T note -> T note Source

bigAccent :: T note -> T note Source