Detect silence / dead air
detect_silenceFind silent stretches below a noise threshold for a minimum duration, returning timestamps, totals, and padded keep segments so you can plan jump cuts. Export keep lists as CSV or ffmpeg concat files.
Instructions
Find silent stretches (below a noise threshold for at least a minimum duration). Returns each gap with timestamps and totals, and optionally the inverse — padded 'keep' segments — so you can plan jump cuts or tighten a podcast. Can export the keep list as CSV or an ffmpeg concat-ready list.
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": "detect_silence"
}
}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). | |
| duration | No | Only analyse this many seconds. | |
| max_rows | No | ||
| noise_db | No | Anything quieter than this counts as silence. Raise (e.g. -35) for noisy rooms. | |
| overwrite | No | ||
| audio_stream | No | Which audio stream to use if the file has several (0 = first). | |
| csv_output_path | No | Write silences and keep segments to CSV. | |
| min_silence_seconds | No | ||
| keep_padding_seconds | No | Breathing room left around speech when building keep segments. | |
| include_keep_segments | No |