Archived

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

Sabre1021

Sound wrapping

Recommended Posts

I would like to be able to make a program that acts like the sound card''s balance feature. The difference is that instead of just moving all of the sound to the left or right channel, it instead shifts the sound. So if you moved the slider left 25%, the left channel would play at 75% volume in the left speaker and 25% in the right speaker. The right channel would play 25% in the left speaker and 75% in the right. When the slider is at 50%, both channels would play at 50% volume from each ear. With the slider at 75%, the left channel would play only 25% volume from the left speaker and 75% from the right. And of course with the slider at 100%, the channels would be opposite of the speakers. Does anyone have any ideas on this? I can only think of a couple possible solutions: 1. Simple registry tweak or driver dll hook and function execution. 2. A "filter" sound driver. Takes the input, modifies it, and sends it to the sound card drivers. 3. A completely new sound card driver. Obviously it gets more difficult the farther down the list you go. Are these possible....without magical programming abilities? I can program a bit, but I''ve never done any sound programming. Can anyone else think of a better way to do it?

Share this post


Link to post
Share on other sites
Option 2 using directsound is quite possible but I had problems getting directsound to be ''nice'' to windows in terms of multitasking. Making a specific program to do 2 would be quite easy but making it system friendly enough to replace the windows control might be harder.

Mark
Sound Effects For Game Developers
http://www.indiesfx.co.uk

Share this post


Link to post
Share on other sites