- 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?
- by JacintaB19 at 12:19 AM EDT on October 12, 2020
- What game are you having this problem on?
- by VGMStreamer at 7:02 AM EDT on October 12, 2020
- 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.
- by hcs at 3:01 PM EDT on October 12, 2020
- There's -k N, which seeks to sample N before outputting, but you'd need to be able to get the length of the intro in there somehow.
edited 3:01 PM EDT October 12, 2020
- by bnnm at 5:38 PM EDT on October 12, 2020
- I've added a quick option in latest vgmstream (https://vgmstream-builds.losno.co/).
Use "-k -2" (or any negative other than -1).
HCS Forum Index
Go to Page 0
Search this thread
Show all threads
Reply to this thread:
Halley's Comet Software