Previous Next Package
Class MIDICompose.MasterVolume
java.lang.Object
|
+----MIDICompose.MIDIObject
|
+----MIDICompose.MIDIEvent
|
+----MIDICompose.SystemExclusive
|
+----MIDICompose.MasterVolume
- public class MasterVolume
- extends SystemExclusive
- implements Amountable
-
MIN
- Minimal amount (0).
-
MAX
- Maximal amount (16383).
-
ZERO
- Zero (=no effect) amount (16383).
-
DISREGARD
- Takes effect to all SysExChannels (127 = 0x7f).
-
MasterVolume(int)
- Creates new MasterVolume with volume.
-
MasterVolume(int, int, int)
- Creates new MasterVolume with deltaTime, SysExChannel and volume.
All methods from interfaces are implemented, but not listed here!
-
setSysExChannel(int)
- Set SysExChannel.
-
sysExChannel()
- Returns current SysExChannel.
MasterVolume
public MasterVolume(int amount)
- Creates a new MasterVolume.
- Parameters:
- amount - any int between MIN and MAX.
MasterVolume
public MasterVolume(int deltaTime,
int sysExChannel,
int amount)
- Creates a new MasterVolume.
- Parameters:
- deltaTime - any int (>= 0).
- sysExChannel - any int between 0 and 126 or DISREGARD (=127).
- amount - any int between MIN and MAX.
sysExChannel
public int sysExChannel()
- Returns the current SysExChannel.
- Returns:
- an int between 0 and 127.
setSysExChannel
public void setSysExChannel(int sysExChannel)
- Sets the SysExChannel.
- Parameters:
- sysExChannel - any int between 0 and 126 or DISREGARD (=127).
Previous Next Package