measure_loudness
Measure integrated loudness (LUFS) and true peak of a media file, then calculate the linear gain required to reach a target LUFS such as -16.
Instructions
Measure integrated loudness (LUFS) and true peak of a media file with ffmpeg loudnorm, and compute the linear gain needed for a target, e.g. -16 LUFS (platform standard) — the dialable, explicit alternative to black-box audio "enhancement".
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": {
"mediaPath": "<mediaPath>"
},
"name": "measure_loudness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mediaPath | Yes | ||
| targetLufs | No |