This project has moved. For the latest updates, please go here.

Play several audios simultaneously with real-time analysis

Aug 27, 2016 at 11:32 PM
Hello. In which direction I must go, if need two thing at the same time, play two (or several) audio files simultaneously and at the same time get Real-Time Analysis of both with actual Peak and RMS size value on display.
Aug 30, 2016 at 8:03 PM
What you need to do is first of all use AudioFileReaders for each of the files, and then pass them into a MixingSampleProvider. Then, you would need to pass the MixingSampleProvider into a custom ISampleProvider whose Read method reads from the source, and performs any real-time analysis of the samples. You can see some basic examples of this in the NAudio demo projects.