All posts
v0.4.3
v0.4.3
Fixed
- Compile no longer blocks the audio thread. Recompiling a patch
used to stall
process()for the full duration ofakkado_compile(~110 ms median, ~158 ms peak on heavy patches like the unison-pad), causing audible silence on every hot-swap. Compile now runs in a dedicated Web Worker that owns its own WASM instance; the AudioWorklet only receives pre-packed bytecode + state-init buffers via the newloadProgrammessage.
Changed
- Rapid recompiles supersede-by-newest. Holding Ctrl+Enter no longer queues a long backlog of compiles; every new compile gets a monotonic generation tag and stale results are silently dropped, so only the latest source ever lands in the worklet.
- Compile worker recovers from crashes. If the worker is killed
(WASM trap, OOM, browser kill), the next
compile()surfaces a "worker crashed — restarting" diagnostic and the call after that respawns the worker and succeeds — no page reload required.