Playing multiple sounds continuously and simultaneously

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
 
P

Patrick Steele

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top