PDA

View Full Version : Volume Normalization



Mr_Smiley
2006-02-24, 20:21
iTunes has a handy feature that analyzes your library and normalizes the volume throughout. I haven't seen anything in slimserver that does this. Am I missing something or is there a way to import this feature from iTunes?

aubuti
2006-02-24, 21:23
Slimserver itself doesn't do this, but it will use volume normalization that is stored in the tags/comments in the music file. For example, FLAC files have replaygain (replaygain_album_gain, replaygain_track_gain, etc.). I don't know how MP3 or other file formats handle it. What format are your files in?

Robin Bowes has a real nice Perl script that will apply replaygain tags to any flac encoded files in your music library. It's called apply_replaygain.pl, and you can search for it on this forum.

A lot of people use foobar for this instead. It appears that foobar will apply replaygain to MP3s and other formats as well as flac.

ceejay
2006-02-25, 02:25
Have a look at http://wiki.slimdevices.com/index.cgi?RGFoobar

Ceejay

James
2006-02-25, 03:29
SlimServer can use the iTunes SoundCheck tags which you may already have. See this link:
http://wiki.slimdevices.com/index.cgi?AutomaticVolumeAdjustment

Mark Lanctot
2006-02-25, 09:05
I don't know how MP3 or other file formats handle it.

