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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:13:58+00:00 2026-05-17T20:13:58+00:00

I record audio in .caf format and later need to convert it to .wav

  • 0

I record audio in .caf format and later need to convert it to .wav in order to send the file as a email attachment. How can I convert the file to wav format in iOS 3.1.x?

The format of the audio:

[NSNumber numberWithInt:kAudioFormatLinearPCM], AVFormatIDKey,
[NSNumber numberWithFloat:11025.0f],            AVSampleRateKey,
[NSNumber numberWithInt:1],                     AVNumberOfChannelsKey,
[NSNumber numberWithInt:16],                    AVLinearPCMBitDepthKey,
[NSNumber numberWithBool:YES],                  AVLinearPCMIsBigEndianKey,
[NSNumber numberWithBool:NO],                   AVLinearPCMIsFloatKey,

I am not tied to this format, I just need to be able to record and playback on the device and email a wav version file.

  • 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-17T20:13:58+00:00Added an answer on May 17, 2026 at 8:13 pm

    The answer is simple, just init with a .wav extension.

    The answer was provided by Paul Bruneau on the Apple Developer forum:

    From the class reference docs, the recorder infers the file type from the extension that you choose. So try .aiff or .aif or .wav

    initWithURL:settings:error:
    Initializes and returns an audio recorder.

    - (id)initWithURL:(NSURL *)url
    settings:(NSDictionary *)settings
    error:(NSError **)outError
    

    Parameters: url

    The file system location to record to. The file type to record to is inferred from the file extension included in this parameter’s value.

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

Sidebar

Related Questions

I need to record audio file that can be played with silverlight. Audio files
I want to record a .caf file then send it as a mail attachment
how can i record audio file as .m4a format. i am using the code
I need to record audio and video files to the 3gp/mp4 format in the
I am using AVAudioRecorder to record audio and save to a wav file (using
I'm writing an an application in C# that will record audio files (*.wav) and
I try to record audio using android ndk. people say I can use frameworks/base/media/libmedia/AudioRecord.cpp.
I wrote a code to record audio of call conversation using MediaRecorder. how can
Is there any way to record audio in high quality? And how can I
How to record audio as an mp3 file by using AvAudiorecorder? I am 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.