Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If a directory contains an album encoded as one large .wv file and a .cue file, splitting the entire album into individual .flac tracks is a simple task:

$ cuebreakpoints foo.cue | shnsplit -o flac foo.wv

What I'd like to know is how to split a file where the names don't match up, e.g.: 'foobar.wv' and 'foo.cue'. If I attempt this I get this error message:

shnsplit: warning: none of the builtin format modules handle input file: [foobar.wv]
shnsplit: error: cannot continue due to error(s) shown above

Do I need to alter the .cue file? Because simply renaming 'foobar.wv' to 'foo.wv' prior to splitting doesn't seem to work for me. Or is there something wrong with the wavpack package?

PS: I didn't know how to tag this question properly. Sorry 'bout that.

Some more info

To be clear, I should point out that the text inside the .cue files points to the appropriate .wv files.

Yet more info

I'm having a bit of luck, for whatever reason, by decompressing the .wv to .wav and then altering the .cue file accordingly.

Not ideal but it's working so far.

share|improve this question

Maybe you don't have wavpack installed. So try installing that first, then go: cuebreakpoints foo.cue | shnsplit -o flac foo.wv

share|improve this answer

Make sure that the FILE line in the cue file points to the correct name. In your case it should read:

FILE "foobar.wv" WAVE

Then renaming foo.cue to foobar.cue should do the trick.

Another option is to recreate the cue sheet from the original wv file (provided the info is there):

$ wvunpack -c foobar.wv > foobar.cue

then split as usual.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.