getActiveMidiChannel(),
sm.getData1(), sm.getData2());
} catch (Exception ex) {
}
if (message.getStatus()==ShortMessage.NOTE_ON) {
Note n=new Note(sm.getData1());
NoteDispatcher.getInstance().notePlayed(n);
}
}
MidiThread.getInstance().enqueueEvent(message);
} catch (Exception ex) {