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 329347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:34:47+00:00 2026-05-12T09:34:47+00:00

What is the recommended audio format for storing and playing back short (2-3 sec)

  • 0

What is the recommended audio format for storing and playing back short (2-3 sec) audio sound effects on the iPhone or iToouch?

The iPhone audio SDK documentation indicates that the iPhone supports audio in several formats – however there are drawbacks to each:

  • MP3: This is a highly compressed, but also high-quality encoding format that preserves the richness of music and spoken voice. However, only a single mp3 stream can be played at a time on the iPhone because it requires use of the hardware decoder. This excludes mp3 as a format for sound effects, since they will interrupt background music and/or any user music being played.
  • WAV: The iPhone only supports WAV files if they are PCM – encoded and do not require any compression codecs. While WAV supports many different sampling rates and bit-depths, it results in very large files (180k / sec for 16-bit/44.1kHz/stereo audio). The large size becomes prohibitive when you have many effects to rapidly play.
  • AIFF: Has similar problems to WAV files – it’s unclear if any compression codecs are supported. Supposedly Apple Lossless compression is supported – but I can’t find any tools that can generate AIFF in using this compression.
  • Custom: You can use the iPhone low-level APIs to play your own audio from any source. But this seems like overkill for playing a simple sound effect in a game. I certainly don’t want to write my own audio layer and encoder/decoder just for this.

Any recommendations would be appreciated… it would also be helpful if someone could recommend a reasonably priced tool for processing audio that can generate the recommended format. 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-12T09:34:48+00:00Added an answer on May 12, 2026 at 9:34 am

    You can use IMA4 compressed files, which provide a 1:4 compression from WAV files and are decompressed by hardware (you can load them with an AVAudioPlayer).

    As for MP3, you can only play one file simultaneously in that format, that’s why it’s not recommended for sound effects where you could have more than one at the same time.

    I’m using IMA4 files with OpenAL, so I’m decompressing them manually with a code based on this post.

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

Sidebar

Related Questions

I'm wondering what is the recommended audio library to use? I'm attempting to make
I would like to confirm what the recommended ways are to convert audio and
I have an app with callbacks for recording and playing audio. From the recording
Can anyone recommend a good library for generating an audio file, such as mp3,
Recommended by the ASP.NET team to use cache instead of session, we stopped using
Any recommended practices for cleaning up header spaghetti which is causing extremely slow compilation
Any recommended crypto libraries for Java. What I need is the ability to parse
Any recommended crypto libraries for Python. I know I've asked something similar in x509
What software is recommended for working with and editing large XML schemas? I'm looking
What's the recommended source control system for a very small team (one developer)? Price

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.