AAC Looped? by froggestspirit at 6:29 PM EDT on October 16, 2017
I'm looking for a file type that runs in VGMStream, but has looping capabilities. My end goal, is to take the Pokemon X/Y soundtrack (which is natively in .AAC with loop info elswhere), and convert it to a format that can achieve this (whithout decoding/encoding) to keep the original quality in-tact. I can make a program to batch process them to add a header, and loop info most likely.
like 90% of the formats supported by vgmstream support looping. In fact, you can use a seperate txth file to explicitly state certain info for each aac. Or, alternatively, you can GENH-ify every AAC as well.
First you need to find the number of samples (and loop points) for each file. If all files loop you can use loop-end as num-samples too.
Then can do one of these: - create .GENH with VGMtoolbox, using FFMPEG codec and values like channels, sample rate, etc you must find out first. - create .TXTH manually per file (same, long to explain) - rename to .laac and create a .laac.pos file (do note the double extension). Inside you put 4 bytes x3: loop-start, loop-end, num-samples (little endian). Loops can be 0 but num-samples is mandatory.