<!--
{
  "documentType" : "article",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/scene-content-audio",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Audio"
}
-->

# Audio

Create personalized and realistic spatial audio experiences.

## Overview

Creating a compelling audio experience with RealityKit is as simple as playing audio on your existing RealityKit entities.
Use RealityKit’s default audio settings to create a personalized and realistic experience or utilize
advanced customization options to tailor the audio for the needs of your application.
Utilizing acoustic ray tracing and a personalized HRTF, RealityKit provides lifelike and high-quality sound.

You can load and configure audio with an [`AudioResource`](/documentation/RealityKit/AudioResource) subclass, such as [`AudioFileResource`](/documentation/RealityKit/AudioFileResource), and adjust the spatial rendering with [`SpatialAudioComponent`](/documentation/RealityKit/SpatialAudioComponent),
[`AmbientAudioComponent`](/documentation/RealityKit/AmbientAudioComponent), [`ChannelAudioComponent`](/documentation/RealityKit/ChannelAudioComponent).
Control the audio resource playback with [`AudioPlaybackController`](/documentation/RealityKit/AudioPlaybackController).
For real-time audio playback you can prepare a [`Audio.GeneratorRenderHandler`](/documentation/RealityKit/Audio/GeneratorRenderHandler) and control playback with [`AudioGeneratorController`](/documentation/RealityKit/AudioGeneratorController).
You can control the playback levels of multiple resources at once with [`AudioMixGroup`](/documentation/RealityKit/AudioMixGroup) and [`AudioMixGroupsComponent`](/documentation/RealityKit/AudioMixGroupsComponent).

## Topics

### Audio source components

[Creating a Spaceship game](/documentation/RealityKit/creating-a-spaceship-game)

Build an immersive game using RealityKit audio, simulation, and rendering features.

  <doc://com.apple.documentation/documentation/visionOS/playing-spatial-audio-in-visionos>

[`SpatialAudioComponent`](/documentation/RealityKit/SpatialAudioComponent)

A component that configures how sounds emit from an entity into a person’s environment.

[`AmbientAudioComponent`](/documentation/RealityKit/AmbientAudioComponent)

A component that configures the ambient rendering of sounds from an entity.

[`ChannelAudioComponent`](/documentation/RealityKit/ChannelAudioComponent)

A component that configures channel-based rendering of sounds from an entity.

### Playback controllers

[`AudioPlaybackController`](/documentation/RealityKit/AudioPlaybackController)

A controller that manages an audio playback instance.

[`AudioGeneratorController`](/documentation/RealityKit/AudioGeneratorController)

A controller that manages the playback of a real-time audio stream.

[`AudioGeneratorConfiguration`](/documentation/RealityKit/AudioGeneratorConfiguration)

A container for various settings for preparing and playing an AudioGeneratorController.

[`AudioEvents`](/documentation/RealityKit/AudioEvents)

Events associated with audio playback.

[`PlayAudioAction`](/documentation/RealityKit/PlayAudioAction)

An action which plays an audio resource on the given target entity.

### Audio resources

[`AudioFileResource`](/documentation/RealityKit/AudioFileResource)

An audio resource that you load from a file or from a URL.

[`AudioFileGroupResource`](/documentation/RealityKit/AudioFileGroupResource)

An audio file group.

[`AudioBufferResource`](/documentation/RealityKit/AudioBufferResource)

An audio resource that you load from an <doc://com.apple.documentation/documentation/AVFAudio/AVAudioBuffer>.

[`AudioLibraryComponent`](/documentation/RealityKit/AudioLibraryComponent)

A container for audio resources that you can look up by user-defined names.

[`AudioResource`](/documentation/RealityKit/AudioResource)

A playable audio resource

[`Calibration`](/documentation/RealityKit/AudioResource/Calibration)

A container for different calibration modes that can be applied for playback.

[`Normalization`](/documentation/RealityKit/AudioResource/Normalization)

Normalization adjusts the level of an audio file or buffer to be at a defined target.

### Reverb

[`Reverb`](/documentation/RealityKit/Reverb)

The reverberation RealityKit applies to spatial audio sources.

[`Preset`](/documentation/RealityKit/Reverb/Preset)

Reverbs defined by a preset environment.

[`ReverbComponent`](/documentation/RealityKit/ReverbComponent)

A component that defines the reverberation of spatial audio sources.

### Audio mixing

[Mixing spatial music](/documentation/RealityKit/mixing-spatial-music)

Preview ray-traced reverb by adjusting a spatialized multitrack audio mix in an immersive scene.

[`AudioMixGroup`](/documentation/RealityKit/AudioMixGroup)

A group that manages the playback properties of multiple playing sounds.

[`AudioMixGroupsComponent`](/documentation/RealityKit/AudioMixGroupsComponent)

A component that provides functionality for controlling the playback of audio you assign to mix groups in a scene.

### Audio types

[`Audio`](/documentation/RealityKit/Audio)

A namespace for types that are used commonly in audio.

[`Decibel`](/documentation/RealityKit/Audio/Decibel)

The unit for measuring intensity of sound on a logarithmic scale.

[`Directivity`](/documentation/RealityKit/Audio/Directivity)

The radiation pattern of sound emitted from an entity.

[`DistanceAttenuation`](/documentation/RealityKit/Audio/DistanceAttenuation)

The different ways that audio intensity diminishes as the distance between the listener and the sound source increases.

### Acoustics and group playback

[`ReverbMeshResource`](/documentation/RealityKit/ReverbMeshResource)

A high-level representation of a collection of vertices and edges that define a shape used for simulating reverb.

[`AudioPlaybackGroupController`](/documentation/RealityKit/AudioPlaybackGroupController)

A controller that manages synchronized playback for a group of audio resources.



---

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)