title: Change Windows 10 Application Audio Mix in Background (preferrably with Python)
body: <p>I'm looking for a way to change the audio mix of different applications in Windows (ie. Firefox audio level vs. Foobar audio level) without taking focus away from the current application. Python is my most familiar language, but I'd use another language if that'd make things easier on me. The code will be used to interface to an external HID device with some volume knobs and buttons on it. Focus needs to stay on the current window because there will be a VR game running overtop of the audio mixer, and I can't refocus on that if the script tabs away.</p>
  
  <p>I've succeeded in frankensteining some <a href="https://stackoverflow.com/questions/25631123/programmatically-changing-system-wide-speaker-balance-on-windows-7/27168541">older code</a> together that uses the comtypes module, but from there I can only change left/right balance, and not application specific audio levels.</p>
  
  <p>I've tried to cut my way through the relevant windows documentation on MSDN (WASAPI in particular)but it usually ends up sending me down a microsoft rabbit hole and I get in <em>way</em> over my head (I'm still a novice programmer at best).</p>
  
  <p>Am I going about this the wrong way completely?</p>