rembo10 / headphones

Automatic music downloader for SABnzbd
GNU General Public License v3.0
3.41k stars 600 forks source link

Replaygain as a postprocess option #131

Open Mar2zz opened 13 years ago

Mar2zz commented 13 years ago

Feature-request: Kinda important I think, replaygain saves ears and speakers. Here more info about it: https://secure.wikimedia.org/wikipedia/en/wiki/Replay_Gain

Several python-librarys are allready available, maybe it's easy to implement. http://audiotools.sourceforge.net/programming/audiotools_replaygain.html http://pypi.python.org/pypi/rgain

I can't live without it, my entire collection is rpgained by tags. There is no need for reencoding, just make it scan those files and let it add tags for Replaygain. Most modern players recognize them and adjust volume automatic to ~89dB for every song or album.

sbuser commented 13 years ago

I have this working on my win32 install. I used the rgain library from above.

Annoyingly it uses gst which requires gtk which has a bunch of dependencies. The fastest way to get this up and running on windows is with the all-in-one Python 2.6 distribution from this link: http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/

Then install the gst package from here: http://code.google.com/p/ossbuild/downloads/list - I believe I used the all-in-one package.

Note that I don't think they have gst bindings for Python 2.7 so it's 2.6 or bust.

I believe the required dependencies are standard or easy to get in most linux distros... let me know if you're interested in this and I will try to figure out how to merge the replaygain branch...

tojnk commented 11 years ago

+1

I am currently using this command line tool to set the replaygain tags: https://github.com/DarwinAwardWinner/rganalysis