How to convert Apple IMA4 CAF file recorded with AVAudioRecorder to WAV file using Core Audio Converter Services?

Note: I'm an audio noob, so please forgive me if I say something wrong!

I need to convert Apple IMA4 CAF audio files recorded with AVAudioRecorder to WAV files from my application . The sampling rate must be maintained.

My application needs to support 3.x, so I cannot use AVAssetReader / Writer. I notice that when using AVAudioRecorder to record a Linear PCM WAV file directly, the processor is always in use (possibly due to lack of hardware encoding support) even when no audio is being recorded, so this is not an option either. The idea is that I can write to IMA4 because it uses 0% CPU when it does nothing and then converts the output file to WAV.

Core Audio Converter Services got my attention, but I just can't figure out how to use it correctly, so if anyone has used it before, could you please share some info / code on what I need to do to convert CAF files to WAV files?

+3
iphone wav avaudiorecorder caf


source to share


No one has answered this question yet

Check out similar questions:

five
How can I get / extract raw (no sound) audio data from caf file on iPhone?
3
iOS - Record audio with AVAudioRecorder error without errors
3
How to read and write audio files using NSInputStream and NSOutputStream
2
iPhone - How to convert .caf audio files to .aac?
2
convert .caf file to .wav file with progress bar in ios
1
how can i record a song that is played with AVPlayer and wav file at the same time?
1
How to convert audio file to wav pcm format
1
Save audio in caf format in wav format
0
How to convert wav or caf audio file on iPhone
0
How to Convert 24-bit WAV File to 32-Bit While Preserving PCM Audio Format = 1 (Linear Quantization)



All Articles
Loading...
X
Show
Funny
Dev
Pics