Reply
Administrator
Posts: 524
Registered: ‎07-20-2007

Replay Gain: A how to informational

[ Edited ]

 

What is it?

 

Replay Gain is a method for keeping the perceived volume level constant during playback of diverse content.  Typically, Albums are mixed and targeted to differing average volume levels.  During playback in shuffle mode there can be wide differences in the track output volume, causing the user to make frequent corrections to the volume level.

 

Sansa's Replay Gain is a method whereby average volume playback level is kept consistent automatically.

 

The difference in the volume level vs. a reference (typically 89dB) is stored in the track metadata fields and is used by the Sansa to adjust the volume control to produce a uniform level.  It should be noted that our implementation does not modify the actual music samples.  It extracts the level adjustment in decibels (dB) from track metadata and applies an adjustment to the output volume control.

 

Software on the user’s computer analyzes the tracks to produce the Replay Gain values for embedding in the metadata.  The Sansa implementation follows the 2001 proposed Replay Gain standard which is detailed at: 

 

http://www.replaygain.org/

 

More information on ReplayGain can be found on Wikipedia at:

 

http://en.wikipedia.org/wiki/Replay_Gain

 

The Sansa's implementation was tested to work for all of its supported non-DRM formats (MP3, WMA, OGG, FLAC) using MediaMonkey.  MediaMonkey is a free media manager application which can be downloaded at: 

 

http://www.mediamonkey.com/

 

Replay Gain for DRM Protected tracks (ie Rhapsody / Napster/ Netlibrary/ Audible) as well as SanDisk SlotRadio content is not supported. 

 

The subscription sites may apply their own track leveling.

 

SanDisk SlotRadio content has been volume leveled in advance at a reference of 89 dB.

 

How do I use Replay Gain?

 

On your Computer:
First you need to analyze the tracks in your library.  Download the MediaMonkey software and add your Music collection to the Manager. 

 

Configure the MediaMonkey “Volume Leveling” options under Tools>Options>Volume Leveling.  You can specify to also analyze the Album volume (otherwise known as “Audiophile Volume” ) when doing the Track Analysis. “Album volume” computes an average correction for all the tracks that comprise an album. Album Gain is supported by the Sansa Device as well as the Track Gain method.

 

Select your music files and then select “Tools> Analyze Volume”. This will perform the volume level analysis based on the options you have set up.  It will write the Replay Gain values to the ID3 tag for MP3, Vorbis Comments for OGG or FLAC, or WMA header for WMA content.  This action can take a long time depending on the size of your collection.   It’s best to run the program overnight to do a large collection.  You do not need to “Level Track Volume” which will apply the correction to MP3 files’ data.

 

Note:  Sansa Devices do not support APEv2 tags used by MP3Gain.

 

On the Player:
Once your files have been analyzed you can transfer them to the Sansa Player. 
To enable/ disable Replay Gain: select Music Options>Replay Gain.  Select the Mode to be “Song”, “Album”, or “Off”.  The Off setting will not apply any corrections to the volume level regardless of the Replay Gain values found. If Album mode is selected but Album Gain values are not present, Track Gain values will be used if available.

 

There is a “Pre-Gain” setting which allows you to adjust the overall Playback Volume level upward to compensate for the “average” level of your library’s track adjustment.  For example, if your collection is mainly classical or soft songs, you should use a Pre-Gain of 0 dB, since the average level is likely to be close to 89 dB.  For Hard Rock / Hip Hop collections, the Replay Gain values will be more negative, (meaning the song is above the 89dB target) like -8 dB. In this case, higher Pre-Gain level such as 4.5 dB can be used. You can compensate the overall gain level upward in 1.5 db steps up to a maximum of +12 db.  Pre-Gain is NOT applied to tracks that have no Replay Gain values available. Pre Gain is helpful for matching Replay Gain adjusted content with Rhapsody or Napster Protected Content that may be both present on the player.

 


 

Viewing the Replay Gain values on the Sansa:
You can conveniently view the Replay Gain values for your currently playing track by accessing the Music options (down arrow) and scrolling to the second page of the “Track Info” screen.  If there is no Replay Gain value present these items will not be shown

Message Edited by slotmonsta on 11-17-2009 10:38 AM
Newbie
Posts: 3
Registered: ‎11-13-2009

Re: Replay Gain: A how to informational

I assume in the above I can read CLIP for FUZE.

 

I have an MP3 file, that has been through mediamonkey, and clip is showing a Track gain of 3.38dB.  Yet if whilst playing I change "Replay Gain Mode" between OFF, SONG, ALBUM, I perceive no difference in volume.  If I change "PreGain" from 0-12dB with "Replay Gain" on SONG, I still get no difference in volume.  What am I doing wrong?

 

 

Newbie
Posts: 2
Registered: ‎11-18-2009

Re: Replay Gain: A how to informational

Same stuff with me. I already analize all my libraby and update my clip+ but still the replay gain don't do any difference with the volume. What's up with that?? It took me a entire night doing that just for nothing. Smiley Frustrated
Newbie
Posts: 8
Registered: ‎11-12-2009

Re: Replay Gain: A how to informational

