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