Previous Next Package
Class MIDICompose.ControlChange
java.lang.Object
|
+----MIDICompose.MIDIObject
|
+----MIDICompose.MIDIEvent
|
+----MIDICompose.VoiceEvent
|
+----MIDICompose.ControlChange
- public class ControlChange
- extends VoiceEvent
- implements Channelable, Amountable
-
MIN
- Minimal amount (0).
-
MAX
- Maximal amount (127).
-
CENTER
- Center amount (64).
-
ZERO
- Zero (=no effect) amount (MIN, MAX or CENTER depending on controller).
-
ALL_CONTROLLERS_OFF
-
-
ALL_NOTES_OFF
-
-
ALL_SOUND_OFF
-
-
BALANCE
-
-
BANK_SELECT
-
-
BREATH
- Same as BREATH_CONTROLLER.
-
BREATH_CONTROLLER
-
-
CELESTE_LEVEL
-
-
CHORUS_LEVEL
-
-
DATA_BUTTON_DECREMENT
-
-
DATA_BUTTON_INCREMENT
-
-
DATA_ENTRY
-
-
EFFECT1
-
-
EFFECT2
-
-
EFFECT_CONTROL_1
-
-
EFFECT_CONTROL_2
-
-
EFFECTS_LEVEL
-
-
EXPRESSION
-
-
FOOT_PEDAL
-
-
GENERAL_PURPOSE_BUTTON_1
-
-
GENERAL_PURPOSE_BUTTON_2
-
-
GENERAL_PURPOSE_BUTTON_3
-
-
GENERAL_PURPOSE_BUTTON_4
-
-
GENERAL_PURPOSE_SLIDER_1
-
-
GENERAL_PURPOSE_SLIDER_2
-
-
GENERAL_PURPOSE_SLIDER_3
-
-
GENERAL_PURPOSE_SLIDER_4
-
-
HOLD_PEDAL
-
-
HOLD_2_PEDAL
-
-
LEGATO_PEDAL
-
-
LOCAL_KEYBOARD
-
-
MODULATION
- Same as MODULATION_WHEEL.
-
MODULATION_WHEEL
-
-
MONO_OPERATION
-
-
NON_REGISTERED_PARAMETER
-
-
OMNI_MODE_OFF
-
-
OMNI_MODE_ON
-
-
PAN
- Same as PAN_POSITION.
-
PAN_POSITION
-
-
PHASER_LEVEL
-
-
POLY_OPERATION
-
-
PORTAMENTO
-
-
PORTAMENTO_TIME
-
-
REGISTERED_PARAMETER
-
-
SOFT_PEDAL
-
-
SOUND_ATTACK_TIME
-
-
SOUND_BRIGHTNESS
-
-
SOUND_CONTROL_6
-
-
SOUND_CONTROL_7
-
-
SOUND_CONTROL_8
-
-
SOUND_CONTROL_9
-
-
SOUND_CONTROL_10
-
-
SOUND_RELEASE_TIME
-
-
SOUND_TIMBRE
-
-
SOUND_VARIATION
-
-
SUSTENUTO_PEDAL
-
-
TREMULO_LEVEL
-
-
VOLUME
-
-
ControlChange(int, int)
- Creates new ControlChange with controller and amount.
-
ControlChange(int, int, int, int)
- Creates new ControlChange with deltaTime, channel, controller and amount.
All methods from interfaces are implemented, but not listed here!
-
controller()
- Returns current controller.
-
setController(int)
- Sets controller.
ControlChange
public ControlChange(int controller,
int amount)
- Creates a new ControlChange.
- Parameters:
- controller - any int between 0 and 127.
- amount - any int between MIN and MAX.
ControlChange
public ControlChange(int deltaTime,
int channel,
int controller,
int amount)
- Creates a new ControlChange.
- Parameters:
- deltaTime - any int (>= 0).
- channel - any int between 0 and 15 (CHAN_1...CHAN_16).
- controller - any int between 0 and 127.
- amount - any int between MIN and MAX.
controller
public int controller()
- Returns the current controller.
- Returns:
- any int between 0 and 127.
setController
public void setController(int controller)
- Sets the controller.
- Parameters:
- controller - any int between 0 and 127.
Previous Next Package