Help - Search - Members - Calendar
Full Version: Realtime Audio Volume Normalizer
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
Gramophone
Hi,
Does anybody know about any software that can control the audio card so that any audio played in a PC sound at the same volume?
I know about wavegain but you have to proccess each file before playing it.
I need something that works directly with the sound card instead...

Any help in this will be appreciated

Thanks

Gramophone
Otto42
Doesn't seem possible. If you don't know what the average perceived volume of the sound is then you can't work out how much to scale the volume to reach your pre-determined "norm".

At best, you could notice a change in the average volume over the last X amount of time and change your scaling factor to adjust, but that would result in volume shifting up and down in the middle of a song, for example, which you likely would not want.
dreamliner77
An idea that's been on my mind for a while, but I don't have the knowledge to implement is a program that allows you directx or vst effects alongside kmixer. this way you could use a compressor, eq, etc for all windows sounds.
echo
If you are talking about playing your music through a software player then you can use replaygain/mp3gain. You can use foobar just fine and there is a plugin available for winamp too. And there is of cource the option of using dynamic compression to get what you want. But it would be far from perfect as the volume will go up and down within the same song if the volume varies too much. You can do this with foobar too and I found these two plugins for winamp with a quick search:
http://www.winamp.com/plugins/details.php?id=79888
http://www.winamp.com/plugins/details.php?id=97883

On the other hand if you are talking about *any* sound coming from the sound card, played by different software I don't think you can do much.
Gramophone
I knew that maybe it was imposible to accomplish... I mean a software that can control the OUT of the sound card no matter in which player your playing your sound...
For the time being I will have to rpoccess all sound via wavegain...
If in the near future something happens let me know.


Thanks

Gramophone
ara-fat32
Yes, there is a possibility, but not with the Volume Slider of your Soundcard. it just needs a Coder.
If you start playing the first what the player should do is add a RMS Replay Gain, after it has done it it starts playing track. 1 , today processors and good compilers (ICL 8) with optimized ASM have done this in less then 10 seconds.
if you listen to track 2 , track 3 is processing replay gain, ect. ect. The only need is a multi threaded Look one track ahead function with (0 priority), to add replaygain on the fly.
analogy
Just apply a compressor to the output of the soundcard.
ara-fat32
QUOTE(analogy @ Aug 5 2004, 07:17 PM)
Just apply a compressor to the output of the soundcard.
*




Compression and Volume Normalisation are different.
Compression is the worst you can do , because you change the whole dynamic of a Song.

Normalisation with Replaygain is nearby lossless.
ChristianHJW
QUOTE(ara-fat32 @ Aug 6 2004, 03:23 AM)
Compression and Volume Normalisation are different. Compression is the worst you can do , because you change the whole dynamic of a Song.
Normalisation with Replaygain is nearby lossless.


Yup, but you need to know the sound level of the song before, like with a replaygain field in the header of the song, and i dont know if this what the guy wants.

If such information is not known from the song beforehand, all you can do is to compress the dynamics of the song, thus bringing the sound level of all songs to a similar level by rasising the volume of the silent songs, and lowering those of loud songs.

Bad thing to do i know, especially for music, but TCMP has a dynamic equalizer with dynamic range compression built in coming with it, which is especially nice if you have to watch a movie at night in a hotel, using the speaker of the hotel TV .... that way you avoid that your room neighbour will call the police at 1 AM in the morning biggrin.gif .....
analogy
QUOTE
Compression and Volume Normalisation are different.
Compression is the worst you can do , because you change the whole dynamic of a Song.

Normalisation with Replaygain is nearby lossless.


Now you're just spouting off the typical hydrogenaudio groupthink bias against dynamic compression. Compression is not bad in all cases, people! The original poster was asking for real-time volume adjustment to keep sounds at a similar level. That's the basic definition of comrpession! Unless an entire file can be scanned before it ever hits the speakers, you can't get a true replaygain adjustment out of it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.