Media Monkey in my opinion, a not particularly flexible program for managing music files and not very well configurable.

Please support other players such as Foobar2000 and the firmware has a bug fix necessary. The tags for Foobar2000 be misinterpreted and lead to values such as -45.03db in firmware version V01.01.05F!

ReplayGain values in foobar2000:
Track Gain +4.93dB
Album Gain +5.64db

Sansa Clip+ values:
Track Gain: -45.70db
Album Gain: -44.36db

When will there be a fix for?
There are also other errors.
http://forums.sandisk.com/sansa/board/message?board.id=clipplus&thread.id=1532

The information will be followed after TXXX (User defined text information) frames of the keywords 'replaygain_track_gain', 'replaygain_track_peak', 'replaygain_album_gain' and 'replaygain_album_peak' stored.

http://h.imagehost.org/0793/foobar2000-gain.png



The advantage of Foobar2000 is, all the ReplayGain values can be read as a person and the user has a better control.

A look at the features and plug-ins worth it.

Newbie
Posts: 1
Registered: ‎12-13-2009

Re: Replay Gain: A how to informational

[ Edited ]
Thank you for the instructions. I processed the files as described and moved them to the Clip+. With Replay Gain disabled everything works fine. It also appears to work with Album gain. With Song gain enabled, when the current song finishes the display advances to the next song and does not show that is is paused but the song does not play nor does the elapsed time advance. I am unable to skip to the next song. I have to turn off the Clip+ to reset it. When I turn it back on and disable Replay Gain then all is well again. Have I done something wrong? Might there be a bug in the firmware in this area? Thank you in advance...
Message Edited by wreinert on 12-13-2009 10:12 AM
Message Edited by wreinert on 12-16-2009 07:22 AM
Newbie
Posts: 3
Registered: ‎12-15-2009

Re: Replay Gain: A how to informational

 

I've found a very strange bug. It only occurs on RG values lager than zero db and smaller than ten db.  

 

 

If i apply a RG value of lager or equal than 10 db it is recognized correctly by the player. if it is in the range mentioned above, it substracts about 40 or 50 dB from the original value. WTF?  

 

 

It also reads the value lower than zero db correctly.  

 

what i found is, that the clip does apply RG values to the volume. If you change the RG settings you have to go back to the home menu, and click yourself to the files in question. Seems to be in the software. 

 

but please fix this bogous RG readings.... 

 

btw, the rg values were applied via Foobar2000 in MSC mode (if that helps)

Newbie
Posts: 12
Registered: ‎12-17-2009

Re: Replay Gain: A how to informational

I have also had a problem with some tags from Foobar2000; a tag of "+0.61" is read by the Clip+ as "-49.39".

 

I followed the instructions from this thread and removed the "+" sign:

 

http://forums.sandisk.com/sansa/board/message?board.id=sansafuse&message.id=23962

 

The Clip+ now reads the Replay Gain as "2070.61" and, of course, much too loud. I inserted a space where the "+" had been (" 0.61") and the Clip+ reads it correctly.

 

I installed Media Monkey and it does appear to write correct tags; I really like Foobar2000 and I don't like having to install another program.

Newbie
Posts: 5
Registered: ‎12-17-2009

Re: Replay Gain: A how to informational

I just posted about the same problem Wreinert. I wonder if this is a widespread problem or not. All i know is that it's very frustrating.
SanDisk Guru
Posts: 4,898
Registered: ‎11-17-2008

Re: Replay Gain: A how to informational

Read the thread people.....the Replay Gain for the Sansas is designed to work with MediaMonkey, not foobar2000. The two programs clearly differ in how they implement ReplayGain data.....so if you're doing your ReplayGain analysis with foobar, don't get upset when it doesn't work.Smiley Wink

 

Those of you who are using Mediamonkey, if it's not cooperating with you, then perhaps there is a bug of some sort. There should be a firmware update sometime in the next month or so,so let's keep the discussion alive so the devs know to address it.Smiley Happy

 

 

iPod Touch 5G 32GB, Touch 4G 32GB, Clip Sport 8GB.
Rockbox-> Clip Zip 4GB, iPod Nano 2G 4GB, iPod 5.5G 80GB
2012 Nexus 7 32GB, Asus MeMoPad 8 16+64GB, LG Optimus G Pro, Nokia Lumia 900, Nokia Lumia 520

SanDisk Guru
Posts: 4,898
Registered: ‎11-17-2008

Re: Replay Gain: A how to informational


Kabel wrote:

Media Monkey in my opinion, a not particularly flexible program for managing music files and not very well configurable.


What is it that you can't do with  Mediamonkey that you do with foobar, asides from tweak the way that it looks? They both play music, they both are capable of ripping and converting it.....what else do you like to do with foobar?

iPod Touch 5G 32GB, Touch 4G 32GB, Clip Sport 8GB.
Rockbox-> Clip Zip 4GB, iPod Nano 2G 4GB, iPod 5.5G 80GB
2012 Nexus 7 32GB, Asus MeMoPad 8 16+64GB, LG Optimus G Pro, Nokia Lumia 900, Nokia Lumia 520