Replay Gain: A how to informational

andied wrote:

After further testing and getting to know the idiosyncrasies of MP3Gain, I can get it to work with the Clip+.

 

Loading files and clicking “track Analysis” will immediately (actually 3x slower than Foobar2000) analyze and write volume gains to the file(s). If left at this point, and the volume value is positive, the tag begins with a “+” (+0.17), which the Clip+ reads as “-48.83” - much too low to be useable. However if “Track Gain” is selected, MP3Gain writes info to the file and the Clip+ will play the song with proper volume, although the Clip+ cannot read the replaygain info - I assume because it is Apev2.

 

It is good to have choices - I will stick with Foobar2000

 

edit: should be:  “although the Clip+ cannot display the replaygain info”

Message Edited by andied on 12-25-2009 12:47 PM

If you use MP3Gain on your files, then you should disable the ReplayGain on the Sansa, as it will no longer be needed. That’s the whole point of why Miikerman brought it up, I believe.

If you use MP3Gain on your files, then you should disable the ReplayGain on the Sansa, as it will no longer be needed. That’s the whole point of why Miikerman brought it up, I believe.

Actually you should probably still use the Replaygain values on the Sansa. mp3gain is only capable of making changes in 1.5dB increments. It will adjust the gain losslessly by modifying the mp3 headers. Unfortunately it stores modification information in APE tags. To get the most benefit out of the RG “experience” you would want to rescan the mp3gain-modified files with foobar2000 or Media Monkey to get the difference mp3gain could not account for.

Clear as mud? :smiley:

One other thing. foobar2000 is capable of modifying the mp3 headers just as mp3gain does. However, there is no undo after you apply the gain changes. foobar2000 then modifies the RG tags to reflect the difference.

As someone mentioned earlier mp3gain is agonizingly slow. foobar2000 appears to be able to take advantage of multi-core CPUs during its scan process. I’ve incorporated some Powershell scripts I created to apply the RG values created by foobar2000 to the tags that mp3gain uses. The scripts then call mp3gain to apply the changes and subsequently updates the foobar2000 RG tags. Whew!

FYI: The latest available version of mp3gain (1.5.1) has an option to use id3 tags instead of APE. It doesn’t use TXXX frames though. It uses RVA2 (Relative Volume Adjustment) frames. In truth this is probably the truly “correct” way of implementing volume adjustment.

I’ll shut up for now.

I’m so glad I have a player that takes care of it for me, rather than go through all this hassle with ReplayGain, MP3Gain, etc…:smileyvery-happy:

With all the back and forth RE ReplayGain, it probably does seem a bit obtuse, but really it is quite simple (once the problem was isolated). Foobar2000 does a really good job of writing replaygain tags (and very fast); the only issue is that the Clip+ doesn’t read a positive “+” value correctly, but the “fix” is trivial and hopefully Sansa will include this “fix” in a firmware update.

I don’t find MP3Gain to be either a hassle or slow.  Yes, if you are running MP3Gain on a large number of albums, it will take time.  But it’s only done once–just leave it running overnight.  For just a single or a few albums at a time, it’s done in very little time.

@miikerman wrote:
I don’t find MP3Gain to be either a hassle or slow.  Yes, if you are running MP3Gain on a large number of albums, it will take time.  But it’s only done once–just leave it running overnight.  For just a single or a few albums at a time, it’s done in very little time.

To each his own; it is good to have choices. For those happy with MP3Gain, stay with it. I am just trying to point out to those that use Foobar2000 that it works really well also.

Hi,

I’m using mp3gain 1.5.1 under LInux. I have tried the following.

mp3gain -s i *.mp3

this does not work, probably for the reasons stated in the posts before.

Is there any way to make mp3gain work using tags only ?

If yes, which options ?

If not, is there any other tool in linux that can write the tags so the clip+ sees them correctly ?

andied wrote:


