audio_diff
Compare two WAV or FLAC files by analyzing loudness, onsets, pitch, key, and per-segment RMS. Reports whether files are byte-identical, equivalent within tolerances, or different with details on diverging features.
Instructions
Compare two audio files (WAV or FLAC) in feature space (loudness, onsets, pitch, key, per-segment RMS) rather than byte-for-byte, and report a verdict: byte-identical, tier-2 equivalent (within this workspace's cross-platform tolerances), or different (naming which dimensions diverge). Use this to check whether a re-render, edit, or platform change actually altered the audio in a way that matters — a different verdict is a normal, successful answer, not a tool failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| json | No | Also append the full CompareReport as pretty JSON after the text summary. Default false. | |
| window_ms | No | Segment window length, milliseconds, for the per-segment comparison. Default 1000. | |
| audio_path_a | Yes | Path to the first audio file (WAV or FLAC). | |
| audio_path_b | Yes | Path to the second audio file (WAV or FLAC). |