Bug 80 - volume normalization based on ID3 tag and itunes information
: volume normalization based on ID3 tag and itunes information
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: unspecified
: All All
: P2 enhancement with 27 votes (vote)
: ---
Assigned To: Blackketter Dean
:
Depends on: 1320
Blocks:
  Show dependency treegraph
 
Reported: 2003-12-19 21:55 UTC by Blackketter Dean
Modified: 2009-09-08 09:26 UTC (History)
9 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Blackketter Dean 2003-12-19 21:55:47 UTC
 
Comment 1 Jason Holtzapple 2003-12-20 09:13:50 UTC
It would be great to make any normalization work generic enough to work with 
all formats, since it seems every format has its own method - although many use 
some form of replaygain.
Comment 2 michael 2004-01-23 18:01:16 UTC
Bonus points if it can select among various tagged values depending on the
current state of various parts of the system. For example, systems based on
replaygain will typically have seperate values tagged for track/radio/mix use
and album/audiofile use, and a user may wish the system to use the former value
when the playlist is shuffled and the latter value when it isn't.
Comment 3 Dave Pilgrim 2004-08-18 15:24:38 UTC
Would be nice to have Replay Gain switchable in and out from the remote (via 
Settings perhaps) so that RG tagged files (flac in my case) could be played 
with or without application of volume normalization.
Comment 4 Julian Bashford 2004-08-20 00:33:57 UTC
I think I'm highly confused. There are two bugs I am cc'd under now - and I 
just don't understand how any user can actually effectively use Squeezebox 
without them. One is the "Various Artists" tagging issue. The other - this 
one - is essential. MC10 - like many programmes - analyzes audio when is rips 
the CD, so compilation CDs can be "attenuated" based on the volume of the 
track being burned. In this way, old and new CD tracks sound similar in 
volume. My wife keeps asking why some tracks are quiet, some are very loud. I 
explained to her, and he said "well, thats just stupid. It seems so 
obvious !". Agreed - lets get it in there !
Comment 5 Richard Palmer 2004-11-08 18:10:26 UTC
I also use MC10 to rip my CDs into Windows Lossless format which supports the 
Replay Gain Tag.

Having the SB support Replay Gain in WMA files would be very useful.
Comment 6 Simon Oosthoek 2004-12-20 10:07:36 UTC
Just to be clear, the normalize program
http://www1.cs.columbia.edu/~cvaill/normalize/ uses ID3v2.4 RVA2 tags to
indicate the replay gain value.

I hope this feature gets into the firmware at some point...

/Simon
Comment 7 Nigel Birch 2005-03-10 11:39:35 UTC
Since Squeezebox 2 supports native FLAC decoding, I guess Replay Gain support on 
the SB2 device would be needed to allow FLAC to be sent over the network (rather 
than decode to PCM with "--apply-replaygain-which-is-not-lossless=a") *and* 
Replay Gain to be used. Sean recently mentioned that Vidur was looking in to 
this (but not for the initial SB2 release).

Off the top of my head, a SlimServer work-around might be add a decode-encode 
step in SlimServer, i.e. FLAC with RG comments gets decoded with "--apply-
replaygain-which-is-not-lossless=a" then gets re-encoded at low compression with 
FLAC, then streamed over network and then decoded in the SB2. Hopefully native 
RG support will be added soon to SB2 so this isn't needed.
Comment 8 Daniel Born 2005-04-13 10:25:44 UTC
I believe the popular MP3Gain app uses APEv2 tags for its ReplayGain tags, so 
this should be read from those too I guess... :-)
Comment 9 Richard Sharpe 2005-05-07 02:22:39 UTC
I also vote for MP3Gain compatibility. It's the only way I've found thus far to
circumvent this problem.
Comment 10 Blackketter Dean 2005-06-07 11:10:02 UTC
Moving bugs that won't be immediately fixed in 6.1 release. Please review and update if this is an error 
or if this bug has already been fixed.  Thanks.
Comment 11 Julian Bashford 2005-07-20 15:14:07 UTC
This came through from Sonos today. Slim Devices should take note. They have 
stolen a march on SlimServer. This was in a mailer sent out today from them.

Volume Normalization
Music CDs are mastered at different volumes, when listening traditionally this 
is not an issue because all of the tracks on a given CD will be level relative 
to each other. Add in the power of digital music, and the ability to have 
queues of music that pull from 10s or 100s of different CDs and the result is 
that tracks with different volume levels get played next to each other 
resulting in changes in relative playback volume. Volume normalization is the 
solution to having to manually adjust the volume to have level playback volumes 
across multiple tracks. Volume normalization scans tracks and applies an up or 
down volume adjustment (in dB) so that all tracks play back with a level peak 
volume. The best way to achieve volume normalization is through a process that 
does not cause the tracks to be re-encoded (since that loses quality and is 
time consuming). This is normally done with metadata tags that are added to the 
file to tell the device playing it back how much the volume needs to be 
adjusted. Sonos now supports these tags and volume adjustment. It is important 
to note that Sonos does NOT apply the tags to the tracks. The files are 
analyzed by various 3rd party programs. The specific supported tags are listed 
below with the common programs that apply them.

Sonos will now recognize and comply with volume normalization specified by the 
following tags: iTunNORM (added by iTunes Sound Check), AverageLevel (added by 
Windows Media Player Volume Leveling to MP3 tracks), WM/WMADRCAverageReference 
(added by Windows Media Player Volume Leveling to WMA tracks), ReplayGain 
(added by FLAC or ReplayGain to FLAC tracks).
Comment 12 Blackketter Dean 2005-08-19 17:51:05 UTC
Considering for 6.2
Comment 13 Blackketter Dean 2005-08-19 17:54:30 UTC
*** Bug 127 has been marked as a duplicate of this bug. ***
Comment 14 Blackketter Dean 2005-09-16 15:58:34 UTC
This should be completely functional in tonight's 6.2 nightly release.   If you discover problems with it, 
please open new bugs.  Thanks!