1

I'm looking to place a Raspberry Pi in between an audio input and speakers, visualizing LEDs along the way.

My first question is simple: Is the Raspberry Pi capable of taking an audio input and passing it through the Pi to output it without lag? (3.5mm jack -> USB Soundcard -> Raspberry Pi -> USB Speakers or 3.5mm out if needed.) The lack of latency is important as it will need to sync with video. Is this possible?

Second question is a little more complicated. Is the Raspberry Pi (any version) powerful enough to analyse the audio input and visualize the audio in realtime, (via LEDs) to then output the audio without any latency? If the answer is no, is the latency caused by passing the audio through the board, or is it because of the visualization? If so, I could always just split the audio going to the speakers and the audio going to the Pi, thus negating the need for an output from the Pi.

Greenonline
2,9725 gold badges27 silver badges38 bronze badges
asked Feb 21, 2016 at 2:52

1 Answer 1

1

You don't need to pass audio through the Pi. You just need to "tap off" the audio into the Pi to generate the visual you are looking for. What you can do is use an op-amp to follow the audio signal and buffer it into the audio input of the the Pi.

As far as latency goes, there will always be some latency associated with digital signal processing. I don't think it will be hugely noticeable if the code is lightweight enough. 10-20 milliseconds I think is achievable.

Greenonline
2,9725 gold badges27 silver badges38 bronze badges
answered Feb 21, 2016 at 5:02

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.