As you know, ReplayGain can't be applied to DTS tracks, as it wrecks the
DTS coding and produces just white noise.  This frustrated the hell out
of me, since when a DTS track played on my system (about 18k tracks on
shuffle) I would often have to race for the remote volume control to
bring it down to the level of my ReplayGain-adjusted stereo tracks.

The easiest way I could think of to fix this problem was to split the
DTS tracks into 6 mono components, adjust their gain to (roughly) match
my stereo tracks' level, then re-encode the mono files to DTS.  Trouble
is, with over 800 DTS tracks, this would be a horribly time-consuming
task.  But after stumbling across a freeware program, WaveGain, I saw a
possible solution...

I could automate most of the required steps (split, scale, re-encode)
using a batch file.  But there were a few stumbling blocks.  WaveGain
was intended for scaling stereo wav files, not a set of 6 mono files. 
And my DTS encoder (Surcode CD Pro DTS) doesn't support command-line
execution (and doesn't even have keyboard shortcuts, which might have
allowed a keyboard simulator to drive it!).

The first problem was overcome by e-mailing the author of WaveGain who,
fortuitously, happened to want to do a similar thing on his own surround
sound files.  So he kindly modified WaveGain especially for surround
sets of mono files, producing the special version WaveGainS.  The
second problem wasn't so easily solved...

I e-mailed Minnetonka Audio Software, and after some discussion they
indicated it may be some time before they release a command-line
capable DTS encoder version.  [If you want to get rid of the 'nasty'
bits of my automated process, I suggest you hammer their enquiry web
page with requests for a command-line version, so they can gauge the
extent of the demand, which might speed them up a little.]

By a further bit of serendipity, I read in a PC magazine about Sikuli,
a magic piece of software that automates on-screen button-clicks and
other things.  With a bit of trial-and-error I soon had it 'clicking'
the start button of Surcode and then (when encoding completed)
'clicking' the close button.

As mentioned in the supplied notes (Scale.pdf) this is a fairly fragile
process, but it's the best I can do with available software.  I ran the
batch file on my system (over a few days while I was away), and ended
up with most of my DTS tracks scaled to a similar volume as my stereo
tracks.

There were several tracks (one whole CD, plus one track from another
CD) that Tranzcode failed to correctly spilt (the single track it
decodes as stereo, even though it correctly plays as DTS on my surround
receivers, and the whole album it decodes to 6 mono files [per track],
but truncated and of poor audio quality).  I don't know why.  Besweet
also fails to correctly split those tracks, so I've given up on them
for the time being.  If anyone has any suggestions I'd welcome them.

All the required batch files, plus documentation, are in the attached
Zip file.  It is supplied free and with NO SUPPORT.  You'll need to
acquire copies of the third-party programs required, and edit the batch
files to suit your directory structure.  Read Scale.pdf for details.

Good luck!

Daniel (Gerroa, Australia)


+-------------------------------------------------------------------+
|Filename: Scale.zip                                                |
|Download: http://forums.slimdevices.com/attachment.php?attachmentid=10656|
+-------------------------------------------------------------------+

-- 
DanielTheGreat
------------------------------------------------------------------------
DanielTheGreat's Profile: http://forums.slimdevices.com/member.php?userid=13031
View this thread: http://forums.slimdevices.com/showthread.php?t=82265

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

Reply via email to