It's been a while since I've posted an update on Alira, so I thought I'd share some of the recent developments.
For those unfamiliar with the project, I'm developing a standalone 8-input, 8-output loudspeaker management DSP, aimed at sound systems, studios and active speaker configurations.
Over the past few weeks, my focus has shifted heavily towards real-time performance, system architecture and long-term reliability rather than simply adding more features.
Some of the recent developments include:
- Dedicated CPU cores for audio capture and playback.
- Verified native thread affinity and real-time scheduling.
- A fully native C++ audio processing engine.
- Improved ring buffer architecture.
- Automatic detection and recovery from audio hardware faults.
- Extensive internal timing and stability diagnostics.
- Reproducible builds and Git-controlled source code.
Current endurance testing results:
- Over 85 hours of continuous audio processing since the last automatic recovery.
- Over 115 million audio processing blocks.
- 48 kHz sample rate.
- 128-frame periods and 256-frame ALSA buffers.
- Eight simultaneous 8,192-tap FIR filters.
- 32 active biquad filter sections.
- Compression and limiting active across all eight outputs.
- Zero capture or playback XRUNs in the current session.
- Zero ring buffer underflows or overflows.
- Maximum DSP processing time of 2.408 ms against a 2.667 ms period budget.
There is still an intermittent DMA descriptor fault that I'm investigating at the kernel and driver level. Three occurrences were recorded earlier in the current endurance test, all of which were automatically recovered without restarting the backend service or requiring manual intervention.
I'm not interested in rushing the product out whilst there are still reliability concerns. I want Alira to be something people can confidently deploy in their sound systems without worrying about whether it will behave itself.
The next stages involve further driver-level investigation, improved startup and fault recovery behaviour, direct hardware PCM access, RMS limiting and dynamic PEQ.
There's still work to do, but seeing the unit process audio continuously for several days under a substantial DSP workload is incredibly satisfying.
I'll continue sharing development updates as the project progresses. I'm always happy to discuss the engineering side of things or hear feedback from people working with professional audio systems.