Interesting idea.? After some quick sketching, I think it could be done with 3 capacitors, 3 resistors, 4 diodes, and a Nan gate (Not And).? I have not worked out the details, but here is a rough diagram in the attached PDF.
I do not have a selection for the diodes.? You do want diodes with low forward voltage drop and high reverse resistance (Schottky?).? ?The resistors are to provide enough forward current to ensure that the AC signal will not be clipped.? I would check your diode selection and adjust accordingly.?
If the Nan gate cannot handle the current, then use the third gate as an inverter driving a transistor or MOSFET to switch the computer audio diode.
A potential reference :
Please verify before building, as this was early morning musing, and I am not confident that I have thought through all of the requirements.
73
Evan
AC9TU