net.charlesames.music.midi
Enum MidiController

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

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

MIDI Controller Definitions

Author:
Charles Ames

Enum Constant Summary
ALL_CONTROLLERS_OFF
           
ALL_NOTES_OFF
           
ALL_SOUND_OFF
           
BALANCE_COARSE
           
BALANCE_FINE
           
BANK_SELECT_COARSE
           
BANK_SELECT_FINE
           
BREATH_CONTROLLER_COARSE
           
BREATH_CONTROLLER_FINE
           
BUTTON_1
           
BUTTON_2
           
BUTTON_3
           
BUTTON_4
           
CELESTE_LEVEL
           
CHORUS_LEVEL
           
DATA_BUTTON_DECREMENT
           
DATA_BUTTON_INCREMENT
           
DATA_ENTRY_COARSE
           
DATA_ENTRY_FINE
           
EFFECT_CONTROL_1_COARSE
           
EFFECT_CONTROL_1_FINE
           
EFFECT_CONTROL_2_COARSE
           
EFFECT_CONTROL_2_FINE
           
EFFECTS_LEVEL
           
EXPRESSION_COARSE
           
EXPRESSION_FINE
           
FOOT_PEDAL_COARSE
           
FOOT_PEDAL_FINE
           
HOLD_2_PEDAL
           
HOLD_PEDAL
           
LEGATO_PEDAL
           
LOCAL_KEYBOARD
           
MODULATION_WHEEL_COARSE
           
MODULATION_WHEEL_FINE
           
MONO_OPERATION
           
NON_REGISTERED_PARAMETER_COURSE
           
NON_REGISTERED_PARAMETER_FINE
           
OMNI_MODE_OFF
           
OMNI_MODE_ON
           
PAN_POSITION_COARSE
           
PAN_POSITION_FINE
           
PHASER_LEVEL
           
POLY_OPERATION
           
PORTAMENTO
           
PORTAMENTO_TIME_COARSE
           
PORTAMENTO_TIME_FINE
           
REGISTERED_PARAMETER_COARSE
           
REGISTERED_PARAMETER_FINE
           
SLIDER_1
           
SLIDER_2
           
SLIDER_3
           
SLIDER_4
           
SOFT_PEDAL
           
SOUND_ATTACK_TIME
           
SOUND_BRIGHTNESS
           
SOUND_CONTROL_10
           
SOUND_CONTROL_6
           
SOUND_CONTROL_7
           
SOUND_CONTROL_8
           
SOUND_CONTROL_9
           
SOUND_RELEASE_TIME
           
SOUND_TIMBRE
           
SOUND_VARIATION
           
SUSTENUTO_PEDAL
           
TREMULO_LEVEL
           
VOLUME_COARSE
           
VOLUME_FINE
           
 
Method Summary
 java.lang.String getDescription()
          Get MIDI controller description.
 int value()
          Get MIDI controller value
static MidiController valueOf(int value)
          Gets the MidiController instance associated with the indicated value.
static MidiController valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static MidiController[] 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

BANK_SELECT_COARSE

public static final MidiController BANK_SELECT_COARSE

MODULATION_WHEEL_COARSE

public static final MidiController MODULATION_WHEEL_COARSE

BREATH_CONTROLLER_COARSE

public static final MidiController BREATH_CONTROLLER_COARSE

FOOT_PEDAL_COARSE

public static final MidiController FOOT_PEDAL_COARSE

PORTAMENTO_TIME_COARSE

public static final MidiController PORTAMENTO_TIME_COARSE

DATA_ENTRY_COARSE

public static final MidiController DATA_ENTRY_COARSE

VOLUME_COARSE

public static final MidiController VOLUME_COARSE

BALANCE_COARSE

public static final MidiController BALANCE_COARSE

PAN_POSITION_COARSE

public static final MidiController PAN_POSITION_COARSE

EXPRESSION_COARSE

public static final MidiController EXPRESSION_COARSE

EFFECT_CONTROL_1_COARSE

public static final MidiController EFFECT_CONTROL_1_COARSE

EFFECT_CONTROL_2_COARSE

public static final MidiController EFFECT_CONTROL_2_COARSE

SLIDER_1

public static final MidiController SLIDER_1

SLIDER_2

public static final MidiController SLIDER_2

SLIDER_3

public static final MidiController SLIDER_3

SLIDER_4

public static final MidiController SLIDER_4

BANK_SELECT_FINE

public static final MidiController BANK_SELECT_FINE

MODULATION_WHEEL_FINE

public static final MidiController MODULATION_WHEEL_FINE

BREATH_CONTROLLER_FINE

