Diagnose audio problems
audio_diagnoseScans a recording for defects such as clipping, clicks, crackle, noise, hum, reverb, phase/mono issues, band limits, and silence, reporting measurements and fixes before repair.
Instructions
Finds problems in a recording: clipping (including flat-topped plateaus below full scale), clicks and pops, crackle, background noise level, mains hum, reverberation, DC offset, phase problems and mono compatibility, a band limit (low-pass or lossy source), and leading or trailing silence; checks adds a mono-fold analysis and the mastering assistant's profile. Each issue is flagged with its measurements and a fix, and suggested_stages can be passed unchanged to audio_repair. Use it before repairing, or to ask 'what is wrong with this file'. Do not use it for loudness or tempo (audio_loudness, audio_analyze) or to fix the file (audio_repair). Example: {"path": "old_recording.wav"}.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "audio_diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Audio file to inspect (any channel count). | |
| range | No | Analyze only this window ({start_sec, end_sec}, in seconds); an end_sec past the file length is clipped. Omit for the whole file. | |
| checks | No | Extra checks beyond the defect scan: monoCompat (stereo files: how the mix survives a fold to mono, overall and per band) and masteringProfile (loudness, spectral balance and dynamics as the mastering assistant reads them). Omit for the defect scan alone. | |
| detail | No | 'concise' returns the summary and the most useful fields; 'full' returns all. | concise |