Skip to content

0.7.1

Choose a tag to compare

@wiillownet wiillownet released this 06 Nov 08:21

Fixes the Serum 2 MultiSample load race and a temp folder leak.

  • Fixed: MultiSample presets could render partial or silent. Serum 2's state load returns before a MultiSample oscillator's samples are ready, and a note that starts before then renders without part of its sound. serum-render now waits between the state load and the first note, only for Serum 2 presets with a MultiSample oscillator.
  • New: --multisample-wait (RenderConfig(multisample_wait=...)) sets that wait. The default is 10 seconds; 0 turns it off.
  • Fixed: temp folders no longer pile up. Each process left a serum_render_* folder holding its last preset's state in $TMPDIR, up to 230 MB each. The folder now lasts only for the load, so a batch leaves none behind. Folders left by earlier versions stay until you delete them: rm -rf "$TMPDIR"/serum_render_* when no render is running.
  • KNOWN_ISSUES.md now describes the race and the wait, replacing the claim that a settle render is not the fix.
  • CHANGELOG.md is gone. Release notes carry the changes.

Evidence. Measured at 7 and 8 workers on one 8-core Mac with samples in the file cache (docs/multisample-wait-2026-11-05.json). The longest any preset needed was 5 seconds. At the default, the 13 presets tested in depth gave 20 of 20 renders equal to their settled reference, and all 186 installed MultiSample presets gave 3 of 3. A cold file cache and slower machines were not measured; raise the wait if a preset still varies.

Upgrading. Presets without MultiSample and Serum 1 presets render byte-identically to 0.7.0 under --deterministic (592 and 20 tested), with no wait. MultiSample presets can sound different, because they now play every region. Each one costs a worker the extra wait: the full 778-preset library at 7 workers went from 117 to 326 seconds. Use --multisample-wait 0 for the 0.7.0 behaviour.