AgentStack
SKILL verified MIT Self-run

Audio Fft Sanity

skill-gertsylvest-meta-team-audio-fft-sanity · by gertsylvest

FFT-based sanity check for audio output files — verifies fundamental frequency, THD, SNR, clipping, and silence. Use after offline C tests or WASM OfflineAudioContext captures to confirm a signal chain is producing correct output.

No reviews yet
0 installs
1 views
0.0% view→install

Install

$ agentstack add skill-gertsylvest-meta-team-audio-fft-sanity

✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README — it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-gertsylvest-meta-team-audio-fft-sanity)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming — see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps — measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Audio Fft Sanity? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Audio FFT Sanity Check

Run a suite of FFT-based assertions on an audio output file to confirm a signal chain is behaving correctly. Suitable for both offline C test output and WASM OfflineAudioContext captures.

Requirements

  • Python 3.8+
  • numpy and scipy: pip install numpy scipy

Instructions

Arguments are in $ARGUMENTS. Pass them directly to the analysis script:

python3 "$(dirname "$0")/analyse.py" $ARGUMENTS

Checks performed

| Check | What it detects | |---|---| | CLIPPING | Any sample magnitude > 0.99 — indicates gain staging problem or overflow | | SILENCE | RMS below -60 dBFS — catches zero-output bugs (uninitialised buffer, wrong pointer) | | FUNDAMENTAL | Detected peak frequency vs --freq (if given) — verifies oscillator/filter tuning | | THD | Total harmonic distortion (harmonics 2–5 vs fundamental) — catches nonlinear distortion or aliasing | | SNR | Signal-to-noise ratio estimate — catches noise floor issues or quantisation problems |

Exit codes

  • 0 — all checks passed
  • 1 — one or more checks failed

Examples

# Basic smoke test — check for clipping, silence, SNR, THD with defaults
python3 analyse.py output.wav

# Verify a 440 Hz sine from a synth, strict THD limit
python3 analyse.py output.wav --freq 440 --thd-max 1.0 --snr-min 60

# Raw float32 file at 48 kHz, stereo interleaved (uses first channel)
python3 analyse.py output.f32 --sr 48000 --channels 2 --freq 1000

Typical usage patterns

Synthesizer test: Run the synth at a known pitch (e.g. MIDI A4 = 440 Hz), render N frames to a float32 file, then:

python3 analyse.py synth_output.wav --freq 440 --thd-max 2.0 --snr-min 50

Effect processor test (e.g. filter, EQ): Feed a broadband noise or sweep, capture output — omit --freq and check only for clipping and SNR:

python3 analyse.py filtered_output.wav --snr-min 30

Impulse response capture: Feed a single-sample impulse, check output is non-silent and not clipping:

python3 analyse.py ir_output.wav

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet — be the first.

Versions

  • v0.1.0 Imported from the upstream source.