Buses and settings
Every sound plays on a bus: Music, Effects, Interface, Ambience or Voice, all under Master. The volume of a bus is three layers multiplied:
- the player's settings,
audio.bus.<name>.volumeandmute, on the Audio page of Settings; a project sets their defaults inproject.aego; - the session, from
audio.SetBusVolumeandaudio.Mutein scripts and the faders of the Audio Mixer, never saved; - the world, from audio zones.
Every change ramps, so nothing clicks. audio.enabled turns all sound off without closing the output; audio.bufferSize and audio.sampleRate reopen it, and playing sounds go on.