audio MIDI Music Algorithms Interfaces Programming Acoustics Context
> Audio > Synthesis > Instrument Constants in the JMC - General MIDI Set    
 
   

Instrument Constants in the JMC - General MIDI Set

The following fields can be used instead of the actual program numbers.
 This allows for
        a) code that makes more sense (readability),
        b) allows you to quickly and easily assign instruments in your code without having to look up the program number first, and
        c) assures that all entries are actually valid (e.g. there is no instrument number 128 in GM, thus using the following fields would ensure that you don't              accidentlaly use such a value in your code).
The following fields are each declared as public static final int
The available fields for each of the program numbers are as follows (Remember: Fields are still case sensitive!):

  • 0: PIANO
  • 3: HONKYTONK, HONKYTONK_PIANO
  • 4: EPIANO, ELECTRIC_PIANO, ELPIANO
  • 5: EPIANO2, DX_EPIANO
  • 6: HARPSICHORD
  • 7: CLAV, CLAVINET
  • 8: CELESTE, CELESTA
  • 9: GLOCKENSPIEL, GLOCK
  • 10: MUSIC_BOX
  • 11: VIBRAPHONE, VIBES
  • 12: MARIMBA
  • 13: XYLOPHONE
  • 14: TUBULAR_BELL, TUBULAR_BELLS
  • 16: ORGAN, ELECTRIC_ORGAN, 
  • 17: ORGAN2, JAZZ_ORGAN, HAMMOND_ORGAN
  • 18: ORGAN3
  • 19: CHURCH_ORGAN, PIPE_ORGAN
  • 20: REED_ORGAN
  • 21: ACCORDION, PIANO_ACCORDION, CONCERTINA
  • 22: HARMONICA
  • 23: BANDNEON
  • 24: NYLON_GUITAR, NGUITAR, GUITAR, ACOUSTIC_GUITAR, AC_GUITAR
  • 25: STEEL_GUITAR, SGUITAR
  • 26: JAZZ_GUITAR, JGUITAR
  • 27: CLEAN_GUITAR, CGUITAR, ELECTRIC_GUITAR, EL_GUITAR
  • 28: MUTED_GUITAR, MGUITAR
  • 29: OVERDRIVE_GUITAR, OGUITAR
  • 30: DISTORTED_GUITAR, DGUITAR, DIST_GUITAR
  • 31: GUITAR_HARMONICS, GT_HARMONICS, HARMONICS
  • 32: ACOUSTIC_BASS, ABASS
  • 33: FINGERED_BASS, BASS, FBASS, ELECTRIC_BASS, EL_BASS, EBASS
  • 34: PICKED_BASS, PBASS
  • 35: FRETLESS_BASS, FRETLESS
  • 36: SLAP_BASS, SBASS, SLAP
  • 38: SYNTH_BASS 
  • 40: VIOLIN
  • 41: VIOLA
  • 42: CELLO, VIOLIN_CELLO
  • 43: CONTRABASS, CONTRA_BASS, DOUBLE_BASS
  • 44: TREMOLO_STRINGS, TREMOLO
  • 45: PIZZICATO_STRINGS, PIZZ, PITZ, PSTRINGS
  • 46: HARP
  • 47: TIMPANI, TIMP
  • 48: STRINGS, STR
  • 51: SLOW_STRINGS
  • 50: SYNTH_STRINGS, SYN_STRINGS
  • 52: AAH, AHHS, CHOIR
  • 53: OOH, OOHS, VOICE
  • 54: SYNVOX, VOX
  • 55: ORCHESTRA_HIT
  • 56: TRUMPET
  • 57: TROMBONE
  • 58: TUBA
  • 59: MUTED_TRUMPET
  • 60: FRENCH_HORN, HORN
  • 61: BRASS
  • 62: SYNTH_BRASS
  • 64: SOPRANO_SAX, SOPRANO, SOPRANO_SAXOPHONE, SOP
  • 65: ALTO_SAX, ALTO, ALTO_SAXOPHONE
  • 66: TENOR_SAX, TENOR, TENOR_SAXOPHONE, SAX, SAXOPHONE
  • 67: BARITONE_SAX, BARI, BARI_SAX, BARITONE, BARITONE_SAXOPHONE
  • 68: OBOE
  • 69: ENGLISH_HORN
  • 70: BASSOON
  • 71: CLARINET, CLAR
  • 72: PICCOLO, PIC, PICC
  • 73: FLUTE
  • 74: RECORDER
  • 75: PAN_FLUTE, PANFLUTE
  • 76: BOTTLE_BLOW, BOTTLE
  • 77: SHAKUHACHI
  • 78: WHISTLE
  • 79: OCARINA
  • 80: SQUARE_WAVE, SQUARE
  • 81: SAW_WAVE, SAW, SAWTOOTH
  • 81: SYNTH_CALLIOPE, CALLOPE, SYN_CALLIOPE
  • 83: CHIFFER_LEAD, CHIFFER
  • 84: CHARANG
  • 85: SOLO_VOX
  • 88: FANTASIA
  • 89: WARM_PAD, PAD
  • 90: POLYSYNTH, POLY_SYNTH
  • 91: SPACE_VOICE
  • 92: BOWED_GLASS
  • 93: METAL_PAD
  • 94: HALO_PAD, HALO
  • 95: SWEEP_PAD, SWEEP
  • 96: ICE_RAIN, ICERAIN
  • 97: SOUNDTRACK
  • 98: CRYSTAL
  • 99: ATMOSPHERE
  • 100: BRIGHTNESS
  • 101: GOBLIN
  • 102: ECHO_DROPS, DROPS, ECHOS, ECHO, ECHO_DROP
  • 103: STAR_THEME
  • 104: SITAR
  • 105: BANJO
  • 106: SHAMISEN
  • 107: KOTO
  • 108: KALIMBA, THUMB_PIANO
  • 109: BAGPIPES, BAG_PIPES, BAGPIPE, PIPES
  • 110: FIDDLE
  • 111: SHANNAI
  • 112: TINKLE_BELL, BELL, BELLS
  • 113: AGOGO
  • 114: STEEL_DRUMS, STEELDRUMS, STEELDRUM, STEEL_DRUM
  • 115: WOODBLOCK, WOODBLOCKS
  • 116: TAIKO, DRUM
  • 118: SYNTH_DRUM, SYNTH_DRUMS
  • 119: TOM, TOMS, TOM_TOM, TOM_TOMS, REVERSE_CYMBAL, CYMBAL
  • 120: FRETNOISE, FRET, FRETS
  • 121: BREATHNOISE, BREATH
  • 122: SEASHORE, SEA, RAIN, THUNDER, WIND, STREAM, SFX, SOUNDEFFECTS, SOUNDFX
  • 123: BIRD
  • 124: TELEPHONE, PHONE
  • 125: HELICOPTER
  • 126: APPLAUSE



 

jMusic Australia Council Queensland University of Technology Sitemap Contact Home Home http://www.qut.com http://explodingart.com/jmusic http://www.ozco.gov.au

Digital Instrument making Home