0
0

Hey Everyone,
I’ve currently got 250 (but could spike to 1000+) seamlessly looping WAV files currently being converted to mp3’s (via lame). When I load those files into FMod (Ex 4.06.17) and try playing them, I hear silence a small amount of silence (23ms?) when it loops. From what I’ve read the silence is due to the mp3 format encoding itself, which I need it because of the good compression ratio (I load 30-50+ files and keep them resident in memory).

I’ve read that it can be resolved through the designer, but because of the sheer number of files I’m working with I’d prefer an automated solution that would fit into my conversion pipeline.

Does anyone have any thoughts on how I could resolve this?

  • You must to post comments
0
0

Can’t you set the bank to MP3, and let FMOD encode them, I believe it’s encoder is as good as lame. It also handles the padding to make sure they loop seamlessly.

  • You must to post comments
0
0

[quote="a1psx"]Can’t you set the bank to MP3, and let FMOD encode them, I believe it’s encoder is as good as lame. It also handles the padding to make sure they loop seamlessly.[/quote]

That’s a very good idea, I am curious though, does the FMOD encoder keep the destination mp3 in the standard format (i.e. Can I still play it in WinAmp?) or does it pack it into an FSB or other proprietary format?

Also, if it does pack it into an FSB or any other proprietary format, is there a way to rip it out to have the mp3 file itself? Sorry for the questions, I’m relatively new to FMOD.

  • You must to post comments
0
0

If you want FMOD to encode it (and use their seamless looping solution) you’ll have an FSB file which will not play directly in Winamp AFAIK. The mp3 data in it should be playable in Winamp, but getting it out would require a separate program.

If you want to encode it yourself in LAME, copy your source wave data into a buffer, and move some of the end samples to the beginning. The caveat here is that you’ll hear a slight artifact at the beginning of the sound, so this solution should only be used for sounds that are always looped. (FMOD has this same caveat)

  • You must to post comments
0
0

if you use FSBankEX, you can compile all those 1000 wavs into 1 fsb,
BUT
you can also compile all those 1000 wavs into 1000 fsbs. Just change the build type from single fsb to multiple fsb in the drop down menu.

Next winamp will play them, just drag and drop the file in and it will scan past the small fsb header and play the mp3 data.

  • You must to post comments
Showing 4 results
Your Answer

Please first to submit.