Contents

AVAudioRecorder

An object that records audio data to a file.

Declaration

class AVAudioRecorder

Mentioned in

Overview

Use an audio recorder to:

  • Record audio from the system’s active input device

  • Record for a specified duration or until the user stops recording

  • Pause and resume a recording

  • Access recording-level metering data

To record audio in iOS or tvOS, configure your audio session to use the record or playAndRecord category.

Topics

Creating an audio recorder

Controlling recording

Accessing recorder timing

Managing audio channels

Managing audio-level metering

Responding to recorder events

Inspecting the audio data

Initializers

See Also

Basic playback and recording