Perhaps I am confused here, but I would think that a server-side fix
could be implemented as follows:

If the file has no replaygain tags, do nothing.

Else, if the file has replaygain tags, calculate from the track peak
and track replaygain whether the adjustment will make the track clip. 
If it will, replace the replaygain with the maximum possible value that
will not cause clipping.  Perform the same function for the album
replaygain.

Send the file along and let the player apply album, track, or no
replaygain based upon its settings.

I believe that this will not be particularly resource-intensive on the
server, because it really only has to perform the calculation when the
replaygain value is positive.

Are there other ways to apply positive gain in the digital domain other
than through a replaygain adjustment?  Unless we are applying positive
digital gain we cannot cause digital clipping (bit overflow), correct? 
Digital clipping may have occurred earlier in the recording chain, and
we may have "flat" peaks, but that damage is done, and whatever
information we have left by definition fits within the 16 bits we have
(or 24, or 48, or whatever the file contains).  Am I missing something
here?


-- 
jeffmeh
------------------------------------------------------------------------
jeffmeh's Profile: http://forums.slimdevices.com/member.php?userid=3986
View this thread: http://forums.slimdevices.com/showthread.php?t=30316

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to