开发者

Synchronisation between sound file and animation

i have 25 images and a sound file of 2 seconds.

I am ale to play the sound and playing the animation but the synchronization is not getting bet开发者_JAVA百科ween sound and the animation ...

Can any one please help me how to synchronization the animation with sound...

There are 25 frames and the sound file duration is 2 seconds...

Can any one please help me how to synchronize the both ......


Whether the animation is manual triggered by means of swiping or it s automatic ? If it s manual like in the case of swiping you can call the sound file to play whenever the animation is (manual like swiping)done. Post some of your code. Then we could help you.


See my answer to Animation iOS with sound file for a step by step on how to play a sound with AVAudioPlayer and then blit a specific image to the screen at exactly the right time.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