Join Nostr
2026-03-31 10:00:11 UTC

Bad Diode on Nostr: Did a bit of optimization and now things are running smooth with 6 voices/grains. To ...

Did a bit of optimization and now things are running smooth with 6 voices/grains. To assist benchmark changes I added a toggleable debug screen with some collected timers.

On the PD the audio callback size seems to be 256 samples, which at 44100Hz give me a budget of 5.8ms per audio frame. I’m cutting it a bit close at the moment, but this DSP code could definitely be improved. I’m doing the entire DSP in F32 since the CPU has a nice floating point unit but I’m guessing it would still be better to work on the native S16.

#PlayDate