@miikerman wrote:
I don’t find MP3Gain to be either a hassle or slow.  Yes, if you are running MP3Gain on a large number of albums, it will take time.  But it’s only done once–just leave it running overnight.  For just a single or a few albums at a time, it’s done in very little time.


To each his own; it is good to have choices. For those happy with MP3Gain, stay with it. I am just trying to point out to those that use Foobar2000 that it works really well also.

Absolutely.  I just started with MP3Gain with my main player because it didn’t have ReplayGain capability.  I like the fact that MP3Gain’ed files are playable on any player.

After filling my clip+ with mixed content (flac w/ applied gain, mp3 w/ applied gain & flac w/ RG info created by the reference encoder) and listening to it in shuffle mode, i noticed my clip+ sees the tags correctly, but ignores them completely. There is a clear drop in volume after switching from a file with RG info and a file with gain permanently applie.

I’m going back to applying gain to my files until this is fixed.

Note: this is not the positive gain bug, the gain is negative on all files and is being read correctly.

I’m not sure if it’s because clip+ doesn’t support the tags created by the reference encoder (which is not a god idea if this is the case!) or if clip+ is defective.

Hi all, this is my first time using replay gain and I would like some help. I made a test folder on the clip+ with two songs that I had levelled the volume on using media monkey. Playing the two songs on my computer through media monkey they both have the same equal volume. But when turning on the replay gain feature on the clip and switching between the same two tracks, there is a big difference, one is really loud in comparison. Is my clip+ faulty? Everything else works fine as far as I can see. If its faulty can a firmware upgrade fix this, or should I return it?

Veni

EDIT: Just checked the track info when the songs are playing, cant see any information there regarding any replay gain values

EDIT #2: Fixed!

Okay I gathered some mp3s (varying volumes) together and put them in THREE separate folders on the clip. One folder MP3GAIN where they were all set to the default 89db. One folder MONKEY where the mp3 tags had been updated with Media Monkey to 89db. Last folder FOOBAR with the tags being changed to level the volume again to 89db. After I had transferred them to the clip I listened through the folders with Replay gain turned off, this was the setting when the folders were transferred to the clip. Obviously all the volumes were varying except in the MP3GAIN folder where the volume of the mp3s had been changed. So then I turned Replay Gain onto ‘Song’ mode. The mp3s inside MONKEY and FOOBAR still had erratic volume levels and checking the track info on the mp3s in both folders there was no sign of any replay gain info. BUT THEN I turned the player on and off and suddenly… track info in both MONKEY and FOOBAR folders show replay gain info, its right at the bottom, just keep down clicking even if it shows less than a full page of info on the screen you think is the last one. The FOOBAR replay gains looked messed up, -40db etc. But the MONKEY folder had all the gains correctly and the volumes of the mp3s played in that folder now sounded pretty much level. One thing I noticed was that the level that Media Monkey decides to set the volumes to is a little higher than what MP3GAIN considers 89db, perhaps its a resolution thing. Once I had it working, I was able to turn replay gain on and off without restarting the clip again and I could notice the difference immediately. So in essence, try and turn your player on and off after you select replay gain on. I hope this helps someone - btw I was using Media Monkey version 3.01

Slightly off topic, I have all my mp3s on the clip in seperate folders for each artist and the file name is the song title. Is there a way or program that could analyse all the folders and for each mp3 fill in the ID3 tags so that the artist name is taken from the folder the mp3 is in and the song name is taken from the mp3 file name?

Veni

Message Edited by Veni on 01-09-2010 07:48 AM

“The FOOBAR replay gains looked messed up, -40db etc”

From my experience that would indicate that the ReplayGain value was approx “+10.00”. Replacing the “+” with a zero should set the proper value in the Clip+.

Yes I believe you’re right. I have actually decided to not bother with Replay Gain after all, I mean MP3Gain does everything I need, but Im glad I got it working. I know that Mp3Gain has a resolution of ±1.5db and it seems Media Monkey has one of ±0.5db so I would guess that would get the volume levels closer, but I did could not really percieve the differences. Btw I managed to fix my mp3 tags as above, using Mp3Tag.

