--- tags: - engine - audio --- # Audio Built on SDL_mixer 3. - **Buses:** master, music, sfx, ui. Each has its own volume, saved with settings. - **Voice limiting:** a per-sound maximum of concurrent voices plus a minimum retrigger interval, so twenty towers firing in the same tick don't produce twenty overlapping sounds. - **Pause behaviour:** gameplay sounds follow `SimClock` (paused during planning); UI sounds and music don't. - **Spatialisation:** simple pan and distance attenuation from the camera focus point is enough for a top-down tower defense. Full 3D audio isn't needed. - Sounds and music are `Handle` assets (see [[Assets]]).