Real-time audio DSP in pure Swift, no C++ needed

I open-sourced SignalKit, an audio DSP library I extracted from my shipping macOS app.

7 processors: parametric EQ, multiband compressor, look-ahead limiter, BS.1770 LUFS meter, stereo widener, crossfeed, and a lock-free ring buffer. Built on Accelerate/vDSP, zero external dependencies.

Zero heap allocations in the processing path. No Foundation, no locks, no ObjC messaging. Safe to call from an IOProc or AVAudioEngine tap.

Full pipeline runs in ~38 μs on M4 Max at 512 frames/48 kHz.

60 tests, benchmark suite with baselines, MIT licensed.

https://github.com/CastorLogic/SignalKit

Thanks in advance for your feedback. Hope you guys enjoy it!

11 Likes