} else {
int midiChannel = context.retrieveChannel(this.channel);
MidiEvent[] events = new MidiEvent[2];
ShortMessage shortMessage = new ShortMessage();
shortMessage.setMessage(ShortMessage.CONTROL_CHANGE,
midiChannel,
0x00, // �o���N�Z���N�g MSB
data2);
events[0] = new MidiEvent(shortMessage, context.getCurrentTick());
shortMessage = new ShortMessage();
shortMessage.setMessage(ShortMessage.CONTROL_CHANGE,
midiChannel,
0x20, // �o���N�Z���N�g LSB
bank & 0x7f);
events[1] = new MidiEvent(shortMessage, context.getCurrentTick());
return events;
}
} else { // MobileStandard
int midiChannel = context.retrieveChannel(this.channel);
Debug.println("BankSelect(" + significant + "): [" + duration + "] " + midiChannel + "ch, " + bank);
ShortMessage shortMessage = new ShortMessage();
shortMessage.setMessage(ShortMessage.CONTROL_CHANGE,
midiChannel,
significant.data1, // �o���N�Z���N�g MSB or LSB
bank);
return new MidiEvent[] {
new MidiEvent(shortMessage, context.getCurrentTick())