Search code examples
objective-caudiorecordavaudiorecorder

Recording and saving sound to file


How to record sound and save to file (after that play it)? I need small-size file (as smaller is better) without reduction of bitrate. How can it be implemented on iPhone?


Solution

  • Hello take a look at this Link

    also use this:

    //Reduce or Compress the audio file size 1/4
    [settings setValue:[NSNumber numberWithInt:kAudioFormatAppleIMA4] forKey:AVFormatIDKey];