Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

AudioBus

A bus of the mixer, the master among them, as Godot’s buses, Unity’s mixer groups and Unreal’s submixes are: its input, the game’s gain, the game’s effects in the order added, then the player’s volume.

Property Modifier Type Description
gain readonly AudioParam The game’s level for the bus, 1 until the game writes it: what a duck ramps. Before the effects, so a limiter on the bus holds a boost to it, and under the player’s volume, which the game never reaches.
input readonly AudioNode Where a game connects a sound of its own.

addEffect(effect): Disposer

Puts effect after the bus’s other effects, before the player’s volume, and returns what takes it out again. A node takes one place in the mixer at a time, so adding one the mixer holds anywhere throws, naming where.

Parameter Type
effect AudioEffect

Disposer