DonationCoder.com Forum

Main Area and Open Discussion => General Software Discussion => Topic started by: Mr.Fancypants on March 27, 2008, 03:08 AM

Title: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Mr.Fancypants on March 27, 2008, 03:08 AM
My neighbor works with thousands of mp3 audio files.  The volume control needs constant attention when he plays them one after another.  One might be low volume and the next would be blaring loud.

Is there some software solution that could automatically regulate the volume output???

He's seeking something where he doesn't have to tinker with each individual mp3 file.

When I mess with my own mp3 files, I use either the freeware called MP3Gain or the freeware MP3DirectCut to change the volume within the file itself. 

Again, he's seeking something where he doesn't have to tinker with each individual mp3 file.

Any ideas or experience with this?

Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: kfitting on March 27, 2008, 05:40 AM
Quintessential Media Player (QMP, www.quinnware.com) has a feature called replaygain that does this sort of thing.  QMP is not the only player that uses this, I just know it because I use it.  dbPowerAmp music converter will process files and put replaygain tags on them. 

In short, search for stuff on replaygain.  I've used it on ogg, wma, mp3... it's just a tag your music player has to be able to read.

Kevin
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Ampa on March 27, 2008, 06:23 AM
Changing the actual audio level of the individual files is BAD as this will entail re-encoding them MP3s, causing further loss of quality - plus it is slow.

