Module
Data.Midi.Instrument
- Package
- purescript-midi
- Repository
- newlandsvalley/purescript-midi
#InstrumentName Source
data InstrumentName
MIDI instrument names
Constructors
Accordion
AcousticBass
AcousticGrandPiano
AcousticGuitarNylon
AcousticGuitarSteel
Agogo
AltoSax
Applause
Bagpipe
Banjo
BaritoneSax
Bassoon
BirdTweet
BlownBottle
BrassSection
BreathNoise
BrightAcousticPiano
Celesta
Cello
ChoirAahs
ChurchOrgan
Clarinet
Clavinet
Contrabass
DistortionGuitar
DrawbarOrgan
Dulcimer
ElectricBassFinger
ElectricBassPick
ElectricGrandPiano
ElectricGuitarClean
ElectricGuitarJazz
ElectricGuitarMuted
ElectricPiano1
ElectricPiano2
EnglishHorn
Fiddle
Flute
FrenchHorn
FretlessBass
Fx1Rain
Fx2Soundtrack
Fx3Crystal
Fx4Atmosphere
Fx5Brightness
Fx6Goblins
Fx7Echoes
Fx8Scifi
Glockenspiel
GuitarFretNoise
GuitarHarmonics
Gunshot
Harmonica
Harpsichord
Helicopter
HonkytonkPiano
Kalimba
Koto
Lead1Square
Lead2Sawtooth
Lead3Calliope
Lead4Chiff
Lead5Charang
Lead6Voice
Lead7Fifths
Lead8BassLead
Marimba
MelodicTom
MusicBox
MutedTrumpet
Oboe
Ocarina
OrchestraHit
OrchestralHarp
OverdrivenGuitar
Pad1NewAge
Pad2Warm
Pad3Polysynth
Pad4Choir
Pad5Bowed
Pad6Metallic
Pad7Halo
Pad8Sweep
PanFlute
PercussiveOrgan
Piccolo
PizzicatoStrings
Recorder
ReedOrgan
ReverseCymbal
RockOrgan
Seashore
Shakuhachi
Shamisen
Shanai
Sitar
SlapBass1
SlapBass2
SopranoSax
SteelDrums
StringEnsemble1
StringEnsemble2
SynthBass1
SynthBass2
SynthBrass1
SynthBrass2
SynthChoir
SynthDrum
SynthStrings1
SynthStrings2
TaikoDrum
TangoAccordion
TelephoneRing
TenorSax
Timpani
TinkleBell
TremoloStrings
Trombone
Trumpet
Tuba
TubularBells
Vibraphone
Viola
Violin
VoiceOohs
Whistle
Woodblock
Xylophone
Instances
#instrumentNames Source
instrumentNames :: List InstrumentName
the set of supported instruments
#gleitzmanName Source
gleitzmanName :: InstrumentName -> String
convert a MIDI instrument name to a Gleitxman string for example ElectricPiano1 -> electric_piano_1
#gleitzmanNames Source
gleitzmanNames :: List String
the set of supported instruments, using the Gleitzman names
#readGleitzman Source
readGleitzman :: String -> Maybe InstrumentName
read a Gleitzman instrument name amd attempt to convert to a MIDI instrument.