[/quote]
True, but the thing is I have to plug the plug into my computer, and I can't ensure that, when plugged in, the circuit remains what I want it to be if I solder directly onto the connector, unless I misunderstood you. I.e., the different connections might mix.[/quote]
I assumed you would connect a small coaxial cable, like a microphone cable, from the phototransistor mounted somewhere to the computer, and the connector would be soldered onto the cable end at the computer. Now, if you connect cable shield to connector outer sleeve, and cable center to connector tip (and NOTHING) to connector ring), here's what happens as you plug it into the sound board socket.
1. Tip contacts socket ground, no other connections made - no problem.
2. Tip and ring contact socket ground - still no problem.
3. All three plug parts contact socket ground - still no problem.
4. Tip contacts socket "ring", but plug ring and sleeve still contacting socket ground. This is VERY much like the final connection you want to be using, except that the signal from the plug tip is on the wrong stereo channel. You see, in most sound card sockets, the outer (sleeve) contact is BOTH signal return and Ground, because the card's circuits connect chassis ground to signal ground. The Ring and Tip contacts are just the two signals from the two separate stereo channels (they share the common signal return / ground).
5. Tip, Ring and Sleeve of the plug all contact the correct pieces in the socket and normal operation is established.
If you reverse this as it is unplugged, you'll see that there are no problems during that operation, either.
The worst-case condition is stages 2 and 3 above when two or three things all are connected to ground. IF your external circuit output (e.g., an amplifier) would be damaged by having its output signal shorted to ground, then this is a problem, and you do need to find an alternative connector system (such as the RCA connector you showed) that makes it less likely for such a short circuit to happen. But if that's not the case, and you are worried only about what voltages are applied to your external circuit from sources in the socket, I don't think you have a problem.