* Sets the channel of the current note.
* @param channel the channel of the note (1-16)
*/
public void setChannel(int channel) {
try {
noteOnMsg.setMessage(noteOnMsg.getCommand(), (byte)channel, noteOnMsg.getData1(), noteOnMsg.getData2());
* Sets the channel of the current note.
* @param channel the channel of the note (1-16)
*/
public void setChannel(int channel) {
try {
noteOnMsg.setMessage(noteOnMsg.getCommand(), (byte)channel, noteOnMsg.getData1(), noteOnMsg.getData2());