Notes for setting up a Raspberry Pi 4 for audio work

We have been messing around with the Raspberry Pi 4 at Notam and had lots of fun with it. We compiled some notes (and a realtime kernel) on how to optimize headless raspbian for audio work and install and setup SuperCollider + neovim + scnvim in easy to copy-paste commands.

PS. The PI4 is an amazing machine for SC!


This is fantastic!

Could you post some rough benchmarks, e.g. how many of X before dropouts occur, this sort of thing? It would be super nice to know what one can expect from a well configured RPI SC setup.

I will do some stats with xruncounter and get back to you!

I overhauled my Raspberry Pi 4 audio setup guide quite significantly. It now includes instructions for installing Raspbian, a script for realtime kernel installation and a photo of a broken arm.

1 Like

I never got around to making viable benchmarks here but in use I experience almost no difference in terms of performance between the Pi4 and my laptop (which is a 2019 model)!

Has anyone tested the difference between the Preempt-RT and the Xenomai real-time kernels on the raspberry pi?

I am curious because this website says that Preempt-RT performs better than Xenomai but the Bela platform has chosen the Xenomai for their ultralow latency system using the BBB.

Oh man oh man, so excited about this, just got a pi4 in the mail. Thank you!

I’ve only tried the RT kernel in my blog post and it is a bit sketchy. I’d like to try the ones you suggest. That said, I normally don’t use RT kernel at all on Pi4 these days. Would love to hear experiences with those kernels though

1 Like