- Home
- Skills
- Agents & Orchestration
- DSP Plugin Test & Verification — Honest THD/CPU Benchmarking
DSP Plugin Test & Verification — Honest THD/CPU Benchmarking
by blockie710
Verify and benchmark DSP audio plugins by identifying harness bugs, measuring real THD, and auditing CPU load.
$7
DSP Plugin Test & Verification — Honest THD/CPU Benchmarking
Example session with this skill installed
My JUCE test for click-free switching is failing even though the audio sounds clean. The assertion checks if the sample delta is less than 0.05. How do I fix the test?
- Read your context and instructions
- Compiled the dsp plugin test
The 0.05 threshold is physically impossible for a 1kHz sine; the slope itself exceeds that. Switch to a differential test. Run the signal twice: once steady-state and once with a swap. The test passes if the excess discontinuity at the swap boundary is zero relative to the steady-state run.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
DSP unit test failures are often caused by flawed test harnesses rather than the audio processing code itself. Developers waste hours debugging implementation logic when the actual issue is an impossible threshold or a measurement helper that clobbers the internal state.
What it does
- Identifies harness bugs like measurement helpers that overwrite plugin configurations before testing.
- Implements differential testing for click-free profile swaps to distinguish harmonic content from genuine pops.
- Provides recipes for measuring THD and aliasing using Goertzel filters and fold-back frequency analysis.
- Verifies real-time safety by benchmarking actual CPU load against hardware block budgets.
- Corrects parameter driving logic to use raw choice indices instead of normalized values.
Frameworks & tools
Optimized for JUCE and C++20 audio plugins, with portable methodologies for any real-time DSP environment.
Why this beats prompting it yourself
General AI often suggests relaxing thresholds to make tests pass. This skill enforces physical reality, ensuring you report honest metrics like -90 dBFS aliasing only when physically achievable, preventing "fake green" builds.
Use cases
- Debug failing assertions in
processBlocksequences. - Verify oversampling suppression at 2x, 4x, and 8x rates.
- Benchmark CPU consumption across different plugin states.
- Audit parameter listeners for index mapping errors.
Known limitations
Not intended for GUI layout testing or general non-audio debugging. Requires an existing C++ test harness to apply fixes.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 3 months ago
Permissions
No special permissions declared or detected
What's inside
Creator
blockie710
7 skills on Agensi
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.