Is it possible make .xa loop? by Vittas at 8:21 AM EST on December 18, 2014
Or is that something that was handled by the games? I want to take, let's say the Klonoa music, and convert it into a whatever file that I can play on other devices, or maybe I just want to convert it to a lossless format, but I don't want just one loop. I want it to loop for X amount of time. Can I do that, or do I have to convert into Y format and then manually extend in Audacity? Actually, since XA is apparently lossy, should I convert it to something else? I've read it's not good to convert from lossy to lossless.
You'd have to extend the music yourself since xa didn't loop. Converting depends on whether introducing more barely noticeable artifacts bothers you or not.
You might have an easier job with the Game Cube port of the game, which uses a format compatible with vgmstream. It's only 32KHz instead of 37800Hz, but it all loops smoothly.
Of course, you'll run into a problem with the tracks that have variations. Those are encoded as 4 or even 6 channel files, with each pair of channels being a stereo set, all designed to be dynamically switched or faded or whatever during normal gameplay.
@Vittas: You should try using the Channel Mixer DSP in foobar2000, combined with custom channel conversion settings. Downmix 4ch to 2ch, selecting either the first or second pair of channels to mix to the left/right output, respectively. Or do a 6ch or 8ch file in a similar way. Just add the DSP to the converter and convert your output to a lossy format of your choice, such as MP3 or MP4 AAC, for your portable player I presume. Or lossless, if you prefer, but those may tend to come out larger than the original files. Use the Channel Mixer to select the channels you want from the 4+ channel files, configured separately for each track you wish to convert.
It's a bit of a pain, but it should be doable. Channel Mixer should be available from the foobar2000 third party components subforum.