Essentially copy the jack
connections that modep
makes when being run in the normal way via a web front end and changes the input and out put connections to switch between them.
Getting between 50 and 100 millisecond response times. No audible clicks but I am hoping to get the switching time down to 10 milliseconds.
Uses a cheap USB foot switch that is essentially a USB keyboard with three keys.