Sonos interview question

How to code a mixer.