v17 replaygain doesn't seem to be working
#76
Thanks for the tips.

I've done a test run with Foobar2000 and it seems straightforward to use. I'm setting both Album and Track Replaygain Tags with the Album setting based on select by tag. I play music both randomly and by album so need both at different times.

Thanks
Reply
#77
Hi Guys
I have some queries

1)Should I use apply gain with clipping or just gain??

2)dbamp set to 0 which is 89db or should I use another number ?

3) I dont understand where foobar save the tag on id3 or ape? I want to use id3

4)is it dangerous to set both Album and Track Replaygain ?
Reply
#78
I'm no expert but this is what I'm doing....

1. Just applying gain and not bothering about clipping.

2. The de facto standard seems to be 89db and this is what I use.

3. Foobar saves the tag in the metadata part of the music file. The default, I think, in Foobar is for ID3v2.3 tags to be written. You can check or alter this in Foobar by going to Files>Preferences>Advanced>Tagging>MP3

4. You can set both Album and Track Replaygain. Within Kodi you have the option to set the default as one or the other. If you listen to random music then I would suggest setting it to Track Replaygain. If you're going to listen to complete albums, then set it to Album Replaygain.

The replaygain tags are non destructive and don't affect the original levels. Rather the values are picked up by the player and used to adjust the pre amplification to produce a perceived constant 'volume'. Some programs, such as MP3Gain do have the ability to actually apply the gain settings to the music data file itself and this could be useful if you playback the music via a program that does not read and use the replaygain tags. However, you've now destroyed the original data - unless you've taken a backup.
Reply
#79
Just want to chip in here and let users know of a potential alternative that I use that is (somewhat) linked to Foobar2000...

If like me, you simply can't get your head around Foobar2000 and want a method slightly simpler, try dbPoweramp's Batch Converter with the ReplayGain Plugin/'encoder'. The [ReplayGain] 'encoder' does not alter the audio data in any way, it simply adds the relevent tags to the ID3 tags of your music files, and that's it. It supports Album Gain, Track Gain, Album/Track Peak and ItunesNORM tags. Combinations of all of these are selectable and it also suppports the 'EBU-R128' method algorithm that is supposed to be superior even to the ReplayGain standard while still writing the calculated values using standards-compliant 'ReplayGain' ID3 tags. It will also work on ID3v2.3 and ID3v2.4 tags without issue.

The only caveat(s) with dbPoweramp is it's not free. The other being that it uses a 2-pass approach. 1st pass to calulate the values, and second pass to actually write them to the source files. However the UI has no progress indication for the second pass, so it can appear as if the converter has 'hung' when processing large amounts of files at the same time. Reason being the 1st pass is run on all selected files, then the 2nd pass is run on the whole file list again. Progress (and the ability to cancel/back-out) is only available for the duration of the 1st pass, so once it's visually 'complete', it proceeds to write out the calculated values on a per-album basis to all the tracks selected. This can induce a considerable delay. Best to run this one overnight if processing a whole library at once. It also tends to baulk on files with even the simplest of errors, so I generally run my files through MP3Diags first (for MP3 files only).

My collection consists solely of FLACS and MP3s as I found out (to my own cost), that M4A's are not nearly as resilient to corruption as I initially thought they would be, especially when using Rsync-type tools to move them about on my network, and the tools simply do not exist to recover M4A's that exist for MP3s. YMMV.

For those who use MusicBrainz Picard to tag their collections, your going to want to do any ReplayGain adjustments AFTER tagging, as by default MB-Picard will strip any tags that it doesn't recognize unless those are added to it's list of exclusions. That is true for ReplayGain tags and also ITunesNORM tags (if added/selected).

On a side note; MP3Gain does not generate ReplayGain tags or calulate gain in the sense that we are trying to do here. It actually NORMALISES the source audio data then adds seperate non-standards-compliant OGG Vorbis comments (EDIT: It may actually be APE tags, it's been a while since I used MP3Gain, so I don't rightly remember) to the end of the file with 'undo' information, so that in theory the changes can be reversed if desired. The effectiveness of such a reversal is debatable at best, not to mention the fact that many tagging tools (MusicBrainz included) also strip / remove non-standards-compliant Vorbis tags from MP3 files by default. This would then leave you with uncorrectable modified files. MP3Gain is somewhat outdated these days as it was developed primarily to cater to those who had legacy 3rd-party devices that did not natively support the ReplayGain standard / tags. I think in this day and age that's going to be a very small niche group of people.

