Audio input / output selector widget


Hey everyone,

Has anyone seen or implemented an audio input/output selector preset for the touch bar yet? I've been using a very basic shell script to toggle between two output/inputs, but want to get more advanced with a touchbar group for selecting the one I want to use, and I was wondering if anyone else has done anything similar yet. I'm using SwitchAudioSource from brew install switchaudio-osx in my shell script.