Loudness Target
audacity_loudness_targetMeasures integrated loudness and applies static gain to reach a target LUFS while preserving true-peak headroom and respecting a max boost limit.
Instructions
Measure then apply static gain to approach targetLufs while preserving measured true-peak headroom and respecting maxBoostDb. Requires ffmpeg and a non-silent audio track; default scope is its own extent. dryRun returns the measured input and Amplify plan without applying gain. Reports before/after and whether the target was achievable; it never compresses or guesses absent LUFS/true peak.
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": {
"track": "<track>"
},
"name": "audacity_loudness_target"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | ||
| start | No | ||
| track | Yes | ||
| dryRun | No | ||
| maxBoostDb | No | maximum positive static gain, in dB; does not cap attenuation | |
| targetLufs | No | desired integrated loudness, in LUFS | |
| toleranceLu | No | allowed distance from targetLufs, in LU | |
| truePeakCeilingDbtp | No | maximum rendered true peak, in dBTP |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | Yes | ||
| after | No | ||
| notes | No | ||
| steps | Yes | ||
| before | Yes | ||
| dryRun | Yes | ||
| targetCheck | No | ||
| clippedSamples | No | ||
| samplePeakDbfs | No |