|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.charlesames.utility.common.Disposable
net.charlesames.music.midi.MidiEntity
net.charlesames.music.midi.MidiChannel
public class MidiChannel
MidiChannel instances keep track of what is going on in a channel during a MIDI file export.
| Method Summary | |
|---|---|
int |
getBank()
Get the MIDI bank that is currently in force on this channel. |
int |
getChannel()
Get the MIDI channel number. |
MidiDevice |
getMidiDevice()
Get the MIDI device. |
MidiNote |
getMidiNote()
Get the MidiNote instance that currently occupies this channel. |
int |
getProgram()
Get the MIDI program that is currently in force on this channel. |
void |
setBank(int bank)
Set the MIDI bank that should be in force on this channel going forward. |
void |
setMidiNote(MidiNote note)
Set the MidiNote instance that currently occupies this channel. |
void |
setProgram(int program)
Set the MIDI program that should be in force on this channel going forward. |
| Methods inherited from class net.charlesames.music.midi.MidiEntity |
|---|
dispose, getContainer, getID, getName, setName |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public MidiNote getMidiNote()
MidiNote instance that currently occupies this channel.
This property is relevant only when the MIDI channel mode is Dynamic.
MidiNote instance.public void setMidiNote(MidiNote note)
MidiNote instance that currently occupies this channel.
This property is relevant only when the MIDI channel mode is Dynamic.
note - The intended MidiNote instance. Null clears the channel.public int getProgram()
public void setProgram(int program)
program - The intended MIDI program.public int getBank()
public void setBank(int bank)
bank - The intended MIDI bank.public int getChannel()
public MidiDevice getMidiDevice()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||