Spliting looped files via VGMStream by VGMStreamer at 2:43 PM EDT on October 11, 2020
I'd like to be able to split looped VGM formats into two separate WAV files (the software I'm using doesn't support the smpl chunk unfortunately) so I can play the intro clip once and then repeat the loop clip indefinitely.
I'm aware that I can get the intro via: test.exe -l 0 -f 0 -o out.wav in.dsp But what I'm not sure about is how to get the loop section on it's own, without the intro. Can anyone help?
It's not a format-specific issue, but rather a question about output control. It's universal and concerns any game with tracks that loop (though end-to-end loops are an exception as those titles can be encoded directly to WAV and looped as they are).
The command I posted above will take a file and output the beginning (non-looping) region to a WAV file, but I'd like to also be able to output the looping region only to a separate file, without this intro. This way, in software that doesn't support the sampl chunk, I can play "file-intro" once, then loop "file-loop" however many times is necessary to the same result.
At the moment I have a partially working solution, as I could use the intro WAV to trim a complete WAV (intro & loop) down to the loop itself, though doing this manually across potentially hundreds (or thousands) of files doesn't seem practical.