Jens Arnold
425d0ef22e
Character set handling refinements:
...
- 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
2008-08-19 21:23:00 +00:00
Jonas Häggqvist
04e96977f1
Remove some irresponsible character set mangling from the Italian section of 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
2008-08-13 18:44:47 +00:00
Jens Arnold
f834968e5e
Let PerlIO also do the LF<->CRLF conversion for SAPI.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18218 a1c6a512-1295-4272-9138-f99709370657
2008-08-08 08:35:17 +00:00
Jonas Häggqvist
8eaa39b5fc
Silence some warnings in voice.pl by setting the encoding to UTF-8. Output on Cygwin will be wrong if using verbose mode.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18216 a1c6a512-1295-4272-9138-f99709370657
2008-08-07 21:16:52 +00:00
Jens Arnold
7d5600fbe0
Fix $
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18214 a1c6a512-1295-4272-9138-f99709370657
2008-08-07 20:04:36 +00:00
Jens Arnold
98a22d4276
Fix SAPI voice file generation on multibyte windows variants (japanese, 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
2008-08-07 20:00:32 +00:00
Jens Arnold
903a048ddc
Fix 'Bareword ''CMD_OUT'' not allowed while ''strict subs'' in use' when building SAPI voices using newer perl versions.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18102 a1c6a512-1295-4272-9138-f99709370657
2008-07-20 13:55:04 +00:00
Nils Wallménius
e3c61884c5
Small tweak for festival to correct the spelling of 'A', fixes FS#8889
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17282 a1c6a512-1295-4272-9138-f99709370657
2008-04-28 18:12:14 +00:00
Alessio Lenzi
ca7a98b82c
Some other minor fixes to accent with italian TTS.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@17027 a1c6a512-1295-4272-9138-f99709370657
2008-04-07 19:56:25 +00:00
Alessio Lenzi
0af9a516f1
Fixed some accents for italian TTS pronunciation.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16850 a1c6a512-1295-4272-9138-f99709370657
2008-03-27 21:26:19 +00:00
Stéphane Doyon
1dff29a9d6
Accept FS#8236: make voice should overwrite existing .voice files.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15835 a1c6a512-1295-4272-9138-f99709370657
2007-11-27 13:47:52 +00:00
Jens Arnold
19c86e8613
Make voice.pl gentalkclips() work for SAPI.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15704 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 23:24:27 +00:00
Jens Arnold
2acbbdd431
German AT&T voices have a general problem with composite words ending in 'lauf'. Make voice.pl fix all of them.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15703 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 21:21:45 +00:00
Alessio Lenzi
d06e1c6a05
Added Italian exsception strings.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15697 a1c6a512-1295-4272-9138-f99709370657
2007-11-19 17:44:15 +00:00
Jens Arnold
984a6b0236
Add the tools dir to the path in voice.pl, for easier calling of the various 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
2007-11-18 18:44:45 +00:00
Thom Johansen
75432619e8
Introduce use of the new Speex voice file encoder in voice builds. Remove 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
2007-11-18 17:10:50 +00:00
Jonas Häggqvist
39429616c3
Fix a function parameter mis-match
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15651 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 23:42:18 +00:00
Jonas Häggqvist
d35d2d95ed
Some more quoting of program arguments.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15650 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 21:33:24 +00:00
Jonas Häggqvist
1b2561b0d9
Move some stuff around so things are actually initialized before using them. Last second changes are evil.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15646 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 20:02:02 +00:00
Jonas Häggqvist
4295149483
Initial attempt at talkclip generation in voice.pl. Add some quoting to a few functions to avoid problems.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15645 a1c6a512-1295-4272-9138-f99709370657
2007-11-16 19:59:09 +00:00
Magnus Holmgren
92d99dfff5
FS#8126: Translated voice strings for Swedish, with a few changes by me.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15621 a1c6a512-1295-4272-9138-f99709370657
2007-11-14 17:48:18 +00:00
Jonas Häggqvist
2af3755dce
It seems we want the plugins fix for sapi as well.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14958 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 17:32:30 +00:00
Jonas Häggqvist
29f07cdbca
Move the "plugins" correction into a Festival-specific switch.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14956 a1c6a512-1295-4272-9138-f99709370657
2007-10-02 16:34:06 +00:00
Jonas Häggqvist
b9022cf0eb
Attempt to fix pronounciation of "plugins" for all English languages. Hopefully this spells the end of ploogins.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14758 a1c6a512-1295-4272-9138-f99709370657
2007-09-19 20:56:07 +00:00
Jens Arnold
2829aefe02
Only replace those abbreviations if they're capitalised.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14610 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 22:13:52 +00:00
Jens Arnold
fcf1f98518
Remove debug line.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14609 a1c6a512-1295-4272-9138-f99709370657
2007-09-04 22:10:09 +00:00
Jens Arnold
df9a166392
Voice file building: * Make correct_string() work as intended by passing the 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
2007-09-04 22:03:05 +00:00
Jens Arnold
5dbea469a6
SAPI voice file generation: * Added language matching and voice selection (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
2007-09-02 22:32:34 +00:00
Jens Arnold
f2ed1e4008
Make clip generation progress indicator work reliably.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14570 a1c6a512-1295-4272-9138-f99709370657
2007-09-02 00:50:08 +00:00
Jonas Häggqvist
005699f98b
Add support for building voices with the swift engine from cepstral.com. Patch FS#7689 by Mario Lang.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14565 a1c6a512-1295-4272-9138-f99709370657
2007-09-01 20:03:20 +00:00
Jens Arnold
080522f917
Voice file generation: * Significant speedup of SAPI5 voice generation by 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
2007-09-01 08:38:10 +00:00
Jens Arnold
d70857b2da
Voice generation: Don't call lame twice, and make the command echo work for all encoders.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14501 a1c6a512-1295-4272-9138-f99709370657
2007-08-29 06:14:45 +00:00
Jonas Häggqvist
17e03e75a4
Replace the voicebuilding with a perl-based approach. Should greatly speed up building on Cygwin. See more in FS#7646.
...
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14457 a1c6a512-1295-4272-9138-f99709370657
2007-08-25 22:00:13 +00:00