midi-0.2.2.2: Handling of MIDI messages and files
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.MIDI.General

Description

General-MIDI definitions.

Taken from Haskore.

Synopsis

Instrument definitions

data Instrument Source #

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 

Instances

Instances details
Arbitrary Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Bounded Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Enum Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Ix Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Show Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Eq Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Ord Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Random Instrument Source # 
Instance details

Defined in Sound.MIDI.General

Methods

randomR :: RandomGen g => (Instrument, Instrument) -> g -> (Instrument, g) #

random :: RandomGen g => g -> (Instrument, g) #

randomRs :: RandomGen g => (Instrument, Instrument) -> g -> [Instrument] #

randoms :: RandomGen g => g -> [Instrument] #

Drum definitions

data Drum Source #

Instances

Instances details
Arbitrary Drum Source # 
Instance details

Defined in Sound.MIDI.General

Methods

arbitrary :: Gen Drum #

shrink :: Drum -> [Drum] #

Bounded Drum Source # 
Instance details

Defined in Sound.MIDI.General

Enum Drum Source # 
Instance details

Defined in Sound.MIDI.General

Methods

succ :: Drum -> Drum #

pred :: Drum -> Drum #

toEnum :: Int -> Drum #

fromEnum :: Drum -> Int #

enumFrom :: Drum -> [Drum] #

enumFromThen :: Drum -> Drum -> [Drum] #

enumFromTo :: Drum -> Drum -> [Drum] #

enumFromThenTo :: Drum -> Drum -> Drum -> [Drum] #

Ix Drum Source # 
Instance details

Defined in Sound.MIDI.General

Methods

range :: (Drum, Drum) -> [Drum] #

index :: (Drum, Drum) -> Drum -> Int #

unsafeIndex :: (Drum, Drum) -> Drum -> Int #

inRange :: (Drum, Drum) -> Drum -> Bool #

rangeSize :: (Drum, Drum) -> Int #

unsafeRangeSize :: (Drum, Drum) -> Int #

Show Drum Source # 
Instance details

Defined in Sound.MIDI.General

Methods

showsPrec :: Int -> Drum -> ShowS #

show :: Drum -> String #

showList :: [Drum] -> ShowS #

Eq Drum Source # 
Instance details

Defined in Sound.MIDI.General

Methods

(==) :: Drum -> Drum -> Bool #

(/=) :: Drum -> Drum -> Bool #

Ord Drum Source # 
Instance details

Defined in Sound.MIDI.General

Methods

compare :: Drum -> Drum -> Ordering #

(<) :: Drum -> Drum -> Bool #

(<=) :: Drum -> Drum -> Bool #

(>) :: Drum -> Drum -> Bool #

(>=) :: Drum -> Drum -> Bool #

max :: Drum -> Drum -> Drum #

min :: Drum -> Drum -> Drum #

Random Drum Source # 
Instance details

Defined in Sound.MIDI.General

Methods

randomR :: RandomGen g => (Drum, Drum) -> g -> (Drum, g) #

random :: RandomGen g => g -> (Drum, g) #

randomRs :: RandomGen g => (Drum, Drum) -> g -> [Drum] #

randoms :: RandomGen g => g -> [Drum] #