Quantcast
Channel: NAudio
Viewing all articles
Browse latest Browse all 5831

New Post: Playing Midi Files

$
0
0


Anyone got example/tips on how to play Midi files using NAudio?

All I have found is sending note signals to midi synthesizer

 

midiOut.Send(MidiMessage.ChangePatch(47, 0).RawData);

 

But looping through each note over 10+ tracks is a mess!

Also another question, I have lots of wav files sorted into instruments and notes. How would I use my own wav files to play the midi? or sf2 files? (my own synthesizer?)




Viewing all articles
Browse latest Browse all 5831


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>