Example #1
0
        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");
        }
Example #2
0
 private void sendMidiButton_Click(object sender, EventArgs e)
 {
     NAudioMidi.Send((int)midiUpDown.Value);
 }