Previous Next Package
Class MIDICompose.CombinedControlChange
java.lang.Object
|
+----MIDICompose.MIDIObject
|
+----MIDICompose.CombinedControlChange
- public class CombinedControlChange
- extends MIDIObject
- implements Channelable, Amountable
There are some controllers that use two ControlChange-messages to set a value (eg.
Modulation). A CombinedControlChange exists of two ControlChanges but simulates being
only one. You can use a CombinedControlChange the same way as a ControlChange. The only
visible difference is another valuerange of amount.
-
MIN
- Minimal amount (0).
-
MAX
- Maximal amount (16383).
-
CENTER
- Center amount (8192).
-
ZERO
- Zero (=no effect) amount (MIN, MAX or CENTER depending on controller).
-
BALANCE
-
-
BANK_SELECT
-
-
BREATH
- Same as BREATH_CONTROLLER.
-
BREATH_CONTROLLER
-
-
DATA_ENTRY
-
-
EFFECT1
-
-
EFFECT2
-
-
EFFECT_CONTROL_1
-
-
EFFECT_CONTROL_2
-
-
EXPRESSION
-
-
FOOT_PEDAL
-
-
MODULATION
- Same as MODULATION_WHEEL.
-
MODULATION_WHEEL
-
-
NON_REGISTERED_PARAMETER
-
-
PAN
- Same as PAN_POSITION.
-
PAN_POSITION
-
-
PORTAMENTO_TIME
-
-
VOLUME
-
-
REGISTERED_PARAMETER
-
-
REGISTERED_PARAMETER_RESET
- Reset value for registered parameters (16383 = 0x3fff).
-
CombinedControlChange(int, int)
- Creates new CombinedControlChange with controller and amount.
-
CombinedControlChange(int, int, int, int)
- Creates new CombinedControlChange with deltaTime, channel, controller and amount.
All methods from interfaces are implemented, but not listed here!
-
controller()
- Returns current controller.
-
setController(int)
- Sets controller.
CombinedControlChange
public CombinedControlChange(int coarse,
int amount)
- Creates a new CombinedControlChange.
- Parameters:
- coarse - any combined controller-number (coarse-value).
- amount - any int between MIN and MAX.
CombinedControlChange
public CombinedControlChange(int deltaTime,
int channel,
int coarse,
int amount)
- Creates a new CombinedControlChange.
- Parameters:
- deltaTime - any int (>= 0).
- channel - any int between 0 and 15 (CHAN_1...CHAN_16).
- coarse - any combined controller-number (coarse-value).
- amount - any int between MIN and MAX.
controller
public int controller()
- Returns the current controller.
- Returns:
- a coarse controller-number.
setController
public void setController(int coarse)
- Sets the controller.
- Parameters:
- coarse - any combined controller-number (coarse-value).
Previous Next Package