Real-Time programming with #Linux
https://shuhaowu.com/blog/2022/01-linux-rt-appdev-part1.html
@lupyuen Interesting. In something like audio, you need sub 1ms timing. I don't think there's any Linux that will do this. I actually wonder if RISCOS would be good for real-time systems.
My big dream is to have some kind of RP2040/Pi combo, so one can have fast and proper real-time where necessary.
I use STM32F405/F446 for audio processing in modular synthesizer products.
To get there, variance of 3-4 microseconds on the 20.8microsecond target is audible, and had to be clever to solve that.
The software doesn't do buffering (well, technically 1 sample).
https://github.com/awesomeaudioapparatus/demiurge/
The software/ is a bit gnarly to navigate, since several hardwares are to be supported (just gave up on CH32V307 Risc-V mcu), but the base audio processing is in components/demiurge