Wavegain vs. MP3Gain
Reply #156 – 2005-08-16 03:13:44
It probably ISN'T finding the cuesheet. It has to be in the same directory as the wav file and have the same name but with a .cue extension. [a href="index.php?act=findpost&pid=320293"][{POST_SNAPBACK}][/a] It finds the cue sheet (if it didn't your code spits out an error msg). Using EAC, I created a wav image and cue sheet (but didn't execute LameGain). I then attempted to run LameGain from the command line. I added some print statements to your program and it seems as if the following line is where the error dialog is generated:Set wavsplit = shell.Exec("""" & baseDir & "\wavsplit\wavsplit.exe"" --c """ & cuesheet & """ --s """ & source & """ --d """ & tempDir & """") The error dialog says wavsplit.exe has encountered a problem and needs to close. We are sorry for the inconvenience. This is one of those standard dialogs that ask if you want to send an error report to microsoft. Whe I click on 'Don't Send' i then get the LameGain dialog. I tried to run the wavsplit command from the Windows Command Prompt window and it fails there also. Same dialog box as above (... encountered a problem .. sorry ..). Very strange. There must be something wrong/different environmentaly. When I run LameGain directly from EAC (i used the same disk that i previously used in the above test), it works fine! Any suggestions? EDIT - I added a print statement to print out the actual values of the wavsplit command line and ran the process through EAC again. I noticed that the WAV source file is named ...\My Music\WAV\Ctmp7!1!5.wav. While LameGain was running, I checked the above directory and did not see this file, but did see a CDImage.wav (and assoicated cue file). Not sure that means anything ....