public static final MidiController BREATH_CONTROLLER_FINE

FOOT_PEDAL_FINE

public static final MidiController FOOT_PEDAL_FINE

PORTAMENTO_TIME_FINE

public static final MidiController PORTAMENTO_TIME_FINE

DATA_ENTRY_FINE

public static final MidiController DATA_ENTRY_FINE

VOLUME_FINE

public static final MidiController VOLUME_FINE

BALANCE_FINE

public static final MidiController BALANCE_FINE

PAN_POSITION_FINE

public static final MidiController PAN_POSITION_FINE

EXPRESSION_FINE

public static final MidiController EXPRESSION_FINE

EFFECT_CONTROL_1_FINE

public static final MidiController EFFECT_CONTROL_1_FINE

EFFECT_CONTROL_2_FINE

public static final MidiController EFFECT_CONTROL_2_FINE

HOLD_PEDAL

public static final MidiController HOLD_PEDAL

PORTAMENTO

public static final MidiController PORTAMENTO

SUSTENUTO_PEDAL

public static final MidiController SUSTENUTO_PEDAL

SOFT_PEDAL

public static final MidiController SOFT_PEDAL

LEGATO_PEDAL

public static final MidiController LEGATO_PEDAL

HOLD_2_PEDAL

public static final MidiController HOLD_2_PEDAL

SOUND_VARIATION

public static final MidiController SOUND_VARIATION

SOUND_TIMBRE

public static final MidiController SOUND_TIMBRE

SOUND_RELEASE_TIME

public static final MidiController SOUND_RELEASE_TIME

SOUND_ATTACK_TIME

public static final MidiController SOUND_ATTACK_TIME

SOUND_BRIGHTNESS

public static final MidiController SOUND_BRIGHTNESS

SOUND_CONTROL_6

public static final MidiController SOUND_CONTROL_6

SOUND_CONTROL_7

public static final MidiController SOUND_CONTROL_7

SOUND_CONTROL_8

public static final MidiController SOUND_CONTROL_8

SOUND_CONTROL_9

public static final MidiController SOUND_CONTROL_9

SOUND_CONTROL_10

public static final MidiController SOUND_CONTROL_10

BUTTON_1

public static final MidiController BUTTON_1

BUTTON_2

public static final MidiController BUTTON_2

BUTTON_3

public static final MidiController BUTTON_3

BUTTON_4

public static final MidiController BUTTON_4

EFFECTS_LEVEL

public static final MidiController EFFECTS_LEVEL

TREMULO_LEVEL

public static final MidiController TREMULO_LEVEL

CHORUS_LEVEL

public static final MidiController CHORUS_LEVEL

CELESTE_LEVEL

public static final MidiController CELESTE_LEVEL

PHASER_LEVEL

public static final MidiController PHASER_LEVEL

DATA_BUTTON_INCREMENT

public static final MidiController DATA_BUTTON_INCREMENT

DATA_BUTTON_DECREMENT

public static final MidiController DATA_BUTTON_DECREMENT

NON_REGISTERED_PARAMETER_COURSE

public static final MidiController NON_REGISTERED_PARAMETER_COURSE

NON_REGISTERED_PARAMETER_FINE

public static final MidiController NON_REGISTERED_PARAMETER_FINE

REGISTERED_PARAMETER_COARSE

public static final MidiController REGISTERED_PARAMETER_COARSE

REGISTERED_PARAMETER_FINE

public static final MidiController REGISTERED_PARAMETER_FINE

ALL_SOUND_OFF

public static final MidiController ALL_SOUND_OFF

ALL_CONTROLLERS_OFF

public static final MidiController ALL_CONTROLLERS_OFF

LOCAL_KEYBOARD

public static final MidiController LOCAL_KEYBOARD

ALL_NOTES_OFF

public static final MidiController ALL_NOTES_OFF

OMNI_MODE_OFF

public static final MidiController OMNI_MODE_OFF

OMNI_MODE_ON

public static final MidiController OMNI_MODE_ON

MONO_OPERATION

public static final MidiController MONO_OPERATION

POLY_OPERATION

public static final MidiController POLY_OPERATION
Method Detail

values

public static MidiController[] 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 (MidiController c : MidiController.values())
    System.out.println(c);

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

valueOf

public static MidiController 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()
Get MIDI controller description.

Returns:
The MIDI controller description.

value

public int value()
Get MIDI controller value

Returns:
The MIDI controller value.

valueOf

public static MidiController valueOf(int value)
Gets the MidiController instance associated with the indicated value.

Parameters:
value - The indicated value. Ranges from 0 to 127.
Returns:
The MidiController instance associated with the indicated value.