logoalt Hacker News

Fully Featured Audio DSP Firmware for the Raspberry Pi Pico

133 pointsby BoingBoomTschaklast Saturday at 1:28 PM27 commentsview on HN

Comments

acidburnNSAtoday at 11:43 AM

Tangentially related, I recently had some hand-me-down high-end full tower speakers lose their integrated subwoofer amps. I bypassed them and wired in an external amp but people said the integrated DSP would be missing. That's when I learned about CamillaDSP [1] and CamillaFIR [2]. I got a calibrated UMIK-1 microphone and did a frequency sweep in the room. Then I applied the Camilla-computed FIR filter to my snapcast-sourced music stream on the Raspberry Pi 3 B I have networked into the living room. Now I have room-corrected and loudspeaker corrected fancy DSP and the speakers sound better than ever. Pretty fun, and very cheap. The Pi3 runs it using about 20% of its CPU. Not bad! I did the same process up in my office with some desk speakers and they sound great too (that time using EasyEffects to apply the filter in real-time rather than CamillaDSP).

[1] https://github.com/HEnquist/camilladsp

[2] https://github.com/VilhoValittu/CamillaFIR

show 1 reply
a96today at 10:48 AM

Looks like output only and only one stereo pair from USB is processed to outputs, but a really cool project.

Also, for those watching for it: https://www.audiosciencereview.com/forum/index.php?threads/i...

> I can't take all of the credit. My little robot intern (Opus 4.5) has been very helpful with the busy work, leaving me free to handle the trickier planning and implementation. ;)

BoingBoomTschaklast Saturday at 1:28 PM

And here's the release thread for those of you wanting a bit more detail or to talk with the creator: https://www.audiosciencereview.com/forum/index.php?threads/i...

phkahlertoday at 2:02 PM

What would be the best way to have analog input and output?

show 1 reply
joenot443today at 1:06 PM

This is awesome.

What are the odds a Raspberry Pi could keep up with BTrack?

https://github.com/adamstark/BTrack

show 1 reply
roxolotltoday at 12:24 PM

I’ve been wanting to follow this tutorial for some time. I think this might make the whole thing way simpler and smaller if all I want is line in.

https://www.raspberrypi.com/news/upcycle-a-sonos-play1/

hexmilestoday at 12:28 PM

I wonder if you could do the same thing in reverse and have a cheap way to get multiple inputs. I would love a cheap way to add 8–16 inputs to my PC; all the audio interfaces I found cost quite a bit.

show 1 reply
wiradikusumatoday at 12:21 PM

I recently bought a Behringer U-phono UFO202 as a cheap DAC for my mini pc. Can this Pi thing replace it?

show 2 replies
ameliustoday at 11:25 AM

Is there a guaranteed latency?

show 2 replies
lysacetoday at 11:35 AM

Nice.

I wonder if 264/520 kB RAM is also enough for a high quality parametric stereo reverb/echo effect? Should fit about 3/6 seconds of uncompressed 16-bit 44.1/48 kHz audio.

Also: Raspberry Pi Ltd - please keep increasing the RAM size in future iterations to unlock even more use cases.

show 1 reply
marlburrowtoday at 12:05 PM

[dead]