Zend certified PHP/Magento developer

How can I go about routing audio automatically with code? [closed]

In HS I took every coding class available to me so I can be flexible with what language to use, I just don’t even know where to start.

I want to make a simple file I could run to quickly switch my default audio device to a virtual one and then give me the option to isolate certain programs to a different virtual audio device so that I can listen to music or YouTube without OBS picking up on it. I already have the audio devices and everything set up with VoiceMeeter Banana, I just need to figure out how to automatically change the setting in Windows 10.

Screenshot

These are the two menus I need to automate. You can see, every time I need to change the default and then change what device Chrome outputs to.

Any suggestions on where to start? Is something like this feasible with a .bat file or am I gonna have to dust off my python/java skills?