Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 10-08-2009, 09:26 AM   #1 (permalink)
tackey123
Registered Member
 
Join Date: Sep 2009
Age: 15
Posts: 93
tackey123 is on a distinguished road
Default Making audio files play at random and crossfade? *HELP*

Does anyone know how to write code that would do this:

I have about 12 short audio files (mpegs).

I want to hit a "PLAY" button and have one of those audio files chosen at random to play. It would loop twice and then on the third loop it should crossfade into another randomly chosen piece of audio.

That's it. No stop or pause buttons. Just PLAY and the audio files are chosen to randomly play, crossfading into each other.
tackey123 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,282
Threads: 93,959
Posts: 402,319
Top Poster: BrianSlick (7,971)
Welcome to our newest member, kurtwatson
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 09:08 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.