Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6127897
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:33:54+00:00 2026-05-23T16:33:54+00:00

I am developing an iOS application which resembles a musical instrument. I am trying

  • 0

I am developing an iOS application which resembles a musical instrument.

I am trying to loop the sound samples to make them last infinitely. Simple looping is not sufficient in this case, as the samples have an “attack” section: Each sample has a part at the beginning which should not be looped. Therefore, I need some way to loop only a certain part of the sound sample.

I found a few iOS sound libraries (e.g. ObjectAL), but they all seem to support only simple looping, without an option to set loop-in and loop-out points.

Are they any iOS audio libraries which support this feature? Otherwise, what would be the best method to implement it? (Audio units? Audio queues? Some other trick with existing libraries?)

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:33:55+00:00Added an answer on May 23, 2026 at 4:33 pm

    I can’t say if it’s the best solution, but for my loops that have an intro / outro… I use multiple .caf files that blend together: one for the intro, one for the loop, and one for the outro.

    After the intro, the loop starts and plays until an event fires that makes the sound stop looping and finish, and then the outro immediately plays once the loop sound finishes.

    I use Audacity to edit the sound files to make sure that they blend together perfectly.

    Edit:

    My application uses cocos2d, so I’m using the cocosDehension audio library since it is built in to cocos2d. As long as the sound file has been properly edited, it loops cleanly with no clicks or pops.

    Here’s a link to the technique that I used in Audacity to make sure the file looped without clicks:

    http://forum.audacityteam.org/viewtopic.php?f=13&t=2820#p11073

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing an iOS application, and trying to zip the file I have
I am developing iPhone application which involves the frameworks available from iOS 3.2 (Core
I am developing an iOS Application which loads its content from an XML-file over
I'm developing an iOS application which (like any other) requires a certain amount of
I'm developing an iOS application which deals with constantly changing data which is read
I am developing a rails application which should send push notifications to iOS devices.
I'm developing an application for ios which uses sqlite3 I need to debug a
I am developing an IOS application, which uses web services (SOAP/WSDL). I have built
I'm developing an iOS application that will be used just by a company employees
We are developing an iOS Application that connects to a server over https using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.