Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

AVAudioEnvironmentNodeMBS class

Super class: AVAudioNodeMBS

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVFoundationNode MBS AVFoundation Plugin 15.3 Yes No No Yes, macOS only No
Function: The AVAudioEnvironmentNode class is a mixer node that simulates a 3D audio environment.
Any node that conforms to the AVAudioMixing protocol (for example, AVAudioPlayerNode) can act as a source in this environment.

The environment has an implicit “listener”. By controlling the listener’s position and orientation, the application controls the way the user experiences the virtual world. In addition, this node also defines properties for distance attenuation and reverberation that help characterize the environment.

It is important to note that only inputs with a mono channel connection format to the environment node are spatialized. If the input is stereo, the audio is passed through without being spatialized. Currently inputs with connection formats of more than 2 channels are not supported.

In order to set the environment node’s output to a multichannel format, use an AVAudioFormatMBS having one of the following Audio Channel Layout Tags.

  • kAudioChannelLayoutTag_AudioUnit_4
  • kAudioChannelLayoutTag_AudioUnit_5_0
  • kAudioChannelLayoutTag_AudioUnit_6_0
  • kAudioChannelLayoutTag_AudioUnit_7_0
  • kAudioChannelLayoutTag_AudioUnit_7_0_Front
  • kAudioChannelLayoutTag_AudioUnit_8
Subclass of the AVAudioNodeMBS class.

Feedback, Comments & Corrections

Super class AVAudioNodeMBS

This class has no sub classes.

The items on this page are in the following plugins: MBS AVFoundation Plugin.

AVAudioEnvironmentDistanceAttenuationParametersMBS   -   AVAudioEnvironmentReverbParametersMBS

MBS Xojo Plugins