PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: P on December 27, 2010, 09:29:53 AM

Title: How to play more than one mp3/wav file simultaneously?
Post by: P on December 27, 2010, 09:29:53 AM
Hi!

I'm working on a program that get data over ethernet using UDP from my flightsimulator. My program is playing sounds that corresponds to an action in the simulator.

I do that using the MciSendString. I've also got the playsound (win32api) to work. But how do I play several sounds? Like the sound of the wiper in the background, noise from flaps in transition and maybe an aural warning on top? All with different volume and with variable balance (left/right)


Last question.. How do I route the sound to different soundcards? I have two soundcards in my computer, and one of them has 6 outputs...



PÃ¥l.
Title: Re: How to play more than one mp3/wav file simultaneously?
Post by: Haakon Birkeland on December 27, 2010, 04:53:46 PM
Not much experience with those things, but the first thought that comes to mind is the "easy route" to extensive sound usage; http://www.un4seen.com/bass.html (http://www.un4seen.com/bass.html)
Title: Re: How to play more than one mp3/wav file simultaneously?
Post by: P on December 28, 2010, 05:14:26 AM
Thanks alot!! I think this is what I want!
Title: Re: How to play more than one mp3/wav file simultaneously?
Post by: Haakon Birkeland on December 28, 2010, 06:31:54 PM
Vel bekomme.