If I want to play the same sound 10 times per second, must I have 10 copies of that sound in memory?

Posted by mystify on Stack Overflow See other posts from Stack Overflow or by mystify
Published on 2010-05-03T15:04:58Z Indexed on 2010/05/03 15:08 UTC
Read the original article Hit count: 388

Filed under:
|
|
|

I have a sound that needs to get played 10 times per second. The sound is 1 second long. So it does overlap like 10 times. However, as far as I understand the Finch sound library, I would need 10 different instances of a sound in place so that I can play it 10 times at almost the same time.

When I have just one instance, the sound would stop and play from the beginning on every iteration, but not overlap with itself.

How to do that?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about audio