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

New Post: How to set a MIDI instrument on a Chanel

$
0
0
Hello,
I would like to create .mid MIDI songs with NAudio and play them with Media Player.
I can create a MidiEventCollection and fill it with many NoteOnEvent, prepare for export and export the song. Then I can listen to it with Media Player, it's quite simple and effective.
I can mix drums (chanel 10) with Piano (chanel 1-9 and 11-15).
But how can I play others instruments than piano?
I miss something like a command for selecting the defaut instrument to play on a specified chanel (for example guitar on chanel 1, organ on chanel 2...)
Is it possible to do that with NAudio, and if so, how to do it?
Thank you.

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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