public void OnNote(byte note) { port.Send(new NoteEvent() { Note = note, Gate = 240, }); }
public static void OnNote(byte note) { port.Send(new NoteEvent() { Note = note, Gate = 240, Channel = 1, }); }