diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2024-07-26 21:03:29 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2024-07-26 21:03:29 -0400 |
commit | 2dddf16e2cb23e317c52b32d570266e10512cc66 (patch) | |
tree | b95d9e9b5781d05165ed3bea0dbf37cb79b92f9b /tools | |
parent | f95427c0818c3066635279a78564f4b4ad3be09f (diff) | |
download | rockbox-2dddf16e2cb23e317c52b32d570266e10512cc66.tar.gz rockbox-2dddf16e2cb23e317c52b32d570266e10512cc66.zip |
voice: Shorten silence threshold to 250ms (from 500ms)
Change-Id: I32ef8691f9e0adad1af4fce3c167cfcd950ca120
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/voice.pl | 3 |
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 @@ | |||
8 | # $Id$ | 8 | # $Id$ |
9 | # | 9 | # |
10 | # Copyright (C) 2007 Jonas Häggqvist | 10 | # Copyright (C) 2007 Jonas Häggqvist |
11 | # Copyright (C) 2020 Solomon Peachy | ||
11 | # | 12 | # |
12 | # All files in this archive are subject to the GNU General Public License. | 13 | # All files in this archive are subject to the GNU General Public License. |
13 | # See the file COPYING in the source tree root for full license agreement. | 14 | # See the file COPYING in the source tree root for full license agreement. |
@@ -162,7 +163,7 @@ my %piper_lang_map = ( | |||
162 | 'turkce' => 'tr_TR-fettah-medium.onnx', | 163 | 'turkce' => 'tr_TR-fettah-medium.onnx', |
163 | ); | 164 | ); |
164 | 165 | ||
165 | my $trim_thresh = 500; # Trim silence if over this, in ms | 166 | my $trim_thresh = 250; # Trim silence if over this, in ms |
166 | my $force = 0; # Don't regenerate files already present | 167 | my $force = 0; # Don't regenerate files already present |
167 | 168 | ||
168 | # Initialize TTS engine. May return an object or value which will be passed | 169 | # Initialize TTS engine. May return an object or value which will be passed |