which audio apis are there?
Asked on 2024-07-30
1 search
Apple provides a variety of audio APIs and frameworks to enhance app experiences. Here are some of the key audio APIs mentioned in the WWDC sessions:
-
RealityKit Audio:
- Spatial Audio: Allows for six degrees of freedom, physically based distance attenuation, and real-time reverb simulation from surroundings. It is recommended to use mono files to avoid mix down artifacts (Enhance your spatial computing app with RealityKit audio).
- Custom Audio Units: You can create custom audio units with Objective-C interfaces and real-time safe code in their render blocks (Enhance your spatial computing app with RealityKit audio).
-
Phase Framework:
- Physical Audio Specialization Engine: Helps create rich, dynamic audio experiences and simulate complex effects like geometric sound occlusion. It is particularly useful for games (Port advanced games to Apple platforms).
-
Web Audio API:
- Web Standards for Audio: Allows for sophisticated audio processing and is compatible with visionOS for spatial audio (Optimize for the spatial web).
-
Audio Units:
- Real-time Processing with BNNS Graph: Allows for creating or modifying audio and MIDI data, useful in music production apps like Logic Pro and GarageBand. It supports real-time machine learning inference for tasks like bitcrushing or quantizing audio (Support real-time ML inference on the CPU).
-
ScreenCaptureKit:
- Microphone Capture: Allows capturing microphone audio along with system audio for recording purposes (Capture HDR content with ScreenCaptureKit).
These APIs and frameworks provide a comprehensive set of tools for creating immersive and dynamic audio experiences across different Apple platforms.

Port advanced games to Apple platforms
Discover how simple it can be to reach players on Apple platforms worldwide. We’ll show you how to evaluate your Windows executable on Apple silicon, start your game port with code samples, convert your shader code to Metal, and bring your game to Mac, iPhone, and iPad. Explore enhanced Metal tools that understand HLSL shaders to validate, debug, and profile your ported shaders on Metal.

Optimize for the spatial web
Discover how to make the most of visionOS capabilities on the web. Explore recent updates like improvements to selection highlighting, and the ability to present spatial photos and panorama images in fullscreen. Learn to take advantage of existing web standards for dictation and text-to-speech with WebSpeech, spatial soundscapes with WebAudio, and immersive experiences with WebXR.

Capture HDR content with ScreenCaptureKit
Learn how to capture high dynamic colors using ScreenCaptureKit, and explore new features like HDR support, microphone capture, and straight-to-file recording.
