I am piping audio from my MacBook into my Raspberry Pi 3B.

MacBook -> Headphone output of USB soundcard -> TRRS cable -> RasberryPi jack input

I am then running it through a DSP algorithm which should decode the signal perfectly.

However, on my setup it is failing to decode the signal.

A couple of my teammates have it working (but sporadically). [EDIT: Turns out their setup is different, see answer].

Is there anything I need to take into account here?

Do I need to insert some resistor/capacitor circuitry?

closed as unclear what you're asking by Milliways, Dmitry Grigoryev, joan, Darth Vader Oct 15 at 13:03

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 1
    The Raspberry Pi has NO "jack input" - it is OUTPUT only. – Milliways Sep 26 at 22:57
  • it is frequently failing to decode the signal - by frequently you mean always – Jaromanda X Sep 27 at 2:58
  • @Milliways Two engineers on the team are experiencing intermittent success, so it must be possible to configure it as input. – P i Sep 27 at 7:12
  • 1
    The circuit is published. The Pi has ABSOLUTELY no analog input so it is impossible. – Milliways Sep 27 at 7:28
  • Thanks @Milliways That was the problem. My route was wrong. – P i Sep 27 at 8:16

(Thanks @Milliways) I was using an incorrect route.

The RaspberryPi has no audio input. It is not possible to configure the jack for input. It is OUTPUT only.

The correct route is:

MacBook AudioJack -> TRRS cable -> MicIn-of-USB-Soundcard -> Rπ USB

Now my Rπ is able to decode the signal.

The problem of intermittency experienced by one developer is likely in the Laptop Jack Spkr <--> USB SoundCard Mic step, and therefore not a Rπ issue.

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