Split lossless audio files into tracks

From Notes to self
Revision as of 01:29, 22 September 2011 by Verbovet (talk | contribs)
Jump to navigation Jump to search

Given a single lossless audio file (wav, flac, ape, wv, etc.) foo and corresponding cue sheet foo.cue, we can split it into separate tracks by the following command:

shnsplit -f foo.cue -o "flac flac --verify --best -o %f -" -t "%n-%p-%t" -m " _" foo