Replaygain (http://en.wikipedia.org/wiki/Replaygain) is the best solution, but this will entail scanning all the files and adding a replaygain tag. MP3Gain (http://mp3gain.sourceforge.net/download.php) is the freeware app to use in this situation.

xmPlay (http://www.un4seen.com/xmplay.html) is not only tiny with superb sound quality, but supports both track and album replaygain. It also has Auto-amp...

This causes the amplification level to be automatically reduced whenever clipping occurs. With fade-in enabled, it will fade-in new tracks until they clip, then it'll behave the same as normal. Dynamic mode continues to increase and decrease the amplification level throughout playback.
-the xmPlay help file...
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Hirudin on March 28, 2008, 09:02 AM
MP3Gain (aka replaygain) is really the way to go.
...
Again, he's seeking something where he doesn't have to tinker with each individual mp3 file.
...
-Mr.Fancypants (March 27, 2008, 03:08 AM)
So, is it that he doesn't want to have to mess with the MP3s on an individual basis, or does he want to avoid having to change all his files?
... If that's not clear, let me say it a different way: Would a program that will batch process ALL his MP3s at once be good enough? I'm sure there's plenty of programs that will batch process MP3s, but if not I could dig up the script I made for "The GodFather" music manager which will do it.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Mr.Fancypants on March 28, 2008, 10:57 PM
I  *assume*  he doesn't want to risk any of his files.  His life savings is wrapped up in his system and all those files.   And it would be a serious problem if the audio quality was lessened.  I'm not sure if changes in the file creation/modified dates is an issue. 

Batch processing MIGHT be something, but he doesn't have the capacity to back up all the files at this point.

He's heavily invested in specialized WinAmp add-ons, and can't/won't consider other players.

Ya know how how most audio recorders have for decades had automatic volume level control?   I think he's wondering if there's anything like that on the audio OUTPUT side.  If not, then something like mp3gain is bound to be the only solution.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Deozaan on March 28, 2008, 11:09 PM
MP3Gain says it doesn't alter the quality of the music file. It just changes the volume, it doesn't re-encode the file. I downloaded it and have been just performing an initial scan of the changes that need to be made to my music to normalize them. It's been going for hours and only at 60%...
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: vitalyb on March 29, 2008, 04:41 AM
iTunes prefernces -> Playback -> Sound check

As simple as that :)
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: the3seashells on March 29, 2008, 07:04 AM
You may also use a dps plugin in winamp.

For years I have used Compressor and Wider available at the following URL

http://www.winamp.com/plugins/details/104516

Unlike normalizers, such as the gain options listed above, the compressor will adjust the volume throughout each individual song so the music is always at approximately the same volume.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Curt on March 29, 2008, 07:34 PM
For years I have used Compressor and Wider available at the following URL: http://www.winamp.com/plugins/details/104516
-the3seashells (March 29, 2008, 07:04 AM)

- seems not to have been updated since January 2003.
Notice limitation:

well done
good stuff here, but you've got to make it understand higher resolutions like 24 bit and 32 bit. That'd be a great fix for an update.

- Thad Rydell, Jul. 2nd, 2003
-user
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Curt on March 29, 2008, 07:39 PM
You (your neighbour) might be a lot better off with the all new Breakaway

Breakaway for Windows - Breakaway remasters your digital music... (http://www.winamp.com/plugins/details/213353)

Edit: It is $30, 30 days trial.

Author's Comment:

Breakaway remasters your digital music library as you play your tunes on Winamp
From the creator of Volume Logic, presenting a new, broadcast quality system to revolutionize your listening experience. Now, all your music, movies, and sound will be presented to you with the highest level of quality, consistency, and depth. Multi-band audio processing will bring out the punch and balance in all of your audio, while detailed and authentic metering let you see it in action. Never again will you have to reach for your volume control to crank up that tune that\'s just too quiet, or turn down that hot track that pumps a little too hard- just sit back and enjoy the sonic bliss! Other features include a fully sizable, and dockable interface, accurate Oscilloscope and Metering, Windows Explorer extension, and setup wizards to squeeze the top performance from your system.

- Leif Claesson


Notice this user feedback, and the date:

Random Review:

Best audio processer, period.

The core technology behind this product is as good or better than the $30,000 radio station processers on the market. This product could easily be marketed at several hundred dollars. What does this mean? It will change the way you listen to music forever. It's that simple. For people who are not familiar with audio processing, it might be confusing at first. After you listen for a few minutes, you'll wonder how you ever lived with out it. Yeah, it's that good.

- Nick Roberts, Mar. 25th, 2008
http://www.winamp.com/plugins/details/213353
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Deozaan on March 29, 2008, 08:02 PM
Well I let MP3Gain do it's thing and am going through several of my songs. It did a nice job. Volume seems relatively consistent. Techno, loud rock, and quiet music all feel about the same volume. I think overall it feels a bit quiet, but since my primary computer isn't working, I'm not hearing it from my good speakers. I'm listening to it from built-in speakers on my monitor that crackle if the volume is up too loud. I'm sure it would sound much better on my good speakers and subwoofer.

I didn't play around with any settings and I wasn't really sure what I was doing. It was easy for me, but the process of scanning and saving changes to all my files took several hours.

Looking in the settings, apparently it's designed to run as a background process with "Idle" priority, so that's probably why it took so long. I could have made it use more priority which most likely would have resulted in a faster scan time.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Dormouse on March 29, 2008, 08:33 PM
Breakaway is available in a form to be used with all players, not just as a winamp plugin.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Hirudin on March 29, 2008, 10:50 PM
...
I think overall it feels a bit quiet
...
Good ear (I think)!

I'm pretty sure ReplayGain normalizes to 97% volume... I can only offer guesses as to why...
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Deozaan on March 30, 2008, 12:55 AM
...
I think overall it feels a bit quiet
...
Good ear (I think)!

I'm pretty sure ReplayGain normalizes to 97% volume... I can only offer guesses as to why...

According to the website, it normalizes to about 89db. And yeah, most of my music was in the 90-96db range.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Mr.Fancypants on March 30, 2008, 03:56 AM
I knew it wouldn't take much for this topic to get over-my-head deep.  However, I also noticed mp3gain was always inclined to turn down the volume a bit.  And  I believed it would not otherwise compress out the fullness of the audio files. [lossless.]

That Breakaway plug-in sure got some impressive reviews already.  The author couldn't even hire someone to write a better review than a couple of those.

I'll take screenshots of all theses posts (and the linked pages) for my neighbor. 
I can't think of anything more to add that might be relevant, except that I know he uses gigantic speakers and amplifiers, none of which would fit in the back seat of my car.  So I'm sure the words LOUD and CLEAR apply here somewhere.

I'm just sittin' back watchin' and trying to absorb what I can.  All the input of your experience and your ideas is much appreciated.   

Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: PhilB66 on March 30, 2008, 09:46 AM
Have a look at The Levelator (http://www.conversationsnetwork.org/levelator) and HeadAC3he (http://www.doom9.org/index.html?/software2.htm) (lots of other useful tools listed on that page). Download HeadAC3he (http://www.doom9.org/Soft21/Audio/headac3he-0.23a.rar)
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Target on March 30, 2008, 07:20 PM
and on the flipside, anyone know a tool that will do the opposite, ie batch gain changes (boosting)

I have a number of (MP3) files where the volume is too low - I've done some fiddling with a couple of apps and it seems boosting the gain by about 10db does the trick nicely

2 problems with this -

    1) it has to be done on a file by file basis (very tedious)
    2) it entails reencoding to a new file (or has done in the apps I've tried) - this is a no-no as the files are already in a lossy format and re-encoding cannot be a good thing...

any suggestions/ideas?

Target
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: J-Mac on March 30, 2008, 11:44 PM
MediaMonkey (http://www.mediamonkey.com/), a great media player that has both a freeware and "Gold" (pay) version, has a volume normalizer setting in its menu.  Seems to work well, at least for me.

Jim
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Curt on March 31, 2008, 09:11 AM
... That Breakaway plug-in sure got some impressive reviews already.  The author couldn't even hire someone to write a better review than a couple of those.
-Mr.Fancypants (March 30, 2008, 03:56 AM)

- some (most?) of them are from the Breakaway beta testers.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Curt on March 31, 2008, 09:44 AM
Have a look at The Levelator (http://www.conversationsnetwork.org/levelator)
FYI:
- does not support .MP3 (WAV and AIFF only).


... look at HeadAC3he (http://www.doom9.org/index.html?/software2.htm)
FYI:
- has not been updated for 6 years, and homepage closed.

Download HeadAC3he (http://www.doom9.org/Soft21/Audio/headac3he-0.23a.rar)
FYI:
One may need the AZID DLL to make HeadAC3he work. Read >here (http://www.digital-digest.com/dvd/downloads/showsoftware_headac3he_166.html)<.


I have not been able to get through to www.doom9.org today
- anyone else with this problem?  :tellme: Problem solved  :up:
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Jimdoria on March 31, 2008, 10:46 AM
Not to be a fly in the ointment, but I just gotta comment on this:

His life savings is wrapped up in his system and all those files. And it would be a serious problem if the audio quality was lessened... but he doesn't have the capacity to back up all the files at this point.

The technical term for this condition is MASSIVE STUPIDITY.

Your friend has "speakers that won't fit into your car" but he can't be bothered to go to an office supply store and drop $60-$100 on a external USB drive? That would hold 80-120GB of data?

Removable media has never been as cheap, copious, and easy to use as it is right now. There's really no excuse for having one and only one copy of ANY critical file sitting around without a backup. Much less an entire collection of them.

Do your firend the biggest favor you could ever do. Sit him down, and ask him how important the sound quality of his audio files is to him. Then ask him to imagine that the sound quality of every one of those precious files has suddenly dropped to ZERO. Ask him to imagine how he would feel if, after hearing a weird little click from inside his computer, he found that in that fraction of a second his entire music collection was simply GONE, corrupted, hopelessly unrecoverable. It can happen. No, actually IT WILL HAPPEN. Statistically it's just a question of when.

Then offer to go with him to the computer store or the office supplies store and pick out a nice, cheap, large USB hard drive, take it home and help him set it up. Don't leave him by himself until you're sure the backup software has run successfully.

Friends don't let friends compute without backups.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: rpyron on April 06, 2008, 09:20 PM
and on the flipside, anyone know a tool that will do the opposite, ie batch gain changes (boosting)

I have a number of (MP3) files where the volume is too low - I've done some fiddling with a couple of apps and it seems boosting the gain by about 10db does the trick nicely

2 problems with this -

    1) it has to be done on a file by file basis (very tedious)
    2) it entails reencoding to a new file (or has done in the apps I've tried) - this is a no-no as the files are already in a lossy format and re-encoding cannot be a good thing...

any suggestions/ideas?

Target

MP3Gain is your friend. By default, it normalizes every file (or album) to 89 dB, but you can change that.

You can select a bunch of files and have them all normalized to the same level. I do this with old-time radio files.

Or you can select all the files in an album, and have MP3Gain adjust them all by the same relative amount. This is particularly useful for classical music.

BTW, the original poster's friend, who does not have enough room to back up everything, doesn't have to convert everything all at once. Copy 10 or 100 or 1000 files to a new directory and convert the copies; if he is pleased with the results, copy them back over the originals. Lather, rinse, and repeat until done.

Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: f0dder on April 07, 2008, 05:57 AM
Does mp3gain re-process the audio stream, or does it just add a 'gain' tag to the files? And wrt. normalizing to different dB levels, does this require re-processing, or just changing some player settings?

Imho you'd need both per-track and per-album gain levels, and choose one depending on the mode you're currently listening - trackgain can be horrible if you're listening to an entire album, if it hasn't been "loudness-mastered" :)
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Ampa on April 07, 2008, 08:07 AM
fodder: mp3gain writes both a track gain and album gain tag to the file. It does NOT change the audio in anyway.

target: mp3gain will not only reduce loud tracks, but also boost quiet tracks.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Target on April 07, 2008, 05:59 PM
gain will not only reduce loud tracks, but also boost quiet tracks

COOL!! - I've had this in my kit for years, but never thought about using it this way   :huh::-[

Leads me to wonder what else I've got that I'm not really using (at least not 'fully')??  :-\

Target
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: bassclarinetl2 on April 14, 2008, 04:23 PM
You may also use a dps plugin in winamp.

For years I have used Compressor and Wider available at the following URL

http://www.winamp.com/plugins/details/104516

Unlike normalizers, such as the gain options listed above, the compressor will adjust the volume throughout each individual song so the music is always at approximately the same volume.
-the3seashells (March 29, 2008, 07:04 AM)

Winamp itself will handle replaygain.

FYI: ReplayGain is just another component of the ID3 Tag.  So it doesn't modify the actual sound data.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: phillfri on April 24, 2008, 06:38 AM
I've used the TomSteady plugin with Winamp for years and it works like a charm. It levels the volume on the fly and doesn't require any pre-processing on the files themselves. It hasn't been updated for quite awhile, but there's no need as long as it continues working with new release of Winamp. There's even a volume boost option on it for those low powered laptops that often push out a low signal.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: mikiem on April 24, 2008, 12:49 PM
If it helps at all -- adds anything to the discussion...

While there is no way to alter a music file itself without re-writing that file, re-encoding mp3s isn't as lossy as one might expect -- as with video, compressing the data to fit in a smaller file usually discards data, but once that weeding out of data has been done, it normally won't be done a second time during re-encoding. Yes, there will be some loss, but nothing comparable to the initial loss encoding to mp3 in the first place.

RE: Normalization... It can be a bit more than just turning up the volume, which is what a lot of plugins do. Soundforge has a decent example in their RMS Normalization effect. Whether it's worth even the effort of investigating is of course up to you -- as with TVs or PC monitors, everyone has their own levels of tolerance.  :P
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: GHammer on April 24, 2008, 06:14 PM
mp3gain itself does not write tags, the Windows GUI for it does that.
You can and should turn that 'feature' off as it uses an non-standard tag (APE) to hold the info. Those tags cause problems with some players both hardware and software.

I use mp3gain on every album I rip as part of my workflow.

Your friend may also want to look at Adapt-X Direct-X Plugin for WinAmp
Then he can find a pro level plugin that will process the sound to his liking.
I use iZotope Ozone 3 myself and it has nearly any option for mastering that you can think of.
They have a less featured version available as well.

Finally, have your friend get a backup of his data. If the material is that valuable to him, seems silly to trust it to whirring things in a box.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: tomos on December 21, 2008, 05:34 AM
mp3gain itself does not write tags, the Windows GUI for it does that.
You can and should turn that 'feature' off as it uses an non-standard tag (APE) to hold the info. Those tags cause problems with some players both hardware and software.

I use mp3gain on every album I rip as part of my workflow.
anyone know what is meant by the bit in bold :tellme:
I presume
Menu > Options > Tags > Ignore (do not read or write tags)

does that not stop it from completing it's main purpose ?
mp3gain writes both a track gain and album gain tag to the file. It does NOT change the audio in anyway.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: Hirudin on December 21, 2008, 06:51 AM
There's a few different types of tags that can be in MP3 files. The most common type is "ID3" (and now-a-days ID3v2). Another type is "APE". For some reason APE tags are less supported than ID3, and it would appear that sometimes they actually cause problems.

For instance the music software "J River Media Center" does not currently support APE tags (I think I heard it's coming in version 13), so anything written within an APE tag cannot be read or written using Media Center.

Some programs write the ReplayGain settings into APE tags (why I wonder) I guess others use the standard ID3 tag for ReplayGain (I suspect this is what Media Center uses).
...
You can and should turn that 'feature' off as it uses an non-standard tag (APE) to hold the info
...
anyone know what is meant by the bit in bold
I'm not sure what program GHammer is referring to, but it must place the ReplayGain info into APE tags. Perhaps he's talking about dbPoweramp, which for some reason seems to have started using APE tags in version 13 (while version 12 didn't).

...
does that not stop it from completing it's main purpose ?
...
Yeah, sounds like it to me. I would guess GHammer is suggesting that a different ReplayGain (which is the same as mp3gain I think) implementation is a better way to go. Media Center has an "Analyze Audio" option that will scan your whole collection. You can set it to skip songs that have already been scanned. It also has a very cool option that lets you choose how many processes you want to do at once. So if you have a multi-core CPU you can get your collection scanned much more quickly.
Title: Re: mp3 Audio OUTPUT volume normalizer? Any such thing?
Post by: tomos on December 21, 2008, 08:30 AM
thanks hirudin
I should have clarified - the programme they are both (I think both, Ampa at any rate) talking about is called mp3gain
from their FAQ
http://mp3gain.sourceforge.net/faq.php
My tags ("Artist", "Title", etc.) are not working after using MP3Gain
MP3Gain stores "Analysis" and "Undo" information in special tags inside the mp3 file itself. These tags are in the APEv2 format. APEv2 tags are carefully designed to not interfere with other tag formats, such as the popular ID3v1 format.

Unfortunately, some mp3 players do not strictly adhere to the ID3v1 standard when reading tags. As a result, when MP3Gain writes its APEv2 tags, these mp3 players might get confused and try to read the MP3Gain tags instead of the regular ID3v1 tags such as "Artist", "Title", etc. As a result, the player will show random garbage in these fields.

(To be fair, the mp3 players that have this problem are actually probably trying to compensate for data corruption that can occur in mp3s due to bad encoders, incomplete downloads, etc.)

If you use MP3Gain and discover that your mp3 player has this problem, then here's what you need to do:

    * Select "Options - Tags - Ignore (do not read or write tags)" from the MP3Gain menu. This will prevent MP3Gain from writing any more tags to your files.
    * To remove tags that MP3Gain has already written, simply load the affected mp3s into MP3Gain and do "Options - Tags - Remove Tags from files"

IMPORTANT
If you choose the "Options - Tags - Ignore" option, then you will not be able to automatically undo changes made by MP3Gain. You will still be able to undo any changes, but you will have to manually keep track of what changes you make to your files.



I did use the mp3gain prog. on a bunch of files and then played the results in media jukebox (free version of J River player) and it was seems to work (I had one "quiet" mp3 - must compare it and the adjusted copy to see if I'm just imagining it!)
I see the "analyse audio" in media jukebox too & will try it out on another batch - gotta go wrap christmas pressies now though :)