net.charlesames.music.midi
Enum GeneralMidiProgram

java.lang.Object
  extended by java.lang.Enum<GeneralMidiProgram>
      extended by net.charlesames.music.midi.GeneralMidiProgram
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<GeneralMidiProgram>

public enum GeneralMidiProgram
extends java.lang.Enum<GeneralMidiProgram>

General MIDI Program Definitions

Author:
Charles Ames

Enum Constant Summary
ACCORDIAN
           
ACCORDIAN_TANGO
           
AGOGO
           
APPLAUSE
           
BAGPIPE
           
BANJO
           
BASS_ACOUSTIC
           
BASS_ELECTRIC_FINGER
           
BASS_ELECTRIC_PICK
           
BASS_FRETLESS
           
BASS_SLAP1
           
BASS_SLAP2
           
BASS_SYNTH1
           
BASS_SYNTH2
           
BASSOON
           
BIRD_TWEET
           
BLOWN_BOTTLE
           
BRASS_SECTION
           
BRASS_SYNTH1
           
BRASS_SYNTH2
           
BREATH
           
CELESTA
           
CELLO
           
CLARINET
           
CLAVINET
           
CONTRABASS
           
CYMBAL_REVERSE
           
DULCIMER
           
ENGLISH_HORN
           
FIDDLE
           
FLUTE
           
FRENCH_HORN
           
FX_ATMOSPHERE
           
FX_BRIGHTNESS
           
FX_CRYSTAL
           
FX_ECHOES
           
FX_GOBLINS
           
FX_RAIN
           
FX_SCI_FI
           
FX_SOUNDTRACK
           
GLOCKENSPIEL
           
GUITAR_ACOUSTIC_NYLON
           
GUITAR_ACOUSTIC_STEEL
           
GUITAR_DISTORTION
           
GUITAR_ELECTRIC_CLEAN
           
GUITAR_ELECTRIC_JAZZ
           
GUITAR_ELECTRIC_MUTED
           
GUITAR_FRET_NOISE
           
GUITAR_HARMONICS
           
GUITAR_OVERDRIVEN
           
GUNSHOT
           
HARMONICA
           
HARP
           
HARPSICHORD
           
HELICOPTER
           
KALIMBA
           
KOTO
           
MARIMBA
           
MELODIC_TOM
           
MUSIC_BOX
           
OBOE
           
OCARINA
           
ORCHESTRAL_HIT
           
ORGAN_CHURCH
           
ORGAN_DRAWBAR
           
ORGAN_PERCUSSIVE
           
ORGAN_REED
           
ORGAN_ROCK
           
PAN_FLUTE
           
PIANO_ACOUSTIC_GRAND
           
PIANO_BRIGHT_ACOUSTIC
           
PIANO_ELECTRIC_GRAND
           
PIANO_ELECTRIC1
           
PIANO_ELECTRIC2
           
PIANO_HONKY_TONK
           
PICCOLO
           
RECORDER
           
SAX_ALTO
           
SAX_BARITONE
           
SAX_SOPRANO
           
SAX_TENOR
           
SEASHORE
           
SHAKUHACHI
           
SHAMISEN
           
SHANAI
           
SITAR
           
STEEL_DRUM
           
STRINGS_ENSEMBLE1
           
STRINGS_ENSEMBLE2
           
STRINGS_PIZZICATO
           
STRINGS_SYNTH1
           
STRINGS_SYNTH2
           
STRINGS_TREMOLO
           
SYNTH_DRUM
           
SYNTH_LEAD_BASS_AND_LEAD
           
SYNTH_LEAD_CALLIOPE
           
SYNTH_LEAD_CHARANG
           
SYNTH_LEAD_CHIFF
           
SYNTH_LEAD_FIFTHS
           
SYNTH_LEAD_SAWTOOTH
           
SYNTH_LEAD_SQUARE
           
SYNTH_LEAD_VOICE
           
SYNTH_PAD_BOWED
           
SYNTH_PAD_CHOIR
           
SYNTH_PAD_HALO
           
SYNTH_PAD_METALLIC
           
SYNTH_PAD_NEW_AGE
           
SYNTH_PAD_POLYSYNTH
           
SYNTH_PAD_SWEEP
           
SYNTH_PAD_WARM
           
TAIKO_DRUM
           
TELEPHONE
           
