clementine-player / Clementine

:tangerine: Clementine Music Player
https://www.clementine-player.org/
GNU General Public License v3.0
3.75k stars 676 forks source link

Add support for ReplayGain normalization #28

Closed Clementine-Issue-Importer closed 9 years ago

Clementine-Issue-Importer commented 10 years ago

From okeeblow on February 25, 2010 22:32:08

A native implementation for reading ReplayGain tags is preferable to an Amarok 1.4-style script because it eliminates the lag between a track playing and the volume adjusting.

Original issue: http://code.google.com/p/clementine-player/issues/detail?id=28

Clementine-Issue-Importer commented 10 years ago

From john.maguire on February 26, 2010 16:28:56

Labels: -Type-Defect Type-Enhancement Milestone-1.0 Component-Sound

Clementine-Issue-Importer commented 10 years ago

From 2sabio on May 15, 2010 14:46:58

Since GStreamer is used now might it be possible to 'borrow' some Rhythmbox (for example) code and have this feature before 1.0?

There exists a GStreamer plugin for that already: http://www.gstreamer.net/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst- plugins-good-plugins-plugin-replaygain.html

Not sure though how easy it is to integrate it into playback 'pipeline'...

Clementine-Issue-Importer commented 10 years ago

From davidsansome on May 15, 2010 15:17:09

Excellent, these look really easy to use!

Status: Accepted
Labels: -Milestone-1.0 Milestone-0.4

Clementine-Issue-Importer commented 10 years ago

From davidsansome on May 23, 2010 06:08:33

I've added support for reading Replay Gain tags. It's disabled by default but you can turn it on in the options dialog. There's no support for writing the tags yet, so you still have to use external tools like mp3gain.

Clementine-Issue-Importer commented 10 years ago

From davidsansome on June 18, 2010 08:45:17

Let's do the rest after 0.4

Labels: -Milestone-0.4

Clementine-Issue-Importer commented 10 years ago

From sebaminguez on April 13, 2011 13:41:28

A simple script to Normalice your collection:

!/bin/bash

echo "Use $0

function norm() { for a in * ; do if [ -d "$a" ]; then cd "$a"

clear

        echo " "
        echo "cambiando a $a"
        norm
        cd ..
    else
        echo -n '.'
        ## To erase tags uncoment this
        #mp3gain -s d "$a" || vorbisgain -c "$a"
        ## Set levels
        mp3gain -k -r "$a" 2> /dev/null > /dev/null || vorbisgain -f "$a" 2> /dev/null > /dev/null || echo "$a Format unknow"
    fi
done

}

cd "$1" norm echo " "

Clementine-Issue-Importer commented 10 years ago

From tkeswick on May 29, 2011 15:02:33

Does this enhancement request encompass adding support for writing ReplayGain tags to files? It would be a fantastic feature.

Clementine-Issue-Importer commented 10 years ago

From grjordan on May 29, 2011 15:42:03

@tkesw... yes, I do believe that is the general idea. That there should be support for Clementine to write and read replayGain to the music files. Currently, this is not the case. Clementine currently can read the tags, but not write them.

Clementine-Issue-Importer commented 10 years ago

From nutellajunkie on August 20, 2011 16:26:02

And besides, allot of our tracks, input and streams do not have this tag anyway.

Gain of some-sort would be a win-win situation to be honest.

Clementine-Issue-Importer commented 10 years ago

From pg0803 on August 31, 2011 01:21:17

An idea for potential replaygain scanning/writing:

At the moment, libebur128 uses the best implementation of a replaygain scanner, also foobar2000 has changed its own scanner to this open source library. Is there any possibility to use it in clementine?

More information: http://www.hydrogenaudio.org/forums/index.php?showtopic=86116 http://www-public.tu-bs.de:8080/~y0035293/libebur128.html

Clementine-Issue-Importer commented 10 years ago

From nutellajunkie on August 31, 2011 04:50:00

Thats a very good point the above person makes! Any decent open source code implemented into clem will get extra points :) it just means the authors of libebur128 will know its potential and keep updating.

Clementine-Issue-Importer commented 10 years ago

From john.maguire on November 08, 2011 06:33:40

Issue 2386 has been merged into this issue.

Clementine-Issue-Importer commented 10 years ago

From davidsansome on November 09, 2011 02:16:22

Issue 2391 has been merged into this issue.

Clementine-Issue-Importer commented 10 years ago

From hsantanna on December 14, 2011 12:34:30

By now im using QtGain: http://qt-apps.org/content/show.php/QtGain?content=56842

Clementine-Issue-Importer commented 10 years ago

From alphadeltapapa on January 28, 2012 14:19:30

Does Clementine use ID3v2 or APEv2 tags for ReplayGain? mp3gain uses APEv2 by default.

Clementine-Issue-Importer commented 10 years ago

From christian.perreault.2 on March 03, 2012 12:41:26

ReplayGain scanning (like Winamp does natively) is very useful. Personnally, I am waiting for Clementine to implement it to adopt it as my default music player! Should you implement it, please add two columns in the playlist metadata : track gain and album gain.

Clementine-Issue-Importer commented 10 years ago

From cclonch on September 14, 2012 08:03:19

I'm assuming in Clementine v1.0.1, the ReplayGain feature in Tools > Preferences > Playback is merely a placeholder then? Toggling it while listening to music doesn't seem to make a difference. And with it enabled, tracks with significant volume differences are still significantly different..

Clementine-Issue-Importer commented 10 years ago

From marcan+x1@marcansoft.com on September 14, 2012 20:02:02

ReplayGain does work fine for me, as long as the files actually have ReplayGain metadata. Clementine cannot add that metadata by itself, though.

Clementine-Issue-Importer commented 10 years ago

From grjordan on October 30, 2012 21:01:14

It needs to add the meta-data. Currently I have to use foobar to tag the files with replaygain so that I can use them in Clementine and my mp3 player.

Clementine-Issue-Importer commented 10 years ago

From mdosch.MD on January 25, 2013 07:16:55

Exist there any plains to make column to display the replaygain data in the playlist?

feinstaub commented 10 years ago

What about this quick temporary solution until a better one is found:

Add a menu "Tools --> ReplayGain --> |some existing GUI apps that can do the gaining|"

For example QtGain (http://qt-apps.org/content/show.php?action=content&content=56842) which seems to work quite fine. I tested it with mp3 and ogg.

Chocobozzz commented 9 years ago

I close this since the read of the ReplayGain metadata was implemented.

feinstaub commented 9 years ago

@Chocobozzz as I understand reading ReplayGain metadata is implemented. What about calculating them? I have something in mind like having a smart view that shows all non-ReplayGained files -> select all -> right click -> (Re)calculate ReplayGain.

Chocobozzz commented 9 years ago

I think a new issue for writing replay gain tags would be more readable :)