summaryrefslogtreecommitdiff
path: root/tools/voice.pl (follow)
Commit message (Collapse)AuthorAge
* perl magic: Use if/elsif/else instead of given/when (FS #12188)Thomas Jarosch2011-08-16
| | | | | | | | | Unbreaks the maemo build. Patch by Nick Peskett with a small comment added as suggested by Dominik Riebeling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30323 a1c6a512-1295-4272-9138-f99709370657
* Commit FS#12188 - Fix perl scripts that used Switch by Sean Bartell.Alex Parker2011-07-19
| | | | | | | | | | | | Perl 5.14 removed Switch which means that Rockbox will no longer build with the current release of Perl. The patch replaces Switch with given/when which was introduced in Perl 5.10.0. Debian stable has 5.10.1, cygwin 1.7 has 5.10.1 and Mac OSX 10.6 comes with 5.10.0. I'm not sure what version older versions of OSX come with, but newer versions are apparently available from Macports. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30169 a1c6a512-1295-4272-9138-f99709370657
* FS#11913: Separate TTS correction expressions into separate file.Dominik Riebeling2011-03-02
| | | | | | | | | voice.pl will now read the TTS correction expressions from a file tools/voice-corrections.txt which includes regular expressions for adjusting the string. This makes it easier to adjust the corrections and allows integrating them into tools like Rockbox Utility. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29500 a1c6a512-1295-4272-9138-f99709370657
* Add a full stop after strings, since some voices use the existance of one to ↵Jonas Häggqvist2009-03-02
| | | | | | change intonation. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20184 a1c6a512-1295-4272-9138-f99709370657
* Ask which voice to use for Festival.Jonas Häggqvist2009-03-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20181 a1c6a512-1295-4272-9138-f99709370657
* Tweak for German TTS engines.Jens Arnold2008-11-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18981 a1c6a512-1295-4272-9138-f99709370657
* Character set handling refinements:Jens Arnold2008-08-19
| | | | | | | | - Default to UTF-8 for all I/O, including STDIO, removing the need to explicitly select UTF-8 in several places - Let PerlIO check for valid UTF-8 - Cygwin/SAPI: Perl 5.8.8 breaks when asked to handle both UTF-16 and CRLF in PerlIO ('unexpected non-continuation byte'). Work around this by going back to manual CRLF handling. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18321 a1c6a512-1295-4272-9138-f99709370657
* Remove some irresponsible character set mangling from the Italian section of ↵Jonas Häggqvist2008-08-13
| | | | | | | | | | voice.pl. If this is really needed, add it under each individual TTS engine that is confirmed to need this. And please use only UTF-8 in the script (binary data should be entered as \xe9 etc). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18268 a1c6a512-1295-4272-9138-f99709370657
* Let PerlIO also do the LF<->CRLF conversion for SAPI.Jens Arnold2008-08-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18218 a1c6a512-1295-4272-9138-f99709370657
* Silence some warnings in voice.pl by setting the encoding to UTF-8. Output ↵Jonas Häggqvist2008-08-07
| | | | | | on Cygwin will be wrong if using verbose mode. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18216 a1c6a512-1295-4272-9138-f99709370657
* Fix $Jens Arnold2008-08-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18214 a1c6a512-1295-4272-9138-f99709370657
* Fix SAPI voice file generation on multibyte windows variants (japanese, ↵Jens Arnold2008-08-07
| | | | | | probably others, see FS #9246). This gets rid of the conversion in the VBScript (which relied on unsafe assumptions about charset conversion in windows), and lets PerlIO do the work instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18213 a1c6a512-1295-4272-9138-f99709370657
* Fix 'Bareword ''CMD_OUT'' not allowed while ''strict subs'' in use' when ↵Jens Arnold2008-07-20
| | | | | | building SAPI voices using newer perl versions. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18102 a1c6a512-1295-4272-9138-f99709370657
* Small tweak for festival to correct the spelling of 'A', fixes FS#8889Nils Wallménius2008-04-28
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17282 a1c6a512-1295-4272-9138-f99709370657
* Some other minor fixes to accent with italian TTS.Alessio Lenzi2008-04-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17027 a1c6a512-1295-4272-9138-f99709370657
* Fixed some accents for italian TTS pronunciation.Alessio Lenzi2008-03-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16850 a1c6a512-1295-4272-9138-f99709370657
* Accept FS#8236: make voice should overwrite existing .voice files.Stéphane Doyon2007-11-27
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15835 a1c6a512-1295-4272-9138-f99709370657
* Make voice.pl gentalkclips() work for SAPI.Jens Arnold2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15704 a1c6a512-1295-4272-9138-f99709370657
* German AT&T voices have a general problem with composite words ending in ↵Jens Arnold2007-11-19
| | | | | | 'lauf'. Make voice.pl fix all of them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15703 a1c6a512-1295-4272-9138-f99709370657
* Added Italian exsception strings.Alessio Lenzi2007-11-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15697 a1c6a512-1295-4272-9138-f99709370657
* Add the tools dir to the path in voice.pl, for easier calling of the various ↵Jens Arnold2007-11-18
| | | | | | tools. Fixes the problem of building swcodec voice files on cygwin (needs reconfiguring). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15672 a1c6a512-1295-4272-9138-f99709370657
* Introduce use of the new Speex voice file encoder in voice builds. Remove ↵Thom Johansen2007-11-18
| | | | | | the very unfinished support for other encoders and force use of either rbspeexenc for SWCODEC or LAME for HWCODEC. Update voice.pl to work with the new system, and remove a bug in the same go. Remember to rerun "configure" if you want to build voice files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15667 a1c6a512-1295-4272-9138-f99709370657
* Fix a function parameter mis-matchJonas Häggqvist2007-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15651 a1c6a512-1295-4272-9138-f99709370657
* Some more quoting of program arguments.Jonas Häggqvist2007-11-16
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15650 a1c6a512-1295-4272-9138-f99709370657
* Move some stuff around so things are actually initialized before using them. ↵Jonas Häggqvist2007-11-16
| | | | | | Last second changes are evil. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15646 a1c6a512-1295-4272-9138-f99709370657
* Initial attempt at talkclip generation in voice.pl. Add some quoting to a ↵Jonas Häggqvist2007-11-16
| | | | | | few functions to avoid problems. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15645 a1c6a512-1295-4272-9138-f99709370657
* FS#8126: Translated voice strings for Swedish, with a few changes by me.Magnus Holmgren2007-11-14
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15621 a1c6a512-1295-4272-9138-f99709370657
* It seems we want the plugins fix for sapi as well.Jonas Häggqvist2007-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14958 a1c6a512-1295-4272-9138-f99709370657
* Move the "plugins" correction into a Festival-specific switch.Jonas Häggqvist2007-10-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14956 a1c6a512-1295-4272-9138-f99709370657
* Attempt to fix pronounciation of "plugins" for all English languages. ↵Jonas Häggqvist2007-09-19
| | | | | | Hopefully this spells the end of ploogins. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14758 a1c6a512-1295-4272-9138-f99709370657
* Only replace those abbreviations if they're capitalised.Jens Arnold2007-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14610 a1c6a512-1295-4272-9138-f99709370657
* Remove debug line.Jens Arnold2007-09-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14609 a1c6a512-1295-4272-9138-f99709370657
* Voice file building: * Make correct_string() work as intended by passing the ↵Jens Arnold2007-09-04
| | | | | | missing 2 parameters. * SAPI: Add query for TTS engine vendor. * Add several string corrections (mostly but not exclusively for German). * Make the pool filenames include TTS options and encoder options in their MD5 hash value, allowing to properly build voice files where those settings differ per target using the same pool. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14608 a1c6a512-1295-4272-9138-f99709370657
* SAPI voice file generation: * Added language matching and voice selection ↵Jens Arnold2007-09-02
| | | | | | (use TTS option /voice:<name> to select; voices with spaces in the name need the options quotes). * Added SAPI4 support (use TTS option /sapi4; voice file generation takes hours...) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14587 a1c6a512-1295-4272-9138-f99709370657
* Make clip generation progress indicator work reliably.Jens Arnold2007-09-02
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14570 a1c6a512-1295-4272-9138-f99709370657
* Add support for building voices with the swift engine from cepstral.com. ↵Jonas Häggqvist2007-09-01
| | | | | | Patch FS#7689 by Mario Lang. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14565 a1c6a512-1295-4272-9138-f99709370657
* Voice file generation: * Significant speedup of SAPI5 voice generation by ↵Jens Arnold2007-09-01
| | | | | | running lame and wavtrim from inside the VB script instead of the perl script, avoiding the large overhead of process generation within cygwin. Added proper synchronisation between perl script and VB script as the pipes are buffered. * Make wavtrim work as intended (threashold wasn't passed). * Set correct SVN properties for the VB script. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14562 a1c6a512-1295-4272-9138-f99709370657
* Voice generation: Don't call lame twice, and make the command echo work for ↵Jens Arnold2007-08-29
| | | | | | all encoders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14501 a1c6a512-1295-4272-9138-f99709370657
* Replace the voicebuilding with a perl-based approach. Should greatly speed ↵Jonas Häggqvist2007-08-25
up building on Cygwin. See more in FS#7646. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14457 a1c6a512-1295-4272-9138-f99709370657