I need to play a sequence of audio files for a spelling program, example: c.caf, a.caf, t.caf. Is there a way to do this with CCCallFunc?
Thanks!
How play sequence of audio files
(5 posts) (2 voices)-
Posted 1 year ago #
-
How you do it depends on what audio API you use. Since you haven't mentioned that it is pretty hard to give you any advice.
I just recently created a class that is exactly for this purpose called CDXSoundSequencer. It is in the beta of CocosDenshion that I talk about here:
http://www.cocos2d-iphone.org/forum/topic/13630Posted 1 year ago # -
Steve, this sounds like what I need. Is there any documentation? Thanks!
Posted 1 year ago # -
^ no, there is no documentation other than the example in the thread. It is still in beta. You are welcome to ask me questions. Any feedback is also appreciated. I have adapted the class to suit the needs of some other developers and am more than happy to accommodate any requirements that you may have that aren't currently covered.
Posted 1 year ago # -
I create an array of audio sounds for a spelling app. Each audio sound is the name of the letter of the word spelled out. For example: C-A-T. I want to know how to extract the sound for the array and use your code to play each sound with a 1 second delay in between each sound. Can it be done with your beta? If so, can you give me an example?
Thanks.
Posted 1 year ago #
Reply
You must log in to post.