MP3Gain (http://mp3gain.sourceforge.net/) can apply ReplayGain tags to MP3s.

Other applications for other formats are listed here (http://wiki.hydrogenaudio.org/index.php?title=Replaygain). Besides FLAC and MP3, there are applications for MPC, Ogg Vorbis and WAV.

The FLAC encoder can apply track gain entirely on its own as it encodes and the resulting data can be read by SlimServer. Apparently LAME can as well, but that data cannot be used by SlimServer or any other player currently.

Mr_Smiley
2006-02-25, 09:59
I've read the wikipedia where it says it can use the iTunes volume settings, but I can't seem to find the option in slim server. If it's a smart option and is always on then it's not working. Also, in reading the forums about replay gain it's been posted that there's an option in slim server to turn it off or on. I can't find this one either.

radish
2006-02-25, 10:56
It's on Player Settings/Audio, right at the bottom. That's with the current version of SS (6.2.1).

Mr_Smiley
2006-02-25, 11:54
Thanks. Now that I think about it I did know about that setting. My test database didn't have a player connected so I couldn't peruse that area. However, I still can't find anything about using iTunes volume adjustment like the wikipedia suggests. I used foobar to add replay gain on my test database. I used the newest version and tested the tag writing like it was suggested. Things worked great so I set it up to run on the whole database last night. It screwed up over a third of my tags. Glad I didn't do it on my main database.

Brian Ritchie
2006-02-25, 12:30
MP3Gain (http://mp3gain.sourceforge.net/) can apply ReplayGain tags to MP3s.

Other applications for other formats are listed here (http://wiki.hydrogenaudio.org/index.php?title=Replaygain). Besides FLAC and MP3, there are applications for MPC, Ogg Vorbis and WAV.

The FLAC encoder can apply track gain entirely on its own as it encodes and the resulting data can be read by SlimServer. Apparently LAME can as well, but that data cannot be used by SlimServer or any other player currently.

I use foobar's option to calculate replay gain. This appears to add replaygain tags (both for track and album gain) to WMA files (though I can only see them using DBPowerAmp); but SlimServer seems to ignore them (or, since it doesn't show them in Track Info views, it just doesn't see them).

Brian

hdarwen
2006-02-25, 17:16
out of interest, how did it screw up your tags? (i.e. what happened to them)

----- Original Message -----
From: "Mr_Smiley" <Mr_Smiley.23stlo1140893702 (AT) no-mx (DOT) forums.slimdevices.com>
To: <discuss (AT) lists (DOT) slimdevices.com>
Sent: Saturday, February 25, 2006 6:54 PM
Subject: [slim] Re: Volume Normalization


>
> Thanks. Now that I think about it I did know about that setting. My
> test database didn't have a player connected so I couldn't peruse that
> area. However, I still can't find anything about using iTunes volume
> adjustment like the wikipedia suggests. I used foobar to add replay
> gain on my test database. I used the newest version and tested the tag
> writing like it was suggested. Things worked great so I set it up to
> run on the whole database last night. It screwed up over a third of my
> tags. Glad I didn't do it on my main database.
>
>
> --
> Mr_Smiley
> ------------------------------------------------------------------------
> Mr_Smiley's Profile: http://forums.slimdevices.com/member.php?userid=3213
> View this thread: http://forums.slimdevices.com/showthread.php?t=21468
>
>

Siduhe
2006-02-26, 06:09
out of interest, how did it screw up your tags? (i.e. what happened to them)


In my experience, it depends on how you've tagged them in the first place. I recently applied ReplayGain tags through foobar2000 to a 6000+ library. All of those tagged with a combination of MusicBrainz and Tag & Rename were absolutely fine.

I also had a few files tagged with other programs or as downloaded which got messed up - a few tags disappeared and a few just had gibberish in them (a few recognisable characters and then lots of symbols).

Eserim
2006-02-26, 10:56
Just a point - if you do add the tags you do need to re-scan for changes as all the tag fetails are stored in the database, not read from the file.

Robin Bowes
2006-02-26, 16:29
aubuti said the following on 02/25/2006 04:23 AM:
> Robin Bowes has a real nice Perl script that will apply replaygain tags
> to any flac encoded files in your music library. It's called
> apply_replaygain.pl, and you can search for it on this forum.

http://robinbowes.com/projects/apply_replaygain

R.

Mr_Smiley
2006-02-26, 17:20
Foobar deleted my ID3v2 tags leaving only v1 on about a third of my files. It also clipped some of the longer artist names. And to top it all off it added varius simbols to the end of most of the artists, albums and titles.

Robin Bowes
2006-02-26, 17:40
Mr_Smiley said the following on 02/27/2006 12:20 AM:
> Foobar deleted my ID3v2 tags leaving only v1 on about a third of my
> files. It also clipped some of the longer artist names. And to top it
> all off it added varius simbols to the end of most of the artists,
> albums and titles.

Sounds like you need to configure foobar to write ID3v2 tags and not
id3v1 tags (which have a length limit).

R.

street_samurai
2006-02-26, 23:40
My suggestion is to upgrade to the newest beta of Foobar (even if its only to tag your catalog). The replaygain section of the program has changed significantly since the last stable release and the latest beta adds some cool options for Replay-Gain like scan for Album Gain by directory, by tags or by selection.

You can get it here:

http://www.foobar2000.org/beta/

The added bonus is that it doesn't screw up your tags.

I had to re-tag over a third of my collection from this foobar issue in 0.8.3 =(

ss.

hdarwen
2006-02-27, 12:40
you need the id3v2 tag support component, and you need to set "write v1 &
v2" tags in preferences/standard inputs ... also on the id3v2 preferences
make sure you select whether you want ISO ot UTF tags (default setting is
UTF i think).

it workd fine for me on 12K tracks ...

----- Original Message -----
From: "Robin Bowes" <robin-lists (AT) robinbowes (DOT) com>
To: <discuss (AT) lists (DOT) slimdevices.com>
Sent: Monday, February 27, 2006 12:40 AM
Subject: Re: [slim] Re: Volume Normalization


> Mr_Smiley said the following on 02/27/2006 12:20 AM:
>> Foobar deleted my ID3v2 tags leaving only v1 on about a third of my
>> files. It also clipped some of the longer artist names. And to top it
>> all off it added varius simbols to the end of most of the artists,
>> albums and titles.
>
> Sounds like you need to configure foobar to write ID3v2 tags and not
> id3v1 tags (which have a length limit).
>
> R.
>
>

Mr_Smiley
2006-02-28, 17:58
I'm trying out MP3gain at the moment. We'll see how that works. The item I'm most interested in, no one's posted any info about. Any one know about using iTunes track volume settings in slim server.