Quick Links: Download Gideros Studio | Gideros Documentation | Gideros community chat | DONATE
Problem with looping short .mp3 sound files on iPad2 — Gideros Forum

Problem with looping short .mp3 sound files on iPad2

chipster123chipster123 Member
edited December 2013 in Bugs and issues
Some .mp3 files don't loop properly on the iPad, but loop perfectly on iOS simulator, and several Android devices.

Device: iPad
OS: 6.1
XCode: 4.6.2
Gideros: v2013.09.1

Using code like the following:
local sound = Sound.new("test.mp3")
 sound:play(0, true)
If I convert it to .wav using Audacity, then the sound loops perfectly as expected.
The clip is short, 1.3 seconds. Another clip at 2 seconds also loops badly. They loop back somewhere in the middle or near the end of the sound clip.
Longer clips seem to loop OK (>3 seconds)

UPDATE: I'll work around this by converting everything to '.wav' even though it doubles my app size.
Just wanted to get the symptom documented for whomever is experiencing the same thing.
Sign In or Register to comment.