I am developing an iPhone voice recording application which creates audio files in caf format.
When I play those files back, the only thing I here is static. Also, the sizes of the files are huge e.g. up to 1.7 mb for a 10 sec recording.
Could I record in another format such as mp3. Does anyone have some example code of how to do so?
thanks
You have to use AVAudioRecorder class to do that. Here is a link to developer reference: AVAudioRecorder reference
Then, you can use the following code:
Here you are !!