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 03-14-2010, 02:28 PM   #2 (permalink)
scotopia
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 2,070
scotopia is on a distinguished road
Default

Quote:
Originally Posted by Driverman View Post
Alright so adding music that loops indefinitely is really no big deal. It's easy. However, how about if I have a song that has an intro section and then the part that I want to loop is only the later part of the song? Like...

|----INTRO----|---------------------------LOOP----------------------------|

Is there some easy way to handle this?

It all depends on the sound engine you are using; but regardless the idea would typically go something like this:

Break up the song into two separate sound files. After the first one plays and completes, stop it and trigger the second sound file (with repeat set to yes).
scotopia is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,539
Threads: 94,056
Posts: 402,659
Top Poster: BrianSlick (7,985)
Welcome to our newest member, cecilytw61
Powered by vBadvanced CMPS v3.1.0

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