Latest 0.1.8
License MIT
Platforms ios 7.0, requires ARC
Frameworks AVFoundation

[![CI Status]( Humber/HUMAudioRecorder.svg?style=flat)]( Humber/HUMAudioRecorder)
Carthage compatible


To run the example project, clone the repo, and run pod install from the Example directory first.



HUMAudioRecorder is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "HUMAudioRecorder"

Or, if you’re using Carthage, simply add HUMAudioRecorder to your Cartfile:

github "colinhumber/HUMAudioRecorder"


Using HUMAudioRecorder is super easy! Just make a URL where you want the file to live, setup your audio session settings, and create a new HUMAudioRecorder instance.

For a list of AVFoundation settings, go here.

NSURL *url = [NSURL fileURLWithPath:[NSTemporaryDirectory() stringByAppendingPathComponent:[NSString stringWithFormat:@"%@.m4a", [NSUUID UUID].UUIDString]]];

NSDictionary *settings = @{ AVFormatIDKey : @(kAudioFormatMPEG4AAC),
                            AVSampleRateKey : @44100,
                            AVNumberOfChannelsKey : @1,
                            AVEncoderAudioQualityKey : @(AVAudioQualityHigh)};

HUMAudioRecorder *audioRecorder = [[HUMAudioRecorder alloc] initWithURL:url settings:settings];

The header is well documented, so check it out for a list of properties and methods. There are well defined states that can be used when this is used as the backing recorder/player for your UI.


Colin Humber, [email protected]


HUMAudioRecorder is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "HUMAudioRecorder",
    "version": "0.1.8",
    "summary": "Drop in utility for recording and playing back audio, as well as listening to ambient sounds.",
    "description": "A simple utility for recording, playing back, and listening to ambient audio, when metering is needed.nProvides a simple wrapper around AVAudioRecorder and AVAudioPlayer and manages most of the standardntasks needed for audio recording and playback.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Colin Humber": "[email protected]"
    "source": {
        "git": "",
        "tag": "0.1.8"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": "AVFoundation"

Pin It on Pinterest

Share This