private static void midiSend() { if (currentTrack.isMidiNote == false && currentTrack.midiFile != null) { NAudioMidi.PlayFile(currentTrack.midiFile); return; } NAudioMidi.Send(currentTrack.midiNote); //NAudioMidi.playFile(@"D:\00000\ttt.midi"); }
private void sendMidiButton_Click(object sender, EventArgs e) { NAudioMidi.Send((int)midiUpDown.Value); }