0
0

Hi,

I’ve got a lot of MP3 assets in my game that need to be looped, and was just wondering if there’s an easy way to implement "gapless" looping mp3 playback that avoids the ‘bit reservoir’ latcency, either in processing or at a code level?

I found a solution at the link below, but thought there might be another (easier) way.
http://www.compuphase.com/mp3/mp3loops.htm

Thanks…

Ringmod

  • You must to post comments
0
0

Hi,
If you were using fmod designer, the looping sounds would be automatically looped using fmod’s built in encoder. You use the original source waves to feed into designer, not compressed / already lossy data.

  • You must to post comments
0
0

😮

Feel free to beat me over the head with a large stick….

😳

"Sometimes the simplest explanation….." :roll:

Thanks…

  • You must to post comments
0
0

I just tested this, and I still get glitching when the event loops. Admittedly it’s not as bad as before, but it still glitches. Is there any way around this entirely?

Thanks…

  • You must to post comments
0
0

[quote="ringmod":1iz49xwy]I just tested this, and I still get glitching when the event loops. Admittedly it’s not as bad as before, but it still glitches. Is there any way around this entirely?

Thanks…[/quote:1iz49xwy]

Just to make sure, are you auditioning the mpeg loop post-build, using EventPlayer or the API?

There shouldn’t be any glitching, as per:
http://52.88.2.202/forum/viewtopic.php?=&p=29616

Can you give us a bit more detail on how you are encoding and auditioning the loop?

I assume the loop isn’t glitching in PCM form.

cheers,
Templar

  • You must to post comments
0
0

I’m auditioning post-build, using fMod Event Player, though usually I just audition them in our game (we’re using the BigWorld engine). The loop I tested with above is just a pure sine wave created in Sound Forge, a 44khz, 16 bit, stereo WAV file, added to a bank that is set to "Stream from Disk", MP3 Compression, 100% compression quality (I guess that means xparent).

Testing it in fMod Designer I notice no glitch at all, using event player I notice a glitch but it is so tiny I’d say it’s in the realm of a few samples or so – not worth worrying about.

I’m getting a sneaking suspicion this might be related to BW’s implementation (or lack thereof) of the fMod engine – we’ve had many other issues with it not fully exposing wholesale chunks of the fMod engines’ features.. I am going to try a few more things and I’ll report back, but if it’s a BigWorld problen I might have to get one of our tools guys to dig into their code or post a more relevant, directed question here if necessary.

Thanks for your help on this.

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.