private void HandleNoteOn(int channel, int note, int velocity) { eventQueue.Enqueue(new MidiEventData() { eventType = MidiHelper.MidiChannelEvent.Note_On, channel = channel, note = note, velocity = velocity }); }