public abstract class TMidiChannel extends Object implements MidiChannel
This base class serves two purposes:
| Modifier | Constructor and Description |
|---|---|
protected |
TMidiChannel(int nChannel) |
| Modifier and Type | Method and Description |
|---|---|
void |
allNotesOff() |
void |
allSoundOff() |
protected int |
getChannel() |
boolean |
getMono() |
boolean |
getOmni() |
boolean |
localControl(boolean bOn) |
void |
noteOff(int nNoteNumber) |
void |
programChange(int nBank,
int nProgram) |
void |
resetAllControllers() |
void |
setMono(boolean bMono) |
void |
setOmni(boolean bOmni) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontrolChange, getChannelPressure, getController, getMute, getPitchBend, getPolyPressure, getProgram, getSolo, noteOff, noteOn, programChange, setChannelPressure, setMute, setPitchBend, setPolyPressure, setSoloprotected int getChannel()
public void noteOff(int nNoteNumber)
noteOff in interface MidiChannelpublic void programChange(int nBank,
int nProgram)
programChange in interface MidiChannelpublic void resetAllControllers()
resetAllControllers in interface MidiChannelpublic void allNotesOff()
allNotesOff in interface MidiChannelpublic void allSoundOff()
allSoundOff in interface MidiChannelpublic boolean localControl(boolean bOn)
localControl in interface MidiChannelpublic void setMono(boolean bMono)
setMono in interface MidiChannelpublic boolean getMono()
getMono in interface MidiChannelpublic void setOmni(boolean bOmni)
setOmni in interface MidiChannelpublic boolean getOmni()
getOmni in interface MidiChannelCopyright © 2016. All Rights Reserved.