Hi
Looking for some advice for the best tool (and method) to add replaygain tags to my local flac and mp3 files.
I was initially looking at this script here, https://www.bobulous.org.uk/misc/Rep...ating-metaflac, that uses metaflac, but then cam across this github request, https://github.com/xiph/flac/issues/96, suggesting that metaflac is using outdated algorithms for calculating track volumes.
I am aware of Foobar2000 but didn't know if it was the best tool to use.
Ideally I would like a script I can use to point at an album directory and add track and album replaygain tags automatically.
What are people's preferred method of adding replaygain tags to both flac and mp3 files?
Thanks!
Results 1 to 5 of 5
Thread: Replay Gain Advice
-
2022-06-03, 10:16 #1
- Join Date
- Sep 2020
- Posts
- 63
Replay Gain Advice
-
2022-06-03, 10:22 #2
- Join Date
- Nov 2012
- Posts
- 273
Using: Win10 64 + LMS 8 & Duet & ipads w/the logitech app, and ipeng on an ipod
http://wiki.slimdevices.com/index.ph..._Artists_logic & http://wiki.slimdevices.com/index.php/Compilations
-
2022-06-03, 10:38 #3
- Join Date
- May 2008
- Location
- United States, Florida
- Posts
- 12,732
foobar2000 does an excellent job of adding RG tags in a bulk manner. Highly recommended. I use dbpoweramp for adding when ripping, but foobar2000 for after the fact adding RG tags.
Home: Pi4B-8GB/pCP8.x/4TB>LMS 8.2.x>Transporter, Touch, Boom, Radio (all ethernet)
Cottage: rPi4B-4GB/pCP8.x/4TB>LMS 8.2.x>Touch>Benchmark DAC I, Boom, Radio w/Battery (Radio WIFI)
Office: Win10(64)>foobar2000
The Wild: rPi3B+/pCP7.x/4TB>LMS 8.1.x>hifiberry Dac+Pro (LMS & Squeezelite)
Controllers: iPhone11 & iPadAir3 (iPeng), CONTROLLER, Material Skin, or SqueezePlay 7.8 on Win10(64)
Files: Ripping: dBpoweramp > FLAC; Post-rip: mp3tag, PerfectTunes, TuneFusion; Streaming: Spotify
-
2022-06-03, 11:43 #4
- Join Date
- Jun 2017
- Posts
- 759
I use a command line tool, loudgain, which was recommended by someone in these forums. The github page includes directions for building and installing.
Once installed, this command adds track and album gain tags to all mp3 files in the current folder:
Code:loudgain -I3 -S -L -a -k -s e *mp3 | tee -a gain.txt
Code:loudgain -k -a -s e *.flac | tee -a gain.txt
The part of the command following the bar is optional, It simply creates a text file in the folder containing all the gain settings that have been applied.Usually running latest beta LMS nightly on Raspberry Pi OS with virtual players (Squeezelite and Airplay bridge). Occasionally using SB Radio, Boom or Classic.
-
2022-07-14, 01:19 #5
- Join Date
- Jul 2010
- Location
- Paris, France
- Posts
- 180
loudgain seems intersting.
I use metaflac, vorbisgain and mp3gain, but loudgain seems to be the best of both worlds.
For opus, I used foobar2000 on linux with wine. It works fine except that it seems that resulting sound volume is lower than with mp3 or flac and replay gain is not showed in LMS.
I use foobar for replaygain only for opus files, so I don't know if it's the case with other file types.
I have a little script that scans all the library and keeps a time stamp of the last time the script has runned, in order not to recalculate all the replaygains!
I'll try loudgainLMS 8.x.x
on Linux Mageia 8 and RPI 3
1 SB3, 2 radio, 1 touch, 1 transporter SE, 1 chromecast audio
Plugins : Trackstat, Smartmix, MusicIP, ...