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