Previous Next Package
Class MIDICompose.ChannelPressure
java.lang.Object
|
+----MIDICompose.MIDIObject
|
+----MIDICompose.MIDIEvent
|
+----MIDICompose.VoiceEvent
|
+----MIDICompose.ChannelPressure
- public class ChannelPressure
- extends VoiceEvent
- implements Channelable, Amountable
-
MIN
- Minimal amount (0).
-
MAX
- Maximal amount (127).
-
ZERO
- Zero (=no effect) amount (0).
-
ChannelPressure(int)
- Creates a new ChannelPressure with amount.
-
ChannelPressure(int, int, int)
- Creates a new ChannelPressure with deltaTime, channel and amount.
All methods from interfaces are implemented, but not listed here!
ChannelPressure
public ChannelPressure(int amount)
- Creates a new ChannelPressure.
- Parameters:
- amount - any int between MIN and MAX.
ChannelPressure
public ChannelPressure(int deltaTime,
int channel,
int amount)
- Creates a new ChannelPressure.
- Parameters:
- deltaTime - any int (>= 0).
- channel - any int between 0 and 15 (CHAN_1...CHAN_16).
- amount - any int between MIN and MAX.
Previous Next Package