Advertisement

Sound wrapping

Started by July 26, 2003 12:39 AM
0 comments, last by Sabre1021 21 years, 3 months ago
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?
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

This topic is closed to new replies.

Advertisement