cuesplit.exe Alpha
Reply #6 – 2005-03-24 17:42:26
1. I have compiled the following from ACDIR's command line help (which I only just discovered). This may be useful to others.Audio CD Image Reader (ACDIR) 0.5 alpha Copyright © 2003-2005 by Nyaochi Audio CD Image Reader (ACDIR) is a tool for audio images with cuesheets. USAGE: ACDIR [options] command [command-arguments] [options] targets EXAMPLE: ACDIR.EXE --output %t.wav --extract CDImage.cue OPTIONS: --help or -h Show usage information --output name Substitute 'name' for the output file variable (%o) --extra-opt opt Substitute 'opt' for the extra option variable (%x) --track range Specify track range to be processed --targets file Specify targets by an external file list --overwrite Force to overwrite existing output files COMMANDS: --exec Execute expression for each track in cuesheets USAGE: ACDIR [options] --exec expression cuesheet1 [cuesheet2 ...] --pipe Execute expression for each track with stdin redirection USAGE: ACDIR [options] --pipe expression cuesheet1 [cuesheet2 ...] --echo Evaluate and show the expression (test only, no execution) USAGE: ACDIR [options] --echo expression cuesheet1 [cuesheet2 ...] --extract Extract tracks to specified output files (use --output option) USAGE: CDIR [options] --extract cuesheet1 [cuesheet2 ...] --find Find cuesheets recursively in a directory that match the specified pattern USAGE: ACDIR [options] --find directory pattern VARIABLES: Format: {%|$}[#]<variable-name> A variable begins with either '%' or '$' (for batch file use) An optional character '#' quotes the value with '"' Available variables are: %f Filename of the audio image (e.g. CDImage.wav) %p Path to the cuesheet file %d Path to the cuesheet file with substitution of '_' for '\' %o Output filename (evaluation result of --output argument) %x Extra options (specified in --extra-opt argument) %t Title of the track (e.g. White Album) %T Title of the CD image (e.g. Back in the U.S.S.R.) %a Performer of the track (e.g. The Beatles) %A Performer of the CD image (e.g. The Beatles) %n Track number (e.g. 01) %N Number of tracks in the CD image (e.g. 17) %q Double-quotation character, '"' %s Start time of the track (INDEX 01) %S Start time of the track (INDEX 00 if any, otherwise INDEX 01) %e End time of the track (INDEX 01) %E End time of the track (INDEX 00 if any, otherwise INDEX 01) COMMAND LINE HELP: --help or -h Show usage information --help-options Show a list of options --help-variables List available variables with description --help-commands Show a list of commands -h followed by a command name for command-specific help 2. @nyaochi : Is there any way you can provide an additional variable switch to turn the variable into a valid file or folder name? E.g.:ACDIR.EXE --output "%n - %~ t.wav" --extract CDImage.cue The tilde would instruct ACDIR to remove illegal characters from the track title. I've only just begun to test, but I've already fallen foul of an illegal character, which caused ACDIR to fail on that track. 3. My WAVE files match those created by Foobar and WavSplit byte for byte. There is a discrepancy in the RIFF header between CUESPLIT's and ACDIR's (byte #4 - ACDIR's value is 4 bytes less). I assume libsndfile deals with this? I have checked the header spec and I'm pretty sure mine is accurate. Anyone know whether this inaccuracy in the chunk size (bytes 4-7) means diddly? "This is the size of the entire file in bytes minus 8 bytes for the two fields not included in this count: ChunkID and ChunkSize."