← All Tools Free Browser Sandbox · Pro ZIP + Offline CLI ($5.00) Open Live Tool
Buy on Polar ($5.00)

Client-Side Web Audio DSP Studio & Batch WAV CLI Kit

Zero-upload browser WAV analyzer & Web Audio DSP sandbox paired with a pure-Python batch WAV processor and CI Audio QA Gate CLI.

Checking voice recordings, game assets, or podcast stems for clipping, DC offset, or long trailing silence inside slim CI containers is tedious when every check pulls in hundreds of megabytes of native media binaries.

Why this problem wastes time

  1. Silent clipping and DC drift slip into builds: Unchecked peaks at >= 0.999 or non-zero DC offsets cause audible pops when tracks are concatenated or transcoded later.
  2. Unstructured CLI logs are hard to gate in CI: Parsing free-form stderr text from general-purpose media transcoders breaks easily across versions.
  3. 24-bit extensible and 32-bit float WAVs break naive scripts: Python's built-in wave module fails on WAVE_FORMAT_EXTENSIBLE (0xFFFE), IEEE float (tag=3), and odd-sized RIFF JUNK/LIST metadata chunks.

Step-by-step workflow

  1. Parse RIFF chunks with word-aligned offsets: Walk fmt and data chunks using ckSize + (ckSize & 1) padding so extra metadata chunks never misalign frame offsets, and sanitize any non-finite float samples.
  2. Compute deterministic QA metrics: Measure Peak dBFS and RMS dBFS (with a -120.0 dBFS silence floor), DC offset, clipped sample count, and frame-synchronized leading/trailing silence.
  3. Gate builds on explicit thresholds: Fail CI cleanly (exit 2) if any file clips or exceeds your DC/silence limits, and emit both RFC-4180 CSV and strict JSON reports.
# Example GitHub Actions Audio QA step (0 external apt/pip packages)
- name: Run Audio Asset QA Gate
  run: |
    python wav_batch.py analyze ./assets/audio \
      --fail-on-clip \
      --max-dc 0.005 \
      --min-rms -45 \
      --max-silence-ms 1500 \
      --csv-out audio_qa.csv \
      --json-out audio_qa.json

Preview batch preset adjustments before writing files:

python wav_batch.py process ./sample_input --preset podcast_clean --dry-run
python wav_batch.py process ./sample_input --preset broadcast_normalize --out-dir ./processed_wav

Automating it in seconds

Use the free zero-upload browser sandbox in index.html to test single .wav files (click Load Example or pick a local file up to 50 MB), inspect Peak/RMS/DC/clip metrics, and tweak Gain, Speed, High-Pass/Low-Pass, Echo, and Trim live. For recursive folder processing, 6 curated JSON DSP presets (podcast_clean, lofi_slow_reverb, bass_warmth, broadcast_normalize, trim_silence, archival_declick), and CI Audio QA exit codes, grab the $5.00 Pro CLI kit on Polar.sh.

Open Interactive Tool / Demo
Client-Side Web Audio DSP Studio & Batch WAV CLI Kit
Full Bundle / Pro ($5.00) — Offline CLI, source & assets (.zip) · Instant checkout via Polar
Buy on Polar