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.