public class AlsaMidiChannel extends java.lang.Object implements MidiChannel
Constructor and Description |
---|
AlsaMidiChannel(Receiver receiver,
int nChannel) |
Modifier and Type | Method and Description |
---|---|
void |
allNotesOff() |
void |
allSoundOff() |
void |
controlChange(int nController,
int nValue) |
int |
getChannelPressure() |
int |
getController(int nController) |
boolean |
getMono() |
boolean |
getMute() |
boolean |
getOmni() |
int |
getPitchBend() |
int |
getPolyPressure(int nNoteNumber) |
int |
getProgram() |
boolean |
getSolo() |
boolean |
localControl(boolean bOn) |
void |
noteOff(int nNoteNumber) |
void |
noteOff(int nNoteNumber,
int nVelocity) |
void |
noteOn(int nNoteNumber,
int nVelocity) |
void |
programChange(int nProgram) |
void |
programChange(int nBank,
int nProgram) |
void |
resetAllControllers() |
void |
setChannelPressure(int nPressure) |
void |
setMono(boolean bMono) |
void |
setMute(boolean bMute) |
void |
setOmni(boolean bOmni) |
void |
setPitchBend(int nBend) |
void |
setPolyPressure(int nNoteNumber,
int nPressure) |
void |
setSolo(boolean bSolo) |
public AlsaMidiChannel(Receiver receiver, int nChannel)
public void noteOn(int nNoteNumber, int nVelocity)
noteOn
in interface MidiChannel
public void noteOff(int nNoteNumber, int nVelocity)
noteOff
in interface MidiChannel
public void noteOff(int nNoteNumber)
noteOff
in interface MidiChannel
public void setPolyPressure(int nNoteNumber, int nPressure)
setPolyPressure
in interface MidiChannel
public int getPolyPressure(int nNoteNumber)
getPolyPressure
in interface MidiChannel
public void setChannelPressure(int nPressure)
setChannelPressure
in interface MidiChannel
public int getChannelPressure()
getChannelPressure
in interface MidiChannel
public void controlChange(int nController, int nValue)
controlChange
in interface MidiChannel
public int getController(int nController)
getController
in interface MidiChannel
public void programChange(int nProgram)
programChange
in interface MidiChannel
public void programChange(int nBank, int nProgram)
programChange
in interface MidiChannel
public int getProgram()
getProgram
in interface MidiChannel
public void setPitchBend(int nBend)
setPitchBend
in interface MidiChannel
public int getPitchBend()
getPitchBend
in interface MidiChannel
public void resetAllControllers()
resetAllControllers
in interface MidiChannel
public void allNotesOff()
allNotesOff
in interface MidiChannel
public void allSoundOff()
allSoundOff
in interface MidiChannel
public boolean localControl(boolean bOn)
localControl
in interface MidiChannel
public void setMono(boolean bMono)
setMono
in interface MidiChannel
public boolean getMono()
getMono
in interface MidiChannel
public void setOmni(boolean bOmni)
setOmni
in interface MidiChannel
public boolean getOmni()
getOmni
in interface MidiChannel
public void setMute(boolean bMute)
setMute
in interface MidiChannel
public boolean getMute()
getMute
in interface MidiChannel
public void setSolo(boolean bSolo)
setSolo
in interface MidiChannel
public boolean getSolo()
getSolo
in interface MidiChannel