General MIDI instrument, used in Program Change messages.
The MIDI protocol defines a Program Change message, which can be used to switch a device among "presets". The General MIDI specification further standardizes those presets into the specific instruments in this enum. General-MIDI-compliant devices will have these particular instruments; non-GM devices may have other instruments.
MIDI instruments are one-indexed in the spec, but they're zero-indexed in code, so we have them zero-indexed here.
This enum has extension methods, such as Name and IsValid, defined in InstrumentExtensionMethods.
Member Name | Description |
---|---|
AcousticGrandPiano | General MIDI instrument 0 ("Acoustic Grand Piano"). |
BrightAcousticPiano | General MIDI instrument 1 ("Bright Acoustic Piano"). |
ElectricGrandPiano | General MIDI instrument 2 ("Electric Grand Piano"). |
HonkyTonkPiano | General MIDI instrument 3 ("Honky Tonk Piano"). |
ElectricPiano1 | General MIDI instrument 4 ("Electric Piano 1"). |
ElectricPiano2 | General MIDI instrument 5 ("Electric Piano 2"). |
Harpsichord | General MIDI instrument 6 ("Harpsichord"). |
Clavinet | General MIDI instrument 7 ("Clavinet"). |
Celesta | General MIDI instrument 8 ("Celesta"). |
Glockenspiel | General MIDI instrument 9 ("Glockenspiel"). |
MusicBox | General MIDI instrument 10 ("Music Box"). |
Vibraphone | General MIDI instrument 11 ("Vibraphone"). |
Marimba | General MIDI instrument 12 ("Marimba"). |
Xylophone | General MIDI instrument 13 ("Xylophone"). |
TubularBells | General MIDI instrument 14 ("Tubular Bells"). |
Dulcimer | General MIDI instrument 15 ("Dulcimer"). |
DrawbarOrgan | General MIDI instrument 16 ("Drawbar Organ"). |
PercussiveOrgan | General MIDI instrument 17 ("Percussive Organ"). |
RockOrgan | General MIDI instrument 18 ("Rock Organ"). |
ChurchOrgan | General MIDI instrument 19 ("Church Organ"). |
ReedOrgan | General MIDI instrument 20 ("Reed Organ"). |
Accordion | General MIDI instrument 21 ("Accordion"). |
Harmonica | General MIDI instrument 22 ("Harmonica"). |
TangoAccordion | General MIDI instrument 23 ("Tango Accordion"). |
AcousticGuitarNylon | General MIDI instrument 24 ("Acoustic Guitar (nylon)"). |
AcousticGuitarSteel | General MIDI instrument 25 ("Acoustic Guitar (steel)"). |
ElectricGuitarJazz | General MIDI instrument 26 ("Electric Guitar (jazz)"). |
ElectricGuitarClean | General MIDI instrument 27 ("Electric Guitar (clean)"). |
ElectricGuitarMuted | General MIDI instrument 28 ("Electric Guitar (muted)"). |
OverdrivenGuitar | General MIDI instrument 29 ("Overdriven Guitar"). |
DistortionGuitar | General MIDI instrument 30 ("Distortion Guitar"). |
GuitarHarmonics | General MIDI instrument 31 ("Guitar Harmonics"). |
AcousticBass | General MIDI instrument 32 ("Acoustic Bass"). |
ElectricBassFinger | General MIDI instrument 33 ("Electric Bass (finger)"). |
ElectricBassPick | General MIDI instrument 34 ("Electric Bass (pick)"). |
FretlessBass | General MIDI instrument 35 ("Fretless Bass"). |
SlapBass1 | General MIDI instrument 36 ("Slap Bass 1"). |
SlapBass2 | General MIDI instrument 37 ("Slap Bass 2"). |
SynthBass1 | General MIDI instrument 38 ("Synth Bass 1"). |
SynthBass2 | General MIDI instrument 39("Synth Bass 2"). |
Violin | General MIDI instrument 40 ("Violin"). |
Viola | General MIDI instrument 41 ("Viola"). |
Cello | General MIDI instrument 42 ("Cello"). |
Contrabass | General MIDI instrument 43 ("Contrabass"). |
TremoloStrings | General MIDI instrument 44 ("Tremolo Strings"). |
PizzicatoStrings | General MIDI instrument 45 ("Pizzicato Strings"). |
OrchestralHarp | General MIDI instrument 46 ("Orchestral Harp"). |
Timpani | General MIDI instrument 47 ("Timpani"). |
StringEnsemble1 | General MIDI instrument 48 ("String Ensemble 1"). |
StringEnsemble2 | General MIDI instrument 49 ("String Ensemble 2"). |
SynthStrings1 | General MIDI instrument 50 ("Synth Strings 1"). |
SynthStrings2 | General MIDI instrument 51 ("Synth Strings 2"). |
ChoirAahs | General MIDI instrument 52 ("Choir Aahs"). |
VoiceOohs | General MIDI instrument 53 ("Voice oohs"). |
SynthVoice | General MIDI instrument 54 ("Synth Voice"). |
OrchestraHit | General MIDI instrument 55 ("Orchestra Hit"). |
Trumpet | General MIDI instrument 56 ("Trumpet"). |
Trombone | General MIDI instrument 57 ("Trombone"). |
Tuba | General MIDI instrument 58 ("Tuba"). |
MutedTrumpet | General MIDI instrument 59 ("Muted Trumpet"). |
FrenchHorn | General MIDI instrument 60 ("French Horn"). |
BrassSection | General MIDI instrument 61 ("Brass Section"). |
SynthBrass1 | General MIDI instrument 62 ("Synth Brass 1"). |
SynthBrass2 | General MIDI instrument 63 ("Synth Brass 2"). |
SopranoSax | General MIDI instrument 64 ("Soprano Sax"). |
AltoSax | General MIDI instrument 65 ("Alto Sax"). |
TenorSax | General MIDI instrument 66 ("Tenor Sax"). |
BaritoneSax | General MIDI instrument 67 ("Baritone Sax"). |
Oboe | General MIDI instrument 68 ("Oboe"). |
EnglishHorn | General MIDI instrument 69 ("English Horn"). |
Bassoon | General MIDI instrument 70 ("Bassoon"). |
Clarinet | General MIDI instrument 71 ("Clarinet"). |
Piccolo | General MIDI instrument 72 ("Piccolo"). |
Flute | General MIDI instrument 73 ("Flute"). |
Recorder | General MIDI instrument 74 ("Recorder"). |
PanFlute | General MIDI instrument 75 ("PanFlute"). |
BlownBottle | General MIDI instrument 76 ("Blown Bottle"). |
Shakuhachi | General MIDI instrument 77 ("Shakuhachi"). |
Whistle | General MIDI instrument 78 ("Whistle"). |
Ocarina | General MIDI instrument 79 ("Ocarina"). |
Lead1Square | General MIDI instrument 80 ("Lead 1 (square)"). |
Lead2Sawtooth | General MIDI instrument 81 ("Lead 2 (sawtooth)"). |
Lead3Calliope | General MIDI instrument 82 ("Lead 3 (calliope)"). |
Lead4Chiff | General MIDI instrument 83 ("Lead 4 (chiff)"). |
Lead5Charang | General MIDI instrument 84 ("Lead 5 (charang)"). |
Lead6Voice | General MIDI instrument 85 ("Lead 6 (voice)"). |
Lead7Fifths | General MIDI instrument 86 ("Lead 7 (fifths)"). |
Lead8BassPlusLead | General MIDI instrument 87 ("Lead 8 (bass + lead)"). |
Pad1NewAge | General MIDI instrument 88 ("Pad 1 (new age)"). |
Pad2Warm | General MIDI instrument 89 ("Pad 2 (warm)"). |
Pad3Polysynth | General MIDI instrument 90 ("Pad 3 (polysynth)"). |
Pad4Choir | General MIDI instrument 91 ("Pad 4 (choir)"). |
Pad5Bowed | General MIDI instrument 92 ("Pad 5 (bowed)"). |
Pad6Metallic | General MIDI instrument 93 ("Pad 6 (metallic)"). |
Pad7Halo | General MIDI instrument 94 ("Pad 7 (halo)"). |
Pad8Sweep | General MIDI instrument 95 ("Pad 8 (sweep)"). |
FX1Rain | General MIDI instrument 96 ("FX 1 (rain)"). |
FX2Soundtrack | General MIDI instrument 97 ("FX 2 (soundtrack)"). |
FX3Crystal | General MIDI instrument 98 ("FX 3 (crystal)"). |
FX4Atmosphere | General MIDI instrument 99 ("FX 4 (atmosphere)"). |
FX5Brightness | General MIDI instrument 100 ("FX 5 (brightness)"). |
FX6Goblins | General MIDI instrument 101 ("FX 6 (goblins)"). |
FX7Echoes | General MIDI instrument 102 ("FX 7 (echoes)"). |
FX8SciFi | General MIDI instrument 103 ("FX 8 (sci-fi)"). |
Sitar | General MIDI instrument 104 ("Sitar"). |
Banjo | General MIDI instrument 105 ("Banjo"). |
Shamisen | General MIDI instrument 106 ("Shamisen"). |
Koto | General MIDI instrument 107 ("Koto"). |
Kalimba | General MIDI instrument 108 ("Kalimba"). |
Bagpipe | General MIDI instrument 109 ("Bagpipe"). |
Fiddle | General MIDI instrument 110 ("Fiddle"). |
Shanai | General MIDI instrument 111 ("Shanai"). |
TinkleBell | General MIDI instrument 112 ("Tinkle Bell"). |
Agogo | General MIDI instrument 113 (Agogo""). |
SteelDrums | General MIDI instrument 114 ("Steel Drums"). |
Woodblock | General MIDI instrument 115 ("Woodblock"). |
TaikoDrum | General MIDI instrument 116 ("Taiko Drum"). |
MelodicTom | General MIDI instrument 117 ("Melodic Tom"). |
SynthDrum | General MIDI instrument 118 ("Synth Drum"). |
ReverseCymbal | General MIDI instrument 119 ("Reverse Cymbal"). |
GuitarFretNoise | General MIDI instrument 120 ("Guitar Fret Noise"). |
BreathNoise | General MIDI instrument 121 ("Breath Noise"). |
Seashore | General MIDI instrument 122 ("Seashore"). |
BirdTweet | General MIDI instrument 123 ("Bird Tweet"). |
TelephoneRing | General MIDI instrument 124 ("Telephone Ring"). |
Helicopter | General MIDI instrument 125 ("Helicopter"). |
Applause | General MIDI instrument 126 ("Applause"). |
Gunshot | General MIDI instrument 127 ("Gunshot"). |
Namespace: Midi
Assembly: Midi (in Midi.dll)