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

List of WAV files

Oct 15, 2014 at 1:33 PM
Edited Oct 15, 2014 at 1:34 PM
How to play list of wave files

I have multiple audio voice I want to play it one after another. How I can play files in queue. I want to do it using c#.


Regards,
Oct 17, 2014 at 8:24 AM
Hi,

you could do the following:
  • create a WaveOut,
  • create a WaveFileReader for the first file,
  • call the WaveOut's Init function with the WaveFileReader
  • call WaveOut's Play() function
When the event PlaybackStopped is called close the WaveFileReader and start from step 2. for the second file.

Regards,
Isti