public interface MidiChannel
Modifier and Type | Method and Description |
---|---|
void |
allNotesOff()
Indicate 'All notes off' message to the
MidiChannel |
void |
allSoundOff()
Indicate 'All sound off' message to the
MidiChannel |
void |
controlChange(int controller,
int value)
Set 'Controller' status to the
MidiChannel |
int |
getChannelPressure()
Get 'Channel pressure' status of the
MidiChannel |
int |
getController(int controller)
Get 'Controller' status of the
MidiChannel |
boolean |
getMono()
Get 'Mono' status of the
MidiChannel |
boolean |
getMute()
Get 'Mute' status of the
MidiChannel |
boolean |
getOmni()
Get 'Omni' status of the
MidiChannel |
int |
getPitchBend()
Get 'Pitch bend' status of the
MidiChannel |
int |
getPolyPressure(int noteNumber)
Get 'Poly pressure' status of the
MidiChannel |
int |
getProgram()
Get 'Program' status of the
MidiChannel |
boolean |
getSolo()
Get 'Solo' status of the
MidiChannel |
boolean |
localControl(boolean on)
Set 'Local control' status to the
MidiChannel |
void |
noteOff(int noteNumber)
Indicate 'Note off' message to the
MidiChannel |
void |
noteOff(int noteNumber,
int velocity)
Indicate 'Note off' message to the
MidiChannel |
void |
noteOn(int noteNumber,
int velocity)
Indicate 'Note on' message to the
MidiChannel |
void |
programChange(int program)
Set 'Program' status to the
MidiChannel |
void |
programChange(int bank,
int program)
Set 'Bank' and 'Program' status to the
MidiChannel |
void |
resetAllControllers()
Indicate 'Reset all controllers' message to the
MidiChannel |
void |
setChannelPressure(int pressure)
Set 'Channel pressure' status to the
MidiChannel |
void |
setMono(boolean on)
Set 'Mono' status to the
MidiChannel |
void |
setMute(boolean mute)
Set 'Mute' status to the
MidiChannel |
void |
setOmni(boolean on)
Set 'Omni' status to the
MidiChannel |
void |
setPitchBend(int bend)
Set 'Pitch bend' status to the
MidiChannel |
void |
setPolyPressure(int noteNumber,
int pressure)
Set 'Poly pressure' status to the
MidiChannel |
void |
setSolo(boolean soloState)
Set 'Solo' status to the
MidiChannel |
void allNotesOff()
MidiChannel
void allSoundOff()
MidiChannel
void resetAllControllers()
MidiChannel
void noteOff(int noteNumber)
MidiChannel
noteNumber
- the note numbervoid noteOff(int noteNumber, int velocity)
MidiChannel
noteNumber
- the note numbervelocity
- the note off velocityvoid noteOn(int noteNumber, int velocity)
MidiChannel
noteNumber
- the note numbervelocity
- the note on velocityint getChannelPressure()
MidiChannel
void setChannelPressure(int pressure)
MidiChannel
pressure
- the channel pressureint getController(int controller)
MidiChannel
controller
- the controller IDvoid controlChange(int controller, int value)
MidiChannel
controller
- the controller IDvalue
- the controller valueint getProgram()
MidiChannel
void programChange(int program)
MidiChannel
program
- the programvoid programChange(int bank, int program)
MidiChannel
bank
- the bankprogram
- the programboolean getMono()
MidiChannel
void setMono(boolean on)
MidiChannel
on
- 'Mono' statusboolean getMute()
MidiChannel
void setMute(boolean mute)
MidiChannel
mute
- 'Mute' statusboolean getOmni()
MidiChannel
void setOmni(boolean on)
MidiChannel
on
- 'Omni' statusint getPitchBend()
MidiChannel
void setPitchBend(int bend)
MidiChannel
bend
- 'Pitch bend' amount 0-8191-16383int getPolyPressure(int noteNumber)
MidiChannel
noteNumber
- the note numbervoid setPolyPressure(int noteNumber, int pressure)
MidiChannel
noteNumber
- the note numberpressure
- the note pressureboolean getSolo()
MidiChannel
void setSolo(boolean soloState)
MidiChannel
soloState
- 'Solo' statusboolean localControl(boolean on)
MidiChannel
on
- 'Local control' status