(first post here, apologize in advance for any formatting problems etc.)
I'm trying to route audio from Chrome and Firefox as two separate streams into Supercollider so that I can mix them separately. Right now I've been successful in routing all app sound to a pulseaudio sink which I can then route to SC (using the instructions here), but this means that all app audio is summed before getting to SC so I can't edit the streams separately.
I'm relatively new to Linux audio so have mostly been stumbling around various posts on here to try and see if this is possible. This post seemed promising, but I couldn't get it to work. This might be because Chrome and Firefox now use pulseaudio instead of alsa as their default? Any ideas would be much appreciated!
I'm on Ubuntu 18.04 LTS and using qjackctl and jackd2, hopefully with all the correct libraries installed.
Image of my qjackctl session (I'd basically like each browser to have its own 'pulseaudio jack sink'): screenshot