A modern Music Player Daemon based on Rockbox open source high quality audio player
libadwaita audio rust zig deno mpris rockbox mpd

voice: Switch default English Piper voice to 'en_GB-semaine-medium'

The former one ('cori') had some very pathological corner cases
especiallly when voicing single letters. This one is just
better all around.

Change-Id: I275256a637cf70ba196aafdecc24038bfe841955

+12 -8
apps/lang/InvalidVoice_english.talk

This is a binary file and will not be displayed.

+1 -1
tools/builds.pm
··· 601 601 'festival' => '--language english', 602 602 'espeak' => '-ven-gb -k 5', 603 603 'gtts' => '-l en -t co.uk', 604 - 'piper' => 'en_GB-cori-high.onnx', 604 + 'piper' => 'en_GB-semaine-medium.onnx', 605 605 }, 606 606 'enabled' => 1, 607 607 },
+11 -7
tools/voice.pl
··· 138 138 ); 139 139 140 140 my %piper_lang_map = ( 141 - 'english' => 'en_GB-cori-high.onnx', # Always first, it's the golden master 141 + 'english' => 'en_GB-semaine-medium.onnx', # Always first, it's the golden master 142 142 # 'bulgarian' => '-vbg', 143 143 'chinese-simp' => 'zh_CN-huayan-medium.onnx', 144 144 'czech' => 'cs_CZ-jirka-medium.onnx', ··· 595 595 print("."); 596 596 } 597 597 598 - # Convert to a complete path 599 - my $path = sprintf("%s/%s", $dir, $file); 600 - 601 - $voice = $file; 602 - $wav = sprintf("%s.talk.wav", $path); 603 - 604 598 # Ignore dot-dirs and talk files 605 599 if ($file eq '.' || $file eq '..' || $file =~ /\.talk$/) { 606 600 next; 607 601 } 602 + 603 + $voice = $file; 604 + 605 + # Convert some symbols to spaces 606 + $voice =~ tr/_-/ /; 607 + 608 + # Convert to a complete path 609 + my $path = sprintf("%s/%s", $dir, $file); 610 + 611 + $wav = sprintf("%s.talk.wav", $path); 608 612 609 613 if ( -d $path) { # Element is a dir 610 614 $enc = sprintf("%s/_dirname.talk", $path);