Wednesday, 27 February 2019

Using diodes to mix 2 audio signals into one set of speakers


I have the audio output of 2 computers connected to only one set of speakers.
Each computer uses one of these external USB sound cards: enter image description here


And I use this splitter cable to wire the signals together: enter image description here



The whole thing works, but with some minor problems:



  • There's a little bit of noise when the speakers are set at max volume

  • One audio signal sounds a bit louder than the other

  • When recording the microphone input, sometimes the audio output of the other computer becomes the mic input


So obviously the two signals are interfering each other and also each signal finds its way into the other sound card because the splitter cable is meant to be a splitter and not a mixer.


So I thought if I could solve this by adding diodes to each side of the splitter cable so that each audio signal goes to the speakers only and not to the other sound card. enter image description here


Will this idea work?
What kind of diode should I use for that?




Answer



As mentioned in the comments, diodes are not the way to go. They will massively corrupt your audio signal, and it will just sound utter rubbish.


The simplest method is to use a passive mixer. That simply consists of two resistors per channel:


schematic


simulate this circuit – Schematic created using CircuitLab


You can tie all the ground wires together without resistors.


This of course is assuming you are using a powered speaker set, and not just raw speakers.


No comments:

Post a Comment

arduino - Can I use TI's cc2541 BLE as micro controller to perform operations/ processing instead of ATmega328P AU to save cost?

I am using arduino pro mini (which contains Atmega328p AU ) along with cc2541(HM-10) to process and transfer data over BLE to smartphone. I...