Loudness over time
loudness_timelineBreaks audio/video into windows and reports max momentary and short-term loudness plus true peak, flagging loudest, quietest, and sudden jumps to find hot ads, quiet guests, or spikes.
Instructions
Break a file into windows (default 5 s) and report max momentary loudness, short-term loudness and true peak for each, then point out the loudest and quietest sections and sudden jumps. Use it to find the ad-read that's too hot, the guest who's too quiet, or the music sting that spikes. Optional CSV export.
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": "loudness_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to a local audio or video file. ~ is expanded. | |
| start | No | Only analyse from this time (seconds or HH:MM:SS). | |
| jump_lu | No | Flag windows whose max momentary loudness jumps by at least this much from the previous window (silence is ignored). | |
| duration | No | Only analyse this many seconds. | |
| max_rows | No | ||
| overwrite | No | ||
| audio_stream | No | Which audio stream to use if the file has several (0 = first). | |
| window_seconds | No | ||
| csv_output_path | No |