Skip to content
VB

OS · REALITYAUDIO

RealityAudio

Open-source spatial audio package for RealityKit

The situation

Born directly out of Revenants: I needed spatial audio in RealityKit that could realistically muffle or block when a real wall or piece of furniture was between the listener and the sound source. RealityKit didn't have a simple way to do that — it meant hand-rolling matrix math and manual AnchorEntity setup every time.

Thought process

This felt like a gap worth fixing properly rather than a one-off hack buried in the game's codebase, so I pulled it out into its own package.

Engineering decisions

RealityAudio wraps spatial audio setup into a single function call — drop a 3D sound into a scene with one line — with native LiDAR-based occlusion built in, so sound realistically attenuates or blocks based on real-world geometry when the host app enables ARKit scene understanding. It ships with its own test suite and supports iOS 17+ and visionOS 1+.

Recognition

Covered by DevBytes.