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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:35:28+00:00 2026-05-12T14:35:28+00:00

Is there a way I can convert an mp3 file into a wav/aiff in

  • 0

Is there a way I can convert an mp3 file into a wav/aiff in my iPhone app? I have an mp3 but I want to combine it with other files and the only way I know this can be done is when using PCM formats.

Can anyone help me out here?

Thanks.

Some things I tried

I tried using the AudioConverterFillComplexBuffer() method and its callback to convert the mp3 to caf but the bytes per packet and per frame are read as 0. Any ideas how I can or whether I can use this function?

Thanks again.

  • 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-12T14:35:29+00:00Added an answer on May 12, 2026 at 2:35 pm

    WAV and AIFF often (usually?) contain PCM, so what’s the objection there? Or are you saying that you have to get your MP3 data to PCM in order to mix it (perhaps in a multichannel mixer audio unit). If you seriously want to do this, look at Core Audio, specifically:

    • Audio File Services (to read the MP3 format and write AIFF or WAV)
    • Audio File Conversion Services (to convert the MP3 data to PCM, and/or to encode from PCM to some other codec if you were to write a file). Note that a given converter cannot convert between two encoded formats; you can do MP3-to-PCM or PCM-to-AAC, but to do MP3-to-AAC, you’d need two converters.
    • Extended Audio File Services, which combine both of the above.

    Check out the ConvertFile example in the Core Audio SDK. This opens a source file for reading, describes the desired format of the target file, reads buffers from one and writes them to the other. The code exhibits both the separate use of file services + conversion services, and the convenient use of ExtAudioFiles.

    Also, be sure to understand the difference between codecs and file formats, and what codec/format combinations are legal. I was surprised the first time I found out that PCM must be little-endian in a WAV, big-endian in an AIFF.

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

Sidebar

Related Questions

Is there a way to convert WAV files to MP3 in ASP.NET? I have
Is there any way we can convert text to speech in an iPhone app?
Is there a way to convert HTML into XAML? I noticed that you can
is there a way i can convert text into Image & then Rotate it
Is there any way I can convert the input text into an image. What
Is there a simple way i can convert my existing selenium RC scripts into
Are there any good libraries that can help convert an MP3 into an image
Is there any way I can convert a string of code into executable code
IS there any way so that i can convert any DOM object into HTML
Is there a way I can convert a javascript keycode into one that is

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.