EAC and WavPack
Note: This guide assumes that EAC is has been configured for secure ripping, if not please follow this guide.
- Unzip "wavpack-4.80.0.zip" into the same directory that EAC is in.
- Open EAC and insert a CD into the drive.
- Click the EAC menu and select Compression Options.
- Click the External Compression Tab, and put a check box in use external program for compression.
- Change Parameter Passing Scheme to User Defined Encoder.
- Change user file extension to .wv if not already that.
- Click the Browse button and locate the wavpack.exe that you unzipped earlier.
- Remove the ticks from Use CRC check, Add ID3 tag and check for external programs return code.
- In the Addtional command line options box, copy and paste the string below:
-> If you are using EAC 1.0 beta 2 or newer, then in the Additional command line options box, copy and paste the following string:
-h %source% %dest%
-h -w "Artist=%artist%" -w "Title=%title%" -w "Album=%albumtitle%" -w "Year=%year%" -w "Track=%tracknr%" -w "Genre=%genre%" %source% %dest%
-> If you are using EAC 1.0 beta 1 or earlier, then in the Additional command line options box, copy and paste the following string:
-h %s %d
-h -w "Artist=%a" -w "Title=%t" -w "Album=%g" -w "Year=%y" -w "Track=%n" -w "Genre=%m" %s %d
Note: If a user wanted to change compression settings on WavPack the green portion what you would substitute with the new preset. -> Manual (WavPack Options)
- Do not worry what bit rate is shown in the bit rate drop down box, this will be ignored.
If you want to create a correction file while encoding from EAC you will need to adapt your normal command line slightly, to ensure that the correction file ("<name>.wvc") is named the same as the primary file ("<name>.wv"). If you do not follow these guidelines your correction file will be named incorrectly, using the temporary filename that EAC uses while processing.
Since WavPack 4.1 beta you can specify an additional file path when using the -c switch to request a correction file. This filepath will be used to name the correction file.
The suggested method to implement this feature is to utilise the Use CRC check checkbox on the External Compression dialogue, to specify whether a correction file is required or not. In conjunction, you must also add the following to the end of your command line:
-hb320 -w "Artist=%artist%" -w "Title=%title%" -w "Album=%albumtitle%" -w "Track=%tracknr%" %source% %dest% %crcenabled%%original%%crcenabled%
Note: If a user wanted to change compression and bitrate settings on WavPack the green portion what you would substitute with the new preset. -> Manual (WavPack Options)
When you check Use CRC check and insert the -c switch, and the file path specified by the EAC placeholder %original%, will be included in your command line, creating a correction file with the correct file name. With Use CRC check unchecked no correction file will be created.
If you do not want this configurability, simply add:
All encodes will then include a correction file, which is named correctly.
Embedding the cue-sheet in an audio image file
If you prefer to rip to an image file, and want to embed the cuesheet in the image, you can add the following tagging switch to your command line:
This uses two of WavPack's features. Firstly, the '@' tells WavPack to set the 'Cuesheet' tag from the contents of a file. Secondly, the wildcard '*' tells WavPack to find the file itself, given the '.cue' restriction (i.e. "find the first '.cue' file you come across").
PLEASE NOTE: This will only work if there is one CUE file in the folder. WavPack will exit because of this command, if you have an existing cuesheet in the folder before starting. The easiest way is simply to ensure that you either move your previous rips beforehand, or rip to a new directory each time.
-hm -w "Cuesheet=@*.cue" -w "Artist=%artist%" -w "Album=%albumtitle%" -w "Year=%year%" -w "Genre=%genre%" %source% %dest%