/noise-pollution-analysis:noise-metricsfrom noise-pollution-analysis
Compute A- and C-weighted Leq, Fmax, L10, L90 and impacts per minute from a WAV or FLAC noise recording and write a stats JSON; levels are uncalibrated dBFS unless a calibration offset is given.
Ships in noise-pollution-analysis. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Standard sound-level statistics for a recording, the numbers other skills (compare-conditions,
noise-chart, noise-report) build on. Runs locally in a few seconds for a short file
(numpy/scipy only); do not run it over hours of audio on a weak machine, trim with --start/--end.
label=path@2026-11-29T08:12:30 (label and local
start time; without a start time the script uses a sidecar recording.json start_local, else
the file modification time minus the duration and says so).--cal-offset-db, the dB added to every level. Get it by
recording a calibrator (for example 94 dB SPL at 1 kHz) and subtracting its measured dBFS from
94. Without it every level is uncalibrated dBFS and must be labelled that way in everything
you write. The offset can also come from the user profile (cal_offset_db).--channel auto (default, picks the louder channel), mix, or an index.uv run "${CLAUDE_PLUGIN_ROOT}/scripts/noise_metrics.py" "label=<file>" ["label2=<file2>" ...] \
--out "<dir>/stats.json" [--cal-offset-db 0] [--channel auto] [--start S --end S]
stats.json with unit, calibrated, cal_offset_db, definitions and one entry per
recording: LAeq LCeq LAFmax LCFmax LA10 LC10 LA90 LC90 C_minus_A peak impacts impacts_per_min_6dB clipped_samples duration_s sample_rate channel_used channel_rms_dbfs start_local start_source.
| Metric | Meaning |
|---|---|
| Leq | energy-average level over the recording |
| Fmax | highest 125 ms fast-weighted level (first 0.5 s discarded for filter settling) |
| L10 / L90 | level exceeded for 10% / 90% of the 1 s Leq values (L90 is the steady background) |
| C - A | gap between C and A Leq; 10 dB or more is the usual sign of a low-frequency problem |
| impacts/min | onsets of the fast A level more than 6 dB above LA90, onsets within 0.3 s merged |
| peak | highest absolute sample, unweighted; near 0 dBFS means clipping risk |
clipped_samples greater than 0 means the levels are understated.2026-11-29: a 60 s mono 48 kHz WAV and a 180 s one reproduced an earlier independent
implementation of the same definitions to 0.1 dB on Leq, Fmax and L10/L90 (see the plugin
docs/generalisation.md); impacts per minute agreed within one event (11.7 against 12.0 per
minute, a threshold right at the rounding boundary).
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
10 skills in this plugin
/compare-conditionsCompare two or more noise recordings (window open vs closed, source A vs B, before vs after) - delta table against a baseline, per-band deltas and explicit caveats about gain, mic position and the time gap./detect-beatDetect tempo (BPM), beat times and beat strength in a recording of nuisance music or a thumping bass heard through a wall - aubio, librosa and madmom plus an autocorrelation reference, run on Modal./install-analysis-toolsCheck and install the CLI toolchain for noise analysis - ffmpeg, sox, aubio, uv - on Linux, macOS or Windows; verify each works.noise-pollution-analysis@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin noise-pollution-analysis