Expand description
Master volumes and the music duck.
Six games each scale their sound effects by an options-menu setting in six
different ways. Master is the one copy: an exact rational for the effects
level, the same for music, and a ducking gain that lets an important sound
pull the music down and release it afterwards.
The mixer applies the effects ratio at the point a level reaches the chip and
remembers the unscaled level, so changing the setting while sounds play
re-scales them immediately. Music is not routed here: Master::music_level_q15
returns the value, and the game writes it to the CD volume register.