[CLAP] clap-validator — maintained fork with DAW lifecycle tests

DSP, Plugin and Host development discussion.
Post Reply New Topic
RELATED
PRODUCTS

Post

The original clap-validator by Robbert van der Helm is great, but it hasn't seen a release since March 2023. Three open PRs were sitting there collecting dust. I got tired of waiting.

So I forked it: LX-Audiolabs/clap-validator — v0.3.3, released yesterday.

What's new vs upstream 0.3.2:
  • DAW-typical lifecycle tests — create → init → process → save → destroy → recreate → load → process → save → compare. Catches state corruption that only surfaces during audio processing after a state restore (uninitialized buffers, stale pointers — the nasty stuff).
  • Reactivate cycle test — activate, process a few buffers, deactivate, reactivate, process again. Catches crashes and state leaks on buffer-size / sample-rate changes that DAWs trigger constantly.
  • Hidden parameter randomization — previously skipped hidden/readonly params in fuzz tests. Now they're included because DAWs expose them via automation lanes too.
  • Cherry-picked upstream PRs #27, #28, #29, #30 — fixes that never made it into a release.
  • Rust 2024 edition, all deps updated.
  • Full changelog: CHANGELOG.md
PRs welcome. :slight_smile:

Post Reply

Return to “DSP and Plugin Development”