truncate_silence
Remove dead air by truncating or compressing silence in selected audio. Set a volume threshold and minimum duration to identify quiet gaps, then trim or compress them.
Instructions
Truncate or compress silence in the selected audio. Great for removing dead air.
Args: threshold_db: Volume below this is considered silence (dB). Default: -40 min_duration: Minimum silence duration to act on (seconds). Default: 0.5 truncate_to: Truncate silence to this duration (seconds). Default: 0.3 compress_percent: Compress silence by this percentage (only for Compress action). Default: 50 action: "Truncate" or "Compress". Default: "Truncate"
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | Truncate | |
| truncate_to | No | ||
| min_duration | No | ||
| threshold_db | No | ||
| compress_percent | No |