Contents

PHASESpatialMixerDefinition

An audio-layering object that produces environmental effects and plays sound with a 3D position and orientation.

Declaration

class PHASESpatialMixerDefinition

Mentioned in

Overview

This class enables the app to define a relationship between a source and listener in six degrees of freedom: orientation (roll, pitch, yaw) and a 3D position (x, y, z).

The framework plays back an audio source with distance modeling (see distanceModelParameters), direct path transmission effects and any combination of environmental effects, such as reverb (see PHASESpatialPipeline), and directivity (see listenerDirectivityModelParameters). 

The result enables an app to implement directive point or omnidirectional sound sources — with or without direction, respectively — and volumetric sources with a defined shape.

For a walkthrough of spatial mixing, see Playing sound from a location in a 3D scene.

Topics

Creating a Spatial Mixer

Setting a Pipeline

Changing Sound Over Distance

Configuring Directivity