truncate_silence
Truncate or compress silent sections in audio files using configurable threshold, minimum duration, and target length or compression percentage. Ideal for removing dead air.
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 |