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