Another (Free) alternative is Winamp. Winamp is able to calculate ReplayGain track and Album gain tags. I can't remember offhand whether it also writes 'peak' values, but it definately does write the other two. The only issue here is I think Winamp will only work on files currently located in the active playlist, and it's not automatic as far as I can remember, so using it might be somewhat tedious on a large library, but it will work.

Smile

Gib.
Image
DT: Intel Core-i7 - 4770K / Nvidia GTX-980 Ti | HTPC: Intel Core-i5 - 4670K / Nvidia GTX-950 | LT: Asus N550JK-CM531H
TV: Sony KDL-40EX524 | AVR: Onkyo TX-NR515 | SPK: 2x Pioneer CS-7070 / 3x Tannoy F1 Custom
Reply
#80
I didn't know dbpoweramp. I will search it . I am looking for download sync lyrics automatically too. Maybe a shareware software can help for that as well.
Reply
#81
I would like to make an addition to this thread with some possible solutions for all who claim that replaygain isn't working. If you want to skip my ramblings and explanations, just apply the solution printed in bold.

I've struggled myself for a long time to understand all the implications and think that I can now make some valid suggestions. Beware, though, there is probably no solution that works the same for everybody since the best settings depend on what kind of music you listen to and how you listen to it.

There are several factors which play a role in this and if you want to get some background, read up on Wikipedia or the internet in general on the following topics: Loudness Wars and Dynamic Range.

Just a few technical things.

1. 100db is taken as the maximum loudness value up to which no distortion occurs. Modern recording equipment can get much closer to this theoretical value than was possible 20 years ago when engineers had to leave more "headroom". That means, modern recordings are in general louder than older recordings.

2. Most modern recordings of pop music have a low dynamic range. Dynamic range (DR) is the difference between the quietest and the loudest sound in a recording. Classical music and jazz music typically have a high dynamic range, pop music used to have a high dynamic range when musicians still played real instruments and sound engineers didn't mix for headphone listening while skating on the boardwalk. For an awesome effect of high dynamic range listen to either the beginning of Pink Floyd's "The Happiest Days of our Lives" from the Japan Blackface CD pressing which has a DR of 16 or Flim and the BB's "Tricycle" with a DR of 20 which will blow your speakers away if you set them too high when the drums set in.

Too cut a long story short, modern recordings with a low DR will sound subjectively even louder since the volume never goes below a certain threshold. Electronic music is know too have a dynamic range between 3 and 5.

3. If you mainly listen to music from the same period, chances are that you won't complain about replaygain because to you all tracks will sound about the same volume. Things get tricky when you listen to a wide range of music, like pop from the Beatles area up to today. In this case the predefined settings will not be able to normalize volume between tracks and older music will sound distinctively quieter. You will also notice this if you burn a CD with such mixed music or your car and you constantly have to adjust volume manually.

Now that you have read all this, understanding replaygain fully is just two logical steps away. Someone at some point decided that the preamp volume reference should be set to 89db. That was a long time ago, though, when music at its loudest was indeed around that value and slight variations would be caught. But as we learned before, today's music is much closer to 100db. Since we're talking about AMPLIFICATION that means, older music will only get (pre-)amplified ever so slightly while modern music will remain louder (dynamic range plays a role in this, too, not only volume).

Now the solution is simple, you will need to ramp up the preamp volume. A lot. Set preamp to 95db for files with replaygain information and make sure all your files actually HAVE such tags. Leave the other value at 89db just to be sure not to amplify anything that is already very load. You should not have files without replaygain info, anyway.

If you mainly listen to mixed playlists, choose "Track levels". If you usually listen to whole albums choose "Album levels".

Personally I disable clipping protection as 95db should not lead to distortion on good equipment (24bit recordings should never clip) and there have been reports that it might impact sound quality. Those reports are old, though, and might have to do with processing power which wasn't as good as today back then.

Anyway, I hope this is useful since the replaygain question seems to be one of the most asked when it comes to music playback and is therefore probably life-critical in a First-World-problem sense.
Reply
 
Thread Rating:
  • 0 Vote(s) - 0 Average



Logout Mark Read Team Forum Stats Members Help
replaygain doesn't seem to be working00