<!--
{
  "availability" : [
    "iOS: 14.5.0 -",
    "iPadOS: 14.5.0 -",
    "macCatalyst: 14.5.0 -",
    "macOS: 11.3.0 -",
    "tvOS: 14.5.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFAudio",
  "identifier" : "/documentation/AVFAudio",
  "metadataVersion" : "0.1.0",
  "role" : "Framework",
  "symbol" : {
    "kind" : "Framework",
    "modules" : [
      "AVFAudio"
    ],
    "preciseIdentifier" : "AVFAudio"
  },
  "title" : "AVFAudio"
}
-->

# AVFAudio

Play, record, and process audio; configure your app’s system audio behavior.

## Topics

### Essentials

  <doc://com.apple.documentation/documentation/Updates/AVFAudio>

### System audio

[Handling audio interruptions](/documentation/AVFAudio/handling-audio-interruptions)

Observe audio session notifications to ensure that your app responds appropriately to interruptions.

[Responding to audio route changes](/documentation/AVFAudio/responding-to-audio-route-changes)

Observe audio session notifications to ensure that your app responds appropriately to route changes.

[Routing audio to specific devices in multidevice sessions](/documentation/AVFAudio/routing-audio-to-specific-devices-in-multidevice-sessions)

Map audio channels to specific devices in multiroute sessions for recording and playback.

[Adding synthesized speech to calls](/documentation/AVFAudio/Adding-synthesized-speech-to-calls)

Provide a more accessible experience by adding your app’s audio to a call.

[Capturing stereo audio from built-In microphones](/documentation/AVFAudio/capturing-stereo-audio-from-built-in-microphones)

Configure an iOS device’s built-in microphones to add stereo recording capabilities to your app.

[`AVAudioSession`](/documentation/AVFAudio/AVAudioSession)

An object that communicates to the system how you intend to use audio in your app.

[`AVAudioApplication`](/documentation/AVFAudio/AVAudioApplication)

An object that manages one or more audio sessions that belong to an app.

[`AVAudioRoutingArbiter`](/documentation/AVFAudio/AVAudioRoutingArbiter)

An object for configuring macOS apps to participate in AirPods Automatic Switching.

### Basic playback and recording

[`AVAudioPlayer`](/documentation/AVFAudio/AVAudioPlayer)

An object that plays audio data from a file or buffer.

[`AVAudioRecorder`](/documentation/AVFAudio/AVAudioRecorder)

An object that records audio data to a file.

[`AVMIDIPlayer`](/documentation/AVFAudio/AVMIDIPlayer)

An object that plays MIDI data through a system sound module.

### Advanced audio processing

[Audio Engine](/documentation/AVFAudio/audio-engine)

Perform advanced real-time and offline audio processing, implement 3D spatialization, and work with MIDI and samplers.

### Speech synthesis

[Speech synthesis](/documentation/AVFAudio/speech-synthesis)

Configure voices to speak strings of text.

### Macros

[Macros](/documentation/AVFAudio/macros)



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)
