truncate_silence
Shorten long silent gaps in audio by detecting quiet passages and truncating or compressing them to a set duration.
Instructions
Find and shorten runs of silence in the selected audio.
Args: threshold_db: Silence threshold in dB, -80 to -20. Default: -20.0 minimum_silence: Minimum silence duration to detect, in seconds, >= 0.001. Default: 0.5 truncate_to: Duration to truncate silence down to, in seconds. Default: 0.5 compress_ratio: Percent to compress the remaining silence by, 0-99.9. Default: 50.0 independent_channels: Detect silence independently per channel. Default: False
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| truncate_to | No | ||
| threshold_db | No | ||
| compress_ratio | No | ||
| minimum_silence | No | ||
| independent_channels | No |