Sound effects causing iOS apps to stutter
John Craig
john at splash21.com
Fri Feb 14 11:07:14 EST 2014
iOS sounds are an interesting case...
I've noticed in the past (experimenting with game apps) that playing
sound effects causes a very noticable stutter if you are animating
objects. There must be some kind of initialization being done when you
transition from having no sounds playing to a sound effect playing on a
channel - it seems to happen every time you play a sound. The animation
loop suffers and the nasty stutter becomes obvious.
Happily, there is a solution - which is to have a background track
playing. This seems to negate the need for whatever initialization was
required before : as long as the background track is playing on a
channel, any sound effects you play on other channels don't cause the
stutter. You can even play an empty background track - or something
set at volume 0. As long as the track isn't too short, things should be
OK - now and again there will be a short grey period where the
background track has to loop.
On 14/02/2014 14:25, Ender Nafi Elekcioglu wrote:
> Why not?
> It’ll be a nice add-on and definitely give a different depth feel.
>
> Maybe you can update MobGüi with these features.
> Giving an option for sound click
> and another option for Rotating the images or Keeping them faced
> towards user -as it is now-.
>
> Won’t be easy, though; keeping the overall effect smooth will be
> hardest part, I guess.
> Even adding sounds slowed the carousel down and made it jumpy on the
> iPod 4 {my weakest test device}.
>
>
> Best,
>
> ~ Ender
>
> ------------------------------------------------------------------------
> From: John Craig John Craig <mailto:john at splash21.com>
> Reply: John Craig john at splash21.com <mailto:john at splash21.com>
> Date: February 14, 2014 at 16:17:42
> To: How to use LiveCode use-livecode at lists.runrev.com
> <mailto:use-livecode at lists.runrev.com>
> Subject: Re: [ANN] MobGUI V1.22 and SVG icon files
>> I had a look and it's pretty cool with the clicking ;)
>>
>> I wonder if it was modified so that the images were rotated as they move
>> around the carousel if a roulette wheel could be created.....
>>
More information about the use-livecode
mailing list