Playing multiple sounds continuously and simultaneously

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I need to play multiple sounds (.wav files) simutaneously in my windows
forms application. I have already taken a look at System.Media.SoundPlayer
class. I tried the following but it didn't work:

- Create two instances of SoundPlayer.
- Called PlayLooping on the first one to play file1.wav.
- Called PlayLooping on the second one to play file2.wav. (At this step,
playback of file1.wav stopped).

What would be the best way to play multiple .wav files in my win-forms app?

If it helps - I am using VS 2005 on Vista. I will greatly appreciate any
responses.

Thanks,
Bob
 
I need to play multiple sounds (.wav files) simutaneously in my windows
forms application. I have already taken a look at System.Media.SoundPlayer
class. I tried the following but it didn't work:

- Create two instances of SoundPlayer.
- Called PlayLooping on the first one to play file1.wav.
- Called PlayLooping on the second one to play file2.wav. (At this step,
playback of file1.wav stopped).

What would be the best way to play multiple .wav files in my win-forms app?

See:

http://tinyurl.com/378flx
 
Back
Top