One album at a time; I usually do it immediately using -Mp3tag- and some
batch file export (even before -Picard- gets a hand on the files to
store them away in the final folder structure).

Tools like -metamp3-, -metaflac- and -vorbisgain- just take what you
give them and assume that to be »an album«, for the sake of calculating
the »album gain«. So this just cries for some automation, especially if
you have scattered files from VA albums all over the disc (under the
artists folders, that is, in my case).

If you use a good tagger and have tagged your collection wisely, even
larger collections can be RG'ed without problems: I recently let my
Mp3tag/Batch loose on my ~24,000 track collection (mixed FLAC, MP3,
OGG) and what can I say? Took some days but -not one glitch-.

The Mp3tag Export file is not really »fit for publishing«, has lots of
»hard-coded« references to folders on my machine, and the resultant
text file needs to be converted and handled by another batch process
(mainly -type- it into another file to get rid of Unicode/charset
issues, and execute the resulting batch file), but to give you an idea,
here it is:

Code:
--------------------
    $filename('C:\Programme\Mp3tag\Process-Data.txt',utf-16)@ECHO OFF
  REM Remove old and calculate new Track (=Radio) and Album (=Audiophile) 
Replay Gain for all files marked.
  REM Uses Tycho''s "metamp3.exe" v0.92 beta 5, vorbisgain v0.34, metaflac 1.2.1
  REM Will only operate on .mp3 files with ID3v2.3 tags in ISO-8859-1 encoding! 
(No UTF support yet.)
  REM Will also operate on .ogg (Vorbis Type I) and .flac files.
  REM At least '%artist%, %title% and %album%' must be set for Album Gain to 
function correctly!
  $loop($if2(%albumartistsort%,%artist%) - $if2(%album%,'['unknown']'))
  ECHO.
  ECHO ALBUM: "$replace($if2(%albumartistsort%,%artist%) - 
$if2(%album%,'['unknown']'),'%','%%')"
  $loop($num(%track%,2) 
%title%.%_extension%)$puts(fm,$get(fm)$if($eql($lower(%_extension%),'mp3'), 
"$replace(%_path%,'%','%%')",))$puts(fo,$get(fo)$if($eql($lower(%_extension%),'ogg'),
 
"$replace(%_path%,'%','%%')",))$puts(ff,$get(ff)$if($eql($lower(%_extension%),'flac'),
 "$replace(%_path%,'%','%%')",))$loopend()$iflonger($get(fm),0,
  ECHO Calculating MP3 Replay Gain...
  "C:\Programme\Tools\metamp3.exe" --2 --remove TXXX'[replaygain_*]'$get(fm)
  "C:\Programme\Tools\metamp3.exe" --2 
--replay-gain$get(fm),)$puts(fm,)$iflonger($get(fo),0,
  ECHO Calculating OGG Vorbis Replay Gain...
  "C:\Programme\Tools\vorbisgain.exe" --quiet --clean$get(fo)
  "C:\Programme\Tools\vorbisgain.exe" --quiet 
--album$get(fo),)$puts(fo,)$iflonger($get(ff),0,
  ECHO Calculating FLAC Replay Gain...
  "C:\Programme\Tools\metaflac.exe" --remove-replay-gain$get(ff)
  "C:\Programme\Tools\metaflac.exe" --add-replay-gain$get(ff),)$puts(ff,)
  $loopend()
  
--------------------

Needs to be saved as something like »Batch - ReplayGain force new
calculation (Album+Track).mte« in Mp3tag’s »exports« folder, and
to be changed according to your setup. Be aware that every blank,
comma, and parenthesis -is- important … so maybe just for those
strong of heart :-)

Also, this will -only- be able to calculate correct album gain if -all-
tracks of an album are actually included in Mp3tag's selection. So best
use it either on a single album, or on the whole collection. (Backup,
no guarantee, etc. …)


-- 
Moonbase

Moonbase: 'The Problem Solver' (http://www.kaufen-ist-toll.de/moonbase)
------------------------------------------------------------------------
Moonbase's Profile: http://forums.slimdevices.com/member.php?userid=21594
View this thread: http://forums.slimdevices.com/showthread.php?t=57051

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to