0

So I work with many devices that produce static or other undesired noise and I want to use my raspberry pi zero to filter the static from the incoming audio and play it out of the HDMI audio device. I know how to use PulseAudio to filter a source and pump it into a sink. What I don't know is how to turn the GPIO pins into a 3.5mm "aux" jack.

Timberwolf
  • 199
  • 1
  • 6
  • Do you want to use GPIO as input or output? For input: https://raspberrypi.stackexchange.com/questions/43320/raspberry-pi-3-audio-input – Mark Dec 22 '17 at 06:06
  • @Mark say I got the hat mentioned in the post. Would I use line in or mic in with, for example, my phone? Or would I need something different entirely to use with an "aux" cord? – Timberwolf Dec 22 '17 at 06:30
  • AFAIK you should use line in because microphone produces much weaker signal and to compensate this, mic-in input comes to pre-amp first. And mic-in are usually mono. – Mark Dec 22 '17 at 07:04

1 Answers1

0

Thanks to @Mark, I figured out I just need a GPIO audio card with a line in, then using an "aux" cord directly connect the line in and device.

Timberwolf
  • 199
  • 1
  • 6
  • Please accept your own answer with a click on the tick on its left side. Only this will finish the question and it will not pop up again year for year. – Ingo Jan 14 '20 at 22:32
  • 1
    @Ingo at the time it wouldn't let me and I had since forgotten the post. I've taken care of it now. – Timberwolf Jan 16 '20 at 09:15
  • Thanks :-) Yes, the questioner has to wait two days before he can accept his own new answer. – Ingo Jan 16 '20 at 10:16