Measure File
audacity_measure_fileMeasure WAV or other audio files without opening Audacity, reporting peak, RMS, DC offset, crest factor, and optional LUFS/true peak against target ranges.
Instructions
Measure an exported/source audio file without touching Audacity. Native PCM/float WAV peak/RMS/DC/crest and advisory defects need no dependencies; ffmpeg on PATH adds EBU R128 LUFS/LRA/true peak and decodes other containers. Unavailable targets report unknown. With targets, returns {measurement,targetCheck}; otherwise returns the measurement directly.
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": {
"file": "<file>"
},
"name": "audacity_measure_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | ||
| backend | No | auto | |
| targets | No | ||
| dualMono | No | ||
| timeoutMs | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rms | No | ||
| file | No | ||
| peak | No | ||
| notes | No | ||
| scope | No | ||
| frames | No | ||
| backend | No | ||
| crestDb | No | ||
| rmsDbfs | No | ||
| channels | No | ||
| dcOffset | No | ||
| dualMono | No | ||
| duration | No | ||
| peakDbfs | No | ||
| perChannel | No | ||
| sampleRate | No | ||
| measurement | No | ||
| silenceGaps | No | ||
| targetCheck | No | ||
| unavailable | No | ||
| truePeakDbtp | No | ||
| clippedSamples | No | ||
| integratedLufs | No | ||
| discontinuities | No | ||
| loudnessRangeLu | No | ||
| silenceGapCount | No | ||
| quietRmsDbfsEstimate | No | ||
| dynamicRangeDbEstimate | No |