← API
Class
Bus
A Bus is a named mix bucket with its own gain stage, optional FX inserts, a voice-concurrency limit, and an optional sidechain key. Voices are connected to bus.input. The master receives bus.output. level/mute use 10ms ramps to avoid clicks; raw gain.value writes would pop audibly on browsers that don't smooth the parameter. Public time arguments (fadeTo) are seconds.
Members
- constructor
- fxInput Sub-bus the FX chain splices into: input → fxInput → (fx…) → output.
- input
- name
- notifySoloChange Engine-injected callback fired when this bus's solo state changes. The Engine uses it to coordinate the global "any soloed → mute the rest" rule across every bus in the graph. Bus does not depend on Engine; the callback is the only escape hatch.
- output Output node — connect to master.input or another bus.input for sends.
- concurrency
- level
- muted
- soloed
- voiceCount
- addFx
- applyConcurrencyOnSpawn
- applySoloVeil
- dispose
- fadeTo
- fx
- meter
- releaseVoice
- removeFx
- removeSend
- send
- sends
- setConcurrency
- solo
- trackVoice
- unsolo
- voices