From 2dddf16e2cb23e317c52b32d570266e10512cc66 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 26 Jul 2024 21:03:29 -0400 Subject: voice: Shorten silence threshold to 250ms (from 500ms) Change-Id: I32ef8691f9e0adad1af4fce3c167cfcd950ca120 --- tools/voice.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/voice.pl b/tools/voice.pl index 91b3d7ef51..7a0b1edc1d 100755 --- a/tools/voice.pl +++ b/tools/voice.pl @@ -8,6 +8,7 @@ # $Id$ # # Copyright (C) 2007 Jonas Häggqvist +# Copyright (C) 2020 Solomon Peachy # # All files in this archive are subject to the GNU General Public License. # See the file COPYING in the source tree root for full license agreement. @@ -162,7 +163,7 @@ my %piper_lang_map = ( 'turkce' => 'tr_TR-fettah-medium.onnx', ); -my $trim_thresh = 500; # Trim silence if over this, in ms +my $trim_thresh = 250; # Trim silence if over this, in ms my $force = 0; # Don't regenerate files already present # Initialize TTS engine. May return an object or value which will be passed -- cgit v1.2.3