Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

LJ

Mixing sounds

This topic is 5363 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have some WAVE files, and I need to mix them to one WAVE file. Can''t you help me - how to do it (or tell where to get some docs about it)? Thanx, LJ.

Share this post


Link to post
Share on other sites
Advertisement
For my game I used a quick and dirty method of using Win32 Playsound() to play music in all its glory and DirectSound to play speech.

Save alot of coding effort! :D

Share this post


Link to post
Share on other sites
Thank you, but not so - my aim is to get ONE ".wav" from some ".wav" on input.

Share this post


Link to post
Share on other sites
http://www.programmersheaven.com/zone10/cat139/index.htm
http://www.programmersheaven.com/zone10/cat587/index.htm

[edited by - _the_phantom_ on February 6, 2004 5:08:21 PM]

Share this post


Link to post
Share on other sites
Techinically: Access the raw sample data from each input. Add them together then divide by the number of input waves.

Practically: Adding then dividing by 2 usually gives optimal results even if you need to mix 50 or 100 waves because of the cumulative effects/averaging.

Mark

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!