private void TriggerNoteOn(int channel, int note, int velocity) { if (OnNoteOn != null) OnNoteOn(channel, note, velocity); }