More Options for Detect Silence (from Truncate Silence)

image

The default Truncate Silence comes with two options for detecting silence, is there a way to add more conditions? For example, both minimum duration and maximum duration. If I want to truncate all silence sections shorter than 1.5s, but longer than 0.8s, how to do that?