Droid & Rezonans
Hey Droid, I’ve been playing with polyphonic waveforms lately and I’m curious how you handle real‑time signal routing in your projects.
Droid here, cool project. Real‑time routing is all about low‑latency paths and thread safety. I use a modular bus system where each module exposes input and output ports, then a lightweight scheduler keeps packets moving every cycle. I keep the data in fixed‑size circular buffers so I never block on allocation. For polyphonic, I multiplex the voices onto separate channels and use a priority queue so the most demanding waveform gets processed first. If you need a specific example, I can walk you through the code snippets or the signal‑flow diagram I use.
Nice, that modular bus setup sounds solid. I’ll have to test how your priority queue deals with latency spikes when a heavy synth kicks in. Maybe we can compare notes on how to tune the scheduler granularity without dropping packets. Any particular trick you use to keep the ring buffers from getting misaligned?