API

Class MainAudioBusAbstract

Abstract class representing a main audio bus.

Main audio buses are the last bus in the audio graph.

Unlike AudioBus instances, MainAudioBus instances have no spatial audio and stereo output capabilities, and they cannot be connected downstream to another audio bus. They only connect downstream to the audio engine's main output.

Main audio buses are created by the CreateMainAudioBusAsync function.

Hierarchy (View Summary)

Index

The audio engine this node belongs to.

onDisposeObservable: Observable<AbstractAudioNode> = ...

Observable for when the audio node is disposed.

onNameChangedObservable: Observable<
    { newName: string; node: AbstractNamedAudioNode; oldName: string },
> = ...

Observable for when the audio node is renamed.