Well, I got my Clip+ today, and after analyzing my library yesterday, I loaded a bunch of stuff on to test the ReplayGain, and so far it seems to work just fine.:smiley:

Marvin_Martian wrote:
Given all the headaches from ReplayGain, first with the Fuze, now with the Clip+, I think they would have been better off not implementing it, and improving the custom EQ’s functionality instead. :stuck_out_tongue:

I have to respond to myself here.

Now that I have a Clip+, I’ve analyzed my library with MediaMonkey, and so far the ReplayGain seems to work for me just fine. And I’m pleased to say that the custom EQ really is better than either my old Clips, or my old Fuze. It’s not the best, (my Q2’s 7-band is):stuck_out_tongue: but it works well enough with my on-the-go headphones, unlike the old models.

I don’t know yet what the  battery life, etc,  will be like, but so far, a definite upgrade over the original Clip (haven’t used a card though).

Noobie here, just bought an 8Gb Clip+ to replace my water damaged Ipod nano (i never used the video or games anyway !)

So i’m using MediaMonkey 3.2.0.1294 and trying to get replay gain working on the clip, i select a track right click select analyze volume and a value appears in the track volume column of media monkey… i assume this is the calculated value for replay gain ???

so then when i sync that track to the Clip+ and try to view the replay gain info on the Clip+ it doesn’t show…

as an experiment i copied the file from the Clip+ back onto the PC renamed the file, and then using MP3tag editied the track name to be different from original so i knew whihc track was which, and altered the replay gain value (only by 0.1) saved the tags and copied that file back onto the Clip+ this file does show the replay gain value ???

now since as i copied the file from the Clip+ back to the PC and mp3tag saw the replay gain tag how come the Clip+ couldn’t ??? is it something i’m doing in media monkey ???

any suggestions welcome

Regards Andy

okay scratch that… a bit more meddling with media monkey seems i didn’t understand/read the instructions properly…

on the auto-conversion tab in the device profile window i had checked the volume leveling when sychromising checkbox… no wonder it seemed to take forever to sync doing everyfile…

Live and learn

Andy

I noticed that my Clip+ doesn’t get confused by a “+” sign in the replaygain data. e.g., A track which foobar2000 marked with REPLAYGAIN_TRACK_GAIN of +4.10, will have the value “4.1” in the Track Info on the Clip+. Does it mean this bug got fixed with fw 1.02.13? Can anybody else confirm plz?

I think the 1.02.09 changelog mentions Replaygain parsing. I didn’t actually check back until recently and I was surprised to find not one, but two firmware updates! Anyway, I have the 1.02.13 firmware installed, and the “+9.99 ==> -40.01” behavior is fixed.

Clip+ 8 gb, 16 gb card, firmware 1.02.15a

OK, I’ve read this whole thread, and as far as I can tell, no one has gotten Replay Gain to work as described in the first post.  I used Mediamonkey to analyze track volume on all tracks, but Replay Gain on the Clip+ just doesn’t provide any change in volume level, regardless of the track being played or the RG settings used. All the other options for achieving level volume playback are unacceptable to me: 

1)  If I read the Foobar discussion correctly, it looks like I would have to go throught the tracks one by one and take out all the “plus” characters.  No thanks, I have 2500 tracks on the clip, and I already have a full time job. 

2)  mp3Gain works well – but only for mp3’s.  I’ve got loads and loads of wma, and recently I’ve been trying out flac.

3)  I tried Rockbox – didn’t like it, for several reasons that don’t matter here.  RB is gone, at least until there’s a stable release.  

4)  The only other option is to use Media Monkey to level the volume on all those files – but I’d rather not, because that permanently alters the file itself.

SO – any suggestions on how to get Replay Gain to actually work, using Mediamonkey data?