summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-07-26 21:03:29 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-07-26 21:03:29 -0400
commit2dddf16e2cb23e317c52b32d570266e10512cc66 (patch)
treeb95d9e9b5781d05165ed3bea0dbf37cb79b92f9b
parentf95427c0818c3066635279a78564f4b4ad3be09f (diff)
downloadrockbox-2dddf16e2c.tar.gz
rockbox-2dddf16e2c.zip
voice: Shorten silence threshold to 250ms (from 500ms)
Change-Id: I32ef8691f9e0adad1af4fce3c167cfcd950ca120
-rwxr-xr-xtools/voice.pl3
1 files changed, 2 insertions, 1 deletions
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