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

New Post: playing MP3 and sending PCM bytes over serial port

$
0
0
Yes, MP3FileReader emits PCM from its Read method
The chunk size will depend entirely on what the device on the other end of your serial port is expecting.
To convert stereo to mono, you can discard a channel or mix them together. There are StereoToMono classes in NAudio that will help you do this. If you have access to Pluralsight, watch the "Changing Audio Formats" of this course, in which I go into a lot of detail about how to do this.

Viewing all articles
Browse latest Browse all 5831

Trending Articles



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