analyze_label_sounds
Detect audio events separated by silence and add labels to the label track, marking sounds or gaps. Configure silence threshold and durations to pinpoint regions for editing.
Instructions
Detect sounds separated by silence and add a label for each one (or for each silence gap, depending on label_type).
Adds labels to the project's label track (creating one if needed) - call label_list afterward to read the detected regions.
Args: threshold_db: Level below which audio counts as silence, -100 to 0. Default: -30.0 measurement: How to measure level - "peak", "avg", or "rms". Default: "peak" min_silence_duration: Minimum silence length to count as a gap, in seconds. Default: 1.0 min_label_interval: Minimum spacing between labels, in seconds. Default: 1.0 label_type: "before"/"after" (point at sound edge), "around" (region around each sound), or "between" (region between sounds - i.e. the silences). Default: "between"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label_type | No | between | |
| measurement | No | peak | |
| threshold_db | No | ||
| min_label_interval | No | ||
| min_silence_duration | No |