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

Question about wav files

Mar 18, 2013 at 5:19 PM
Hi,all I want to use NAudio in my current project in which I have to recognize numbers with camera and play different wav file for each number.
So If I have one number its ok, but when I have 5 numbers => 5 sounds I have to mix them all, so how can I do this with NAudio. Lets say I recognize 4 images, so I have to play 4 mixed wave files in loop while numbers are in camera point of view of view.
Thx in advance to anyone who read this. :)
Mar 19, 2013 at 10:12 AM
The MixingSampleProvider is my recommended way of doing mixing. In the WPF demo app, there is an example of a drum machine showing how you might go about mixing together multiple simultaneous sounds.