TIMPANI
           
TINKLE_BELL
           
TROMBONE
           
TRUMPET
           
TRUMPET_MUTED
           
TUBA
           
TUBULAR_BELLS
           
VIBRAPHONE
           
VIOLA
           
VIOLIN
           
VOICE_AAH
           
VOICE_OOH
           
VOICE_SYNTH
           
WHISTLE
           
WOODBLOCK
           
XYLOPHONE
           
 
Method Summary
 java.lang.String getDescription()
          Getter for Description property.
 int value()
          Gets the numeric program value.
static GeneralMidiProgram valueOf(int arg0)
          Get the GeneralMidiProgram with the indicated program value.
static GeneralMidiProgram valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static GeneralMidiProgram[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

PIANO_ACOUSTIC_GRAND

public static final GeneralMidiProgram PIANO_ACOUSTIC_GRAND

PIANO_BRIGHT_ACOUSTIC

public static final GeneralMidiProgram PIANO_BRIGHT_ACOUSTIC

PIANO_ELECTRIC_GRAND

public static final GeneralMidiProgram PIANO_ELECTRIC_GRAND

PIANO_HONKY_TONK

public static final GeneralMidiProgram PIANO_HONKY_TONK

PIANO_ELECTRIC1

public static final GeneralMidiProgram PIANO_ELECTRIC1

PIANO_ELECTRIC2

public static final GeneralMidiProgram PIANO_ELECTRIC2

HARPSICHORD

public static final GeneralMidiProgram HARPSICHORD

CLAVINET

public static final GeneralMidiProgram CLAVINET

CELESTA

public static final GeneralMidiProgram CELESTA

GLOCKENSPIEL

public static final GeneralMidiProgram GLOCKENSPIEL

MUSIC_BOX

public static final GeneralMidiProgram MUSIC_BOX

VIBRAPHONE

public static final GeneralMidiProgram VIBRAPHONE

MARIMBA

public static final GeneralMidiProgram MARIMBA

XYLOPHONE

public static final GeneralMidiProgram XYLOPHONE

TUBULAR_BELLS

public static final GeneralMidiProgram TUBULAR_BELLS

DULCIMER

public static final GeneralMidiProgram DULCIMER

ORGAN_DRAWBAR

public static final GeneralMidiProgram ORGAN_DRAWBAR

ORGAN_PERCUSSIVE

public static final GeneralMidiProgram ORGAN_PERCUSSIVE

ORGAN_ROCK

public static final GeneralMidiProgram ORGAN_ROCK

ORGAN_CHURCH

public static final GeneralMidiProgram ORGAN_CHURCH

ORGAN_REED

public static final GeneralMidiProgram ORGAN_REED

ACCORDIAN

public static final GeneralMidiProgram ACCORDIAN

HARMONICA

public static final GeneralMidiProgram HARMONICA

ACCORDIAN_TANGO

public static final GeneralMidiProgram ACCORDIAN_TANGO

GUITAR_ACOUSTIC_NYLON

public static final GeneralMidiProgram GUITAR_ACOUSTIC_NYLON

GUITAR_ACOUSTIC_STEEL

public static final GeneralMidiProgram GUITAR_ACOUSTIC_STEEL

GUITAR_ELECTRIC_JAZZ

public static final GeneralMidiProgram GUITAR_ELECTRIC_JAZZ

GUITAR_ELECTRIC_CLEAN

public static final GeneralMidiProgram GUITAR_ELECTRIC_CLEAN

GUITAR_ELECTRIC_MUTED

public static final GeneralMidiProgram GUITAR_ELECTRIC_MUTED

GUITAR_OVERDRIVEN

public static final GeneralMidiProgram GUITAR_OVERDRIVEN

GUITAR_DISTORTION

public static final GeneralMidiProgram GUITAR_DISTORTION

GUITAR_HARMONICS

public static final GeneralMidiProgram GUITAR_HARMONICS

BASS_ACOUSTIC

public static final GeneralMidiProgram BASS_ACOUSTIC

BASS_ELECTRIC_FINGER

public static final GeneralMidiProgram BASS_ELECTRIC_FINGER

BASS_ELECTRIC_PICK

public static final GeneralMidiProgram BASS_ELECTRIC_PICK

BASS_FRETLESS

public static final GeneralMidiProgram BASS_FRETLESS

BASS_SLAP1

public static final GeneralMidiProgram BASS_SLAP1

BASS_SLAP2

public static final GeneralMidiProgram BASS_SLAP2

BASS_SYNTH1

public static final GeneralMidiProgram BASS_SYNTH1

BASS_SYNTH2

public static final GeneralMidiProgram BASS_SYNTH2

VIOLIN

public static final GeneralMidiProgram VIOLIN

VIOLA

public static final GeneralMidiProgram VIOLA

CELLO

public static final GeneralMidiProgram CELLO

CONTRABASS

public static final GeneralMidiProgram CONTRABASS

STRINGS_TREMOLO

public static final GeneralMidiProgram STRINGS_TREMOLO

STRINGS_PIZZICATO

public static final GeneralMidiProgram STRINGS_PIZZICATO

HARP

public static final GeneralMidiProgram HARP

TIMPANI

public static final GeneralMidiProgram TIMPANI

STRINGS_ENSEMBLE1

public static final GeneralMidiProgram STRINGS_ENSEMBLE1

STRINGS_ENSEMBLE2

public static final GeneralMidiProgram STRINGS_ENSEMBLE2

STRINGS_SYNTH1

public static final GeneralMidiProgram STRINGS_SYNTH1

STRINGS_SYNTH2

public static final GeneralMidiProgram STRINGS_SYNTH2

VOICE_AAH

public static final GeneralMidiProgram VOICE_AAH

VOICE_OOH

public static final GeneralMidiProgram VOICE_OOH

VOICE_SYNTH

public static final GeneralMidiProgram VOICE_SYNTH

ORCHESTRAL_HIT

public static final GeneralMidiProgram ORCHESTRAL_HIT

TRUMPET

public static final GeneralMidiProgram TRUMPET

TROMBONE

public static final GeneralMidiProgram TROMBONE

TUBA

public static final GeneralMidiProgram TUBA

TRUMPET_MUTED

public static final GeneralMidiProgram TRUMPET_MUTED

FRENCH_HORN

public static final GeneralMidiProgram FRENCH_HORN

BRASS_SECTION

public static final GeneralMidiProgram BRASS_SECTION

BRASS_SYNTH1

public static final GeneralMidiProgram BRASS_SYNTH1

BRASS_SYNTH2

public static final GeneralMidiProgram BRASS_SYNTH2

SAX_SOPRANO

public static final GeneralMidiProgram SAX_SOPRANO

SAX_ALTO

public static final GeneralMidiProgram SAX_ALTO

SAX_TENOR

public static final GeneralMidiProgram SAX_TENOR

SAX_BARITONE

public static final GeneralMidiProgram SAX_BARITONE

OBOE

public static final GeneralMidiProgram OBOE

ENGLISH_HORN

public static final GeneralMidiProgram ENGLISH_HORN

BASSOON

public static final GeneralMidiProgram BASSOON

CLARINET

public static final GeneralMidiProgram CLARINET

PICCOLO

public static final GeneralMidiProgram PICCOLO

FLUTE

public static final GeneralMidiProgram FLUTE

RECORDER

public static final GeneralMidiProgram RECORDER

PAN_FLUTE

public static final GeneralMidiProgram PAN_FLUTE

BLOWN_BOTTLE

public static final GeneralMidiProgram BLOWN_BOTTLE

SHAKUHACHI

public static final GeneralMidiProgram SHAKUHACHI

WHISTLE

public static final GeneralMidiProgram WHISTLE

OCARINA

public static final GeneralMidiProgram OCARINA

SYNTH_LEAD_SQUARE

public static final GeneralMidiProgram SYNTH_LEAD_SQUARE

SYNTH_LEAD_SAWTOOTH

public static final GeneralMidiProgram SYNTH_LEAD_SAWTOOTH

SYNTH_LEAD_CALLIOPE

public static final GeneralMidiProgram SYNTH_LEAD_CALLIOPE

SYNTH_LEAD_CHIFF

public static final GeneralMidiProgram SYNTH_LEAD_CHIFF

SYNTH_LEAD_CHARANG

public static final GeneralMidiProgram SYNTH_LEAD_CHARANG

SYNTH_LEAD_VOICE

public static final GeneralMidiProgram SYNTH_LEAD_VOICE

SYNTH_LEAD_FIFTHS

public static final GeneralMidiProgram SYNTH_LEAD_FIFTHS

SYNTH_LEAD_BASS_AND_LEAD

public static final GeneralMidiProgram SYNTH_LEAD_BASS_AND_LEAD

SYNTH_PAD_NEW_AGE

public static final GeneralMidiProgram SYNTH_PAD_NEW_AGE

SYNTH_PAD_WARM

public static final GeneralMidiProgram SYNTH_PAD_WARM

SYNTH_PAD_POLYSYNTH

public static final GeneralMidiProgram SYNTH_PAD_POLYSYNTH

SYNTH_PAD_CHOIR

public static final GeneralMidiProgram SYNTH_PAD_CHOIR

SYNTH_PAD_BOWED

public static final GeneralMidiProgram SYNTH_PAD_BOWED

SYNTH_PAD_METALLIC

public static final GeneralMidiProgram SYNTH_PAD_METALLIC

SYNTH_PAD_HALO

public static final GeneralMidiProgram SYNTH_PAD_HALO

SYNTH_PAD_SWEEP

public static final GeneralMidiProgram SYNTH_PAD_SWEEP

FX_RAIN

public static final GeneralMidiProgram FX_RAIN

FX_SOUNDTRACK

public static final GeneralMidiProgram FX_SOUNDTRACK

FX_CRYSTAL

public static final GeneralMidiProgram FX_CRYSTAL

FX_ATMOSPHERE

public static final GeneralMidiProgram FX_ATMOSPHERE

FX_BRIGHTNESS

public static final GeneralMidiProgram FX_BRIGHTNESS

FX_GOBLINS

public static final GeneralMidiProgram FX_GOBLINS

FX_ECHOES

public static final GeneralMidiProgram FX_ECHOES

FX_SCI_FI

public static final GeneralMidiProgram FX_SCI_FI

SITAR

public static final GeneralMidiProgram SITAR

BANJO

public static final GeneralMidiProgram BANJO

SHAMISEN

public static final GeneralMidiProgram SHAMISEN

KOTO

public static final GeneralMidiProgram KOTO

KALIMBA

public static final GeneralMidiProgram KALIMBA

BAGPIPE

public static final GeneralMidiProgram BAGPIPE

FIDDLE

public static final GeneralMidiProgram FIDDLE

SHANAI

public static final GeneralMidiProgram SHANAI

TINKLE_BELL

public static final GeneralMidiProgram TINKLE_BELL

AGOGO

public static final GeneralMidiProgram AGOGO

STEEL_DRUM

public static final GeneralMidiProgram STEEL_DRUM

WOODBLOCK

public static final GeneralMidiProgram WOODBLOCK

TAIKO_DRUM

public static final GeneralMidiProgram TAIKO_DRUM

MELODIC_TOM

public static final GeneralMidiProgram MELODIC_TOM

SYNTH_DRUM

public static final GeneralMidiProgram SYNTH_DRUM

CYMBAL_REVERSE

public static final GeneralMidiProgram CYMBAL_REVERSE

GUITAR_FRET_NOISE

public static final GeneralMidiProgram GUITAR_FRET_NOISE

BREATH

public static final GeneralMidiProgram BREATH

SEASHORE

public static final GeneralMidiProgram SEASHORE

BIRD_TWEET

public static final GeneralMidiProgram BIRD_TWEET

TELEPHONE

public static final GeneralMidiProgram TELEPHONE

HELICOPTER

public static final GeneralMidiProgram HELICOPTER

APPLAUSE

public static final GeneralMidiProgram APPLAUSE

GUNSHOT

public static final GeneralMidiProgram GUNSHOT
Method Detail

values

public static GeneralMidiProgram[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (GeneralMidiProgram c : GeneralMidiProgram.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static GeneralMidiProgram valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getDescription

public java.lang.String getDescription()
Getter for Description property.

Returns:
The program description.

valueOf

public static GeneralMidiProgram valueOf(int arg0)
Get the GeneralMidiProgram with the indicated program value.

Parameters:
arg0 - The indicated program value.
Returns:
A GeneralMidiProgram instance.
Throws:
java.lang.IllegalArgumentException - when no GeneralMidiProgram instance has the indicated program value.

value

public int value()
Gets the numeric program value.

Returns:
The numeric program value. Ranges from 1 to 128.