java.lang.Object | |||
↳ | javax.sound.midi.MidiMessage | ||
↳ | javax.sound.midi.ShortMessage | ||
↳ | com.sun.media.sound.SoftShortMessage |
A short message class that support for than 16 midi channels.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new object of the same class and with the same contents
as this object.
| |||||||||||
Obtains the MIDI channel associated with this event.
| |||||||||||
Sets the short message parameters for a channel message
which takes up to two data bytes.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new object of the same class and with the same contents as this object.
Obtains the MIDI channel associated with this event. This method assumes that the event is a MIDI channel message; if not, the return value will not be meaningful.
Sets the short message parameters for a channel message which takes up to two data bytes. If the message only takes one data byte, the second data byte is ignored; if the message does not take any data bytes, both data bytes are ignored.
command | the MIDI command represented by this message |
---|---|
channel | the channel associated with the message |
data1 | the first data byte |
data2 | the second data byte |
InvalidMidiDataException |
---|