View Full Version : Calculating album gain through command line

10-18-2008, 04:54 AM

currently I use the CLI of dmc in a python script I'm writing. I convert a bunch of flac files to mp3 currently one at a time using something like this:

CoreConverter.exe -infile="%s" -outfile="%s" -convert_to="mp3 (Lame)" -V %s -dspeffect1="ReplayGain=-albummode={qt}0{qt}"

Now I would really like to calculate not only the track gain but also the album gain of all files I'm converting. Using "-albummode={qt}1{qt}" won't really work because every file conversion is a separate operation.

Does anyone has an idea how I can achieve this?


10-18-2008, 05:25 AM
Not possible through the command line (the graphical dMC in the background creates a job number and calls the DSPs pre and post batch of files to generate the album gain).