Spatial Audio API for XR Head-Tracked Playback Control

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Developers lack a straightforward method to control the spatial presentation of audio in extended reality (XR) environments, as existing technologies do not provide a simple way to define how audio is spatialized in XR environments with multiple speakers.

Innovation Solution

An application programming interface (API) is introduced that allows developers to specify audio session parameters, including a spatial experience value, to instruct the operating system on how to spatially play audio, using audio session and playback APIs to adjust and send audio data to multiple speakers, enabling head-tracked, fixed, or non-spatial experiences.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If developers use existing audio playback methods, then audio can be played through multiple speakers, but there is no simple way to control spatial presentation and positioning of audio sources

Engineering Contradiction:
Improveease of controlling audio spatializationVSAvoidspatial audio control capability
Core Design Contradiction:
Ease of operationVSLoss of information

Solution Approach 1:

The patent introduces an audio session API as an intermediary layer between the application and the audio playback system. This API accepts high-level spatial experience parameters (head-tracked, fixed, or non-spatial) from developers and automatically translates them into complex spatialization instructions for the audio rendering engine, eliminating the need for developers to manually configure detailed spatial audio settings while preserving full spatial control capability

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The system automatically determines and configures spatial audio parameters based on the selected audio session type. When a developer chooses a spatial experience mode through the API, the system self-configures the audio rendering pipeline, speaker routing, and spatial positioning algorithms without requiring additional manual intervention or complex developer configurations

Inventive Principle:
Principle #25Self-service

2Measurement precision

If the system provides detailed spatial audio control, then audio positioning accuracy is improved, but the complexity of the API and implementation increases

Engineering Contradiction:
Improveaudio source positioning accuracyVSAvoidAPI complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent segments the audio spatialization control into distinct, pre-defined audio session types (head-tracked, fixed, non-spatial). Each session type encapsulates a specific set of spatialization behaviors and parameters. This segmentation allows developers to achieve precise audio positioning by simply selecting the appropriate session type, rather than manually configuring multiple individual spatial audio parameters, thereby reducing API complexity while maintaining positioning accuracy

Inventive Principle:
Principle #1Segmentation

3Adaptability or versatility

If the system supports multiple spatial experience modes, then adaptability to different XR scenarios is improved, but the system complexity increases

Engineering Contradiction:
Improvespatial audio experience adaptabilityVSAvoidaudio session management complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The audio session API is designed as a universal interface that handles multiple spatial experience modes through a single, consistent mechanism. The same API endpoint and parameter structure are used regardless of whether the developer chooses head-tracked, fixed, or non-spatial audio. This multi-functional design allows the system to support diverse XR scenarios while maintaining a simple, unified interface that does not increase perceived complexity for developers

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS20240406662A1API for Spatial Audio Controls
Publication Date: 2024.12.05 APPLE INC
  • US20240406662A1 patent drawing
  • US20240406662A1 patent drawing
  • US20240406662A1 patent drawing

AI summary

In one implementation, a method of playing audio is performed by a device located in a physical environment, coupled to two or more speakers, and including one or more processors and non-transitory memory. The method includes executing an operating system and an application. The method includes receiving, by the operating system from the application via an application programming interface, audio session parameters including a spatial experience value providing instructions for the spatial playback of audio associated with the application. The method includes receiving, by the operating system from the application, instructions to play audio data. The method includes adjusting, by the operating system, the audio data based on the spatial experience value. The method includes sending, by the operating system to the two or more speakers, the adjusted audio data.