|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MidiChannelReader
Method Summary | |
---|---|
void |
decode(int command,
int data1,
int data2)
|
int |
getChannelPressure()
Obtains the channel's keyboard pressure. |
int |
getControl(int control)
Get the value of the controller with the specified index. |
int |
getController(int controller)
Obtains the current value of the specified controller. |
int |
getIndex()
Get the channel index number. |
boolean |
getMono()
Obtains the current mono/poly mode. |
boolean |
getMute()
Obtains the current mute state for this channel. |
boolean |
getOmni()
Obtains the current omni mode status. |
int |
getPan()
|
int |
getPitchBend()
Obtains the upward or downward pitch offset for this channel. |
int |
getPolyPressure(int noteNumber)
Obtains the pressure with which the specified key is being depressed. |
int |
getProgram()
Obtains the current program number for this channel. |
boolean |
getSolo()
Obtains the current solo state for this channel. |
int |
getVolume()
|
Method Detail |
---|
int getIndex()
int getControl(int control)
int getChannelPressure()
#setChannelPressure(int)
int getProgram()
Patch.getProgram()
,
Synthesizer.loadInstrument(javax.sound.midi.Instrument)
,
#programChange(int)
int getPitchBend()
#setPitchBend(int)
int getVolume()
int getPan()
boolean getMono()
true
if mono mode is on, otherwise false
(meaning poly mode is on).#setMono(boolean)
boolean getOmni()
true
if omni mode is on, otherwise false
.#setOmni(boolean)
boolean getMute()
true
the channel is muted, false
if not#setMute(boolean)
boolean getSolo()
true
if soloed, false
if not#setSolo(boolean)
int getPolyPressure(int noteNumber)
noteNumber
- the MIDI note number, from 0 to 127 (60 = Middle C)
#setPolyPressure(int, int)
int getController(int controller)
controller
- the number of the controller whose value is desired. The allowed range is 0-127; see the MIDI
1.0 Specification for the interpretation.
#controlChange(int, int)
void decode(int command, int data1, int data2)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |