I'm looking for a way to wire the stereo output of a device into its own mono microphone input. This will be soldered as a 4 pin 3.5mm TRRS audio jack.

I need to record the output of my smartphone on the smartphone itself (without software modification.) I have screen recording apps available, but they take audio from the microphone.

I tried two circuits:

  1. Android official Audio Loopback Dongle (stackoverflow question about this circuit) - this works but distorts human speech. Perhaps incorrect resistor/capacitor values?
  2. Headphone Output/STEREO MIX To MIC Input For Recording, but wired input and output together, ground left not connected. Android doesn't detect this as an mic and uses internal microphone.
  • \$\begingroup\$ Adding a 1.0uF (polarized) to a 0.1uF (ceramic) seems to fix the problem a bit, but still audio doesn't sound right sometimes. Haven't got bigger caps at the moment to check if making this value higher will help. \$\endgroup\$ – Krzysztof Bociurko Sep 16 '20 at 23:31
  • 1
    \$\begingroup\$ Scratch Youtube off your mental list of places to find technical information. Fuzzy videos of people mumbling to themselves while showing you a circuit drawn on a post pad just doesn't cut it. You need written descriptions and drawings that are legible. Youtube is great for funny cat videos. Leave it at that. \$\endgroup\$ – JRE Sep 17 '20 at 8:25
  • 1
    \$\begingroup\$ The video doesn't apply to Android phones. It applies to PC soundcards. \$\endgroup\$ – JRE Sep 17 '20 at 8:42
  • \$\begingroup\$ @JRE, didn't think that a PC soundcard speaker/headphone and an smartphone headphone output would be that different. \$\endgroup\$ – Krzysztof Bociurko Sep 17 '20 at 13:38
  • \$\begingroup\$ PCs have a TRS jack for speakers, and a TRS jack for line in. The microphone jacks are usually only TS. \$\endgroup\$ – JRE Sep 17 '20 at 13:43

Don't mess with the capacitor if you have distortion.

Here's the "circuit" from your first link:

enter image description here

"TIP" and "RING" are the speaker outputs. "RING2" is ground.

The two 1k resistors form a voltage divider with the 100 ohm resistor connected to ground ("RING2.") The values given reduce the speaker signals by a factor of 10. That is, a speaker signal of 100mV is only 10mV when it gets to the capacitor. You need this because the speaker output signal is much larger than the normal microphone signal.

Distortion means the signal going in to "MIC" is too high. The solution is to use larger resistors in place of the 1k resistors suggested in the circuit. That will lower the voltage of the signal going to "MIC."

If you said "distortion" but meant that low frequencies are missing from the recorded audio, then you used the wrong word.

If low frequencies are missing, just say so.

The cure for missing low frequencies would be to use a larger capacitor.

A 1 microfarad ceramic capacitor would be simplest.

If you only have electrolytic capacitors, then the plus terminal should go towards the microphone. The microphone line has a DC voltage on it that is used to power the microphone capsule.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.