For our project, we found that using the current 'silence' parameters was insufficient - we needed some cases where we could allow a pause of longer than 1s before recording was cut off, and we wanted the activation threshold to be different from the cutoff threshold.
I added additional options to support this, with defaults.
Additionally, the current option for threshold, if provided, will still continue to work as it does in the existing version and apply to both activation and cutoff.
For our project, we found that using the current 'silence' parameters was insufficient - we needed some cases where we could allow a pause of longer than 1s before recording was cut off, and we wanted the activation threshold to be different from the cutoff threshold.
I added additional options to support this, with defaults. Additionally, the current option for
threshold
, if provided, will still continue to work as it does in the existing version and apply to both activation and cutoff.