|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.org.toot.midi.misc.Controller
public class Controller
Provides Midi Controller information parameterized by controller number without knowledge of the resolution of the controller. Although controller numbers inherently refer to 7 bit values, with some controllers used as pairs resulting in 14 bit balues, we hide this implementation detail. If a specified controller number is part of a 14 bit controller we return information appropriate to the whole 14 bits.
Field Summary | |
---|---|
static int |
ALL_CONTROLLERS_OFF
|
static int |
ALL_NOTES_OFF
|
static int |
ALL_SOUND_OFF
|
static int |
ATTACK
|
static int |
BALANCE
|
static int |
BANK_SELECT
|
static int |
BREATH
|
static int |
BRIGHTNESS
|
static int |
CHANNEL_PRESSURE_PSEUDO
|
static int |
CHORUS
|
static int |
CONTROLLER_3
|
static int |
CONTROLLER_9
|
static int |
DATA_DECREMENT
|
static int |
DATA_ENTRY
|
static int |
DATA_INCREMENT
|
static int |
DETUNE
|
static int[] |
EFFECTS_CONTROLLERS
|
static int |
EXPRESSION
|
static int |
EXTERNAL_FX
|
static int |
FOOT
|
static int |
FX_1
|
static int |
FX_2
|
static int |
HOLD_2_PEDAL
|
static int |
HOLD_PEDAL
|
static int |
LEGATO
|
static int |
LOCAL_CONTROL
|
static int[] |
MIXER_CONTROLLERS
|
static int |
MODULATION
|
static int |
MONO_MODE
|
static int[] |
NO_CONTROLLERS
|
static int |
NON_REGISTERED_COARSE
|
static int |
NON_REGISTERED_FINE
|
static int |
OMNI_MODE_OFF
|
static int |
OMNI_MODE_ON
|
static int |
PAN
|
static int[] |
PERFORMANCE_CONTROLLERS
|
static int |
PHASER
|
static int |
PITCH_BEND_PSEUDO
|
static int |
POLY_MODE
|
static int |
POLY_PRESSURE_PSEUDO
|
static int |
PORTAMENTO
|
static int |
PORTAMENTO_SWITCH
|
static int |
PROGRAM_PSEUDO
|
static int |
REGISTERED_COARSE
|
static int |
REGISTERED_FINE
|
static int |
RELEASE
|
static int |
SOFT_PEDAL
|
static int[] |
SOUND_CONTROLLERS
|
static int |
SUSTENUTO_PEDAL
|
static int[] |
SWITCH_CONTROLLERS
|
static int |
SWITCHES
|
static int |
TIMBRE
|
static int |
TREMELO
|
static int[] |
UNDEFINED_CONTROLLERS
|
static int |
VARIATION
|
static int |
VOLUME
|
Constructor Summary | |
---|---|
Controller()
|
Method Summary | |
---|---|
static java.lang.String[] |
getCategories()
|
static int[] |
getControllers(java.lang.String category)
|
static int |
getDefault(int controller)
Get the default value for the specified controller. |
static int |
getMaximum(int controller)
Get the maximum value for the specified controller. |
static int |
getMinimum(int controller)
Get the minimum value for the specified controller. |
static int |
getOffset(int controller)
Get the offset value for the specified controller. |
static int |
getOrientation(int controller)
|
static boolean |
is7bit(int controller)
Determine whether the specified controller is just 7 bit (not half of 14 bit) |
static java.lang.String |
propertyName(int controller)
Determine the property name for the specified controller. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int BANK_SELECT
public static final int MODULATION
public static final int BREATH
public static final int CONTROLLER_3
public static final int FOOT
public static final int PORTAMENTO
public static final int DATA_ENTRY
public static final int VOLUME
public static final int BALANCE
public static final int CONTROLLER_9
public static final int PAN
public static final int EXPRESSION
public static final int FX_1
public static final int FX_2
public static final int HOLD_PEDAL
public static final int PORTAMENTO_SWITCH
public static final int SUSTENUTO_PEDAL
public static final int SOFT_PEDAL
public static final int LEGATO
public static final int HOLD_2_PEDAL
public static final int VARIATION
public static final int TIMBRE
public static final int RELEASE
public static final int ATTACK
public static final int BRIGHTNESS
public static final int EXTERNAL_FX
public static final int TREMELO
public static final int CHORUS
public static final int DETUNE
public static final int PHASER
public static final int DATA_INCREMENT
public static final int DATA_DECREMENT
public static final int NON_REGISTERED_FINE
public static final int NON_REGISTERED_COARSE
public static final int REGISTERED_FINE
public static final int REGISTERED_COARSE
public static final int ALL_SOUND_OFF
public static final int ALL_CONTROLLERS_OFF
public static final int LOCAL_CONTROL
public static final int ALL_NOTES_OFF
public static final int OMNI_MODE_OFF
public static final int OMNI_MODE_ON
public static final int MONO_MODE
public static final int POLY_MODE
public static final int SWITCHES
public static final int PITCH_BEND_PSEUDO
public static final int POLY_PRESSURE_PSEUDO
public static final int CHANNEL_PRESSURE_PSEUDO
public static final int PROGRAM_PSEUDO
public static final int[] PERFORMANCE_CONTROLLERS
public static final int[] SOUND_CONTROLLERS
public static final int[] MIXER_CONTROLLERS
public static final int[] EFFECTS_CONTROLLERS
public static final int[] UNDEFINED_CONTROLLERS
public static final int[] NO_CONTROLLERS
public static final int[] SWITCH_CONTROLLERS
Constructor Detail |
---|
public Controller()
Method Detail |
---|
public static java.lang.String[] getCategories()
public static int[] getControllers(java.lang.String category)
public static java.lang.String propertyName(int controller)
controller
- the controller index
public static boolean is7bit(int controller)
controller
- the controller index
public static int getMinimum(int controller)
controller
- the controller index
public static int getMaximum(int controller)
controller
- the controller index
public static int getDefault(int controller)
controller
- the controller index
public static int getOffset(int controller)
controller
- the controller index
public static int getOrientation(int controller)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |