summaryrefslogtreecommitdiffstats
path: root/tools
AgeCommit message (Collapse)AuthorFilesLines
2007-09-03SAPI voice file building: * Properly UTF-8 decode the passed string ↵Jens Arnold1-59/+100
(algorithm borrowed from rockbox' unicode.c). Languages with non-ASCII characters work now. * Get rid of the hand-codec hextodec function (that could have written much simpler anyway) and store the windows LCIDs as hex constants. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14596 a1c6a512-1295-4272-9138-f99709370657
2007-09-02Ooops.Jens Arnold1-3/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14589 a1c6a512-1295-4272-9138-f99709370657
2007-09-02SAPI voice file generation: Added speed adjustment. TTS parameter: ↵Jens Arnold1-1/+8
/speed:<n>, SAPI5: allowed range -10..+10 (0 == default), SAPI4: words per minute (allowed range and default depend on engine). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14588 a1c6a512-1295-4272-9138-f99709370657
2007-09-02SAPI voice file generation: * Added language matching and voice selection ↵Jens Arnold4-113/+300
(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-02Make clip generation progress indicator work reliably.Jens Arnold1-0/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14570 a1c6a512-1295-4272-9138-f99709370657
2007-09-01Make genlang ignore leading and trailing whitespace in source and desc lines ↵Jonas Häggqvist1-2/+9
(not the strings). If this behavior is unwanted, feel free to revert. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14567 a1c6a512-1295-4272-9138-f99709370657
2007-09-01Add support for building voices with the swift engine from cepstral.com. ↵Jonas Häggqvist2-2/+20
Patch FS#7689 by Mario Lang. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14565 a1c6a512-1295-4272-9138-f99709370657
2007-09-01Voice file generation: * Significant speedup of SAPI5 voice generation by ↵Jens Arnold2-56/+110
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-08-29Voice generation: Don't call lame twice, and make the command echo work for ↵Jens Arnold1-6/+6
all encoders. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14501 a1c6a512-1295-4272-9138-f99709370657
2007-08-28Include the vbs scripts and the VOICE_PAUSE.wav file in the tarballs.Jonas Häggqvist1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14488 a1c6a512-1295-4272-9138-f99709370657
2007-08-25Replace the voicebuilding with a perl-based approach. Should greatly speed ↵Jonas Häggqvist4-21/+464
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-16oops, close the handle after use as a good citizenDaniel Stenberg1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14367 a1c6a512-1295-4272-9138-f99709370657
2007-08-16Added a "RAM usage:" line to rockbox-info.txt which basically says how largeDaniel Stenberg1-1/+18
portion of ram this rockbox occupies. The info is extracted from the map file, end - loadaddress. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14366 a1c6a512-1295-4272-9138-f99709370657
2007-08-15Copy files rather than linking them. This should make using the POOL feature ↵Jonas Häggqvist1-2/+2
work on Windows/Cygwin. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14351 a1c6a512-1295-4272-9138-f99709370657
2007-08-13Two oops commits for the price of one.Jonas Häggqvist2-8/+8
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14312 a1c6a512-1295-4272-9138-f99709370657
2007-08-13More elegant (and robust) check for program availability.Jonas Häggqvist2-16/+16
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14311 a1c6a512-1295-4272-9138-f99709370657
2007-08-13Voice related changes:Jonas Häggqvist3-58/+94
- It's now possible to select multiple languages to build - Added encoder and TTS engine configuration to configure (per-language) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14309 a1c6a512-1295-4272-9138-f99709370657
2007-08-13Simpler fix for rockboxdev.sh make/gmake detection in Mac OS X/Darwin.Barry Wardell1-6/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14307 a1c6a512-1295-4272-9138-f99709370657
2007-08-13Accept FS#6499 - fix rockboxdev.sh make/gmake detection in Mac OS X/Darwin. ↵Barry Wardell1-0/+5
Thanks to Lenny Koepsell. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14306 a1c6a512-1295-4272-9138-f99709370657
2007-08-11Only allow make voice if voice building has been configured.Jonas Häggqvist1-5/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14286 a1c6a512-1295-4272-9138-f99709370657
2007-08-11Use md5sum of the string for pool clip filenames rather than the string ↵Jonas Häggqvist1-5/+6
itself. Avoids problems with illegal characters. This should be a proper fix of FS#7575 unless there are other, similar issues. Also correctly check number of arguments to genvoice.sh. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14285 a1c6a512-1295-4272-9138-f99709370657
2007-08-10fix the -o output for indexes where there's no voice given, this is forDaniel Stenberg1-6/+17
FS#7576, and it typically caused a bazillion of LANG_SET_BOOL_YES to get output when -o was used with non-english git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14277 a1c6a512-1295-4272-9138-f99709370657
2007-08-10Fix for FS#7574. It previously failed to properly deal with multiple destDaniel Stenberg1-8/+16
strings. I also added the numerical id number for strings in the generated header file, which is useful when the new lngdump tool is used and you want to compare the ids for the built-in strings to the ones in the generated binary files. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14274 a1c6a512-1295-4272-9138-f99709370657
2007-08-10support to build the lngdump toolDaniel Stenberg1-1/+5
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14273 a1c6a512-1295-4272-9138-f99709370657
2007-08-10tiny tool to help with dumping a binary lng file to the screen to make itDaniel Stenberg1-0/+50
easier to compare with the generated lang.[ch] git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14272 a1c6a512-1295-4272-9138-f99709370657
2007-08-09Don't break if the program paths looked for contain spaces.Jonas Häggqvist2-16/+18
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14261 a1c6a512-1295-4272-9138-f99709370657
2007-08-09Allow Cygwin users to generate voice files using SAPI 5. Slow, and missing ↵Steve Bavin5-7/+157
some of the details from the old MakeVoices.vbs method, but better than nothing. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14252 a1c6a512-1295-4272-9138-f99709370657
2007-08-08Move voice config into the advanced build options and look for the eSpeak ↵Jonas Häggqvist2-34/+38
binary named "espeak" rather than "speak". git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14247 a1c6a512-1295-4272-9138-f99709370657
2007-08-07Fixed wavtrim so it correctly uses the chunkSize of the data chunk - this ↵Linus Nielsen Feltzing1-14/+19
fixes the issue with Festival generated WAV files that have a text comment appended after the data chunk git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14229 a1c6a512-1295-4272-9138-f99709370657
2007-08-07Fix FS#7549 - plugins would only get listed once in viewers.config which ↵Jonathan Gordon1-1/+1
meant some extensions dont appear as supported git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14228 a1c6a512-1295-4272-9138-f99709370657
2007-08-06We only need to have bit-swapped voice files for the SH based archos targetsNils Wallménius1-2/+12
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14220 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Ignore wavtrim and voicefont biaries tooNils Wallménius1-6/+0
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14219 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Fix red archos bootloadersNils Wallménius1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14217 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Accept FS#5464 - organise the rocks directory. Jonathan Gordon1-5/+21
If any plugins or "open with" optoins dont work please let me know... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14214 a1c6a512-1295-4272-9138-f99709370657
2007-08-06Fix 'make clean' for some archos targets, make 'make clean' kill voice files ↵Nils Wallménius1-5/+5
and the clips generated to build them. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14212 a1c6a512-1295-4272-9138-f99709370657
2007-08-05*** Lang v2 cleanup (FS#6574) ***Nils Wallménius5-29/+61
1) Introduces apps/features.txt that controls which strings are included for each target based on defines. 2) .lng and .voice files are now target specific and the format versions of both these file types have been bumped, which means that new voice files are needed. 3) Use the 'features' mechanism to exclude strings for targets that didn't use them. 4) Delete unused and deprecated and duplicated strings, sort strings in english.lang Some string IDs were changed so translations will be slightly worse than before. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14198 a1c6a512-1295-4272-9138-f99709370657
2007-08-03skip comments when trying to parse and compare phrases!Daniel Stenberg1-0/+4
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14169 a1c6a512-1295-4272-9138-f99709370657
2007-08-02when generating binary output, we now let the master language file properlyDaniel Stenberg1-4/+7
dictate when a certain phrase doesn't exist and should be ignored in the output git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14150 a1c6a512-1295-4272-9138-f99709370657
2007-07-31FS#4955 - convbdf segfaults on very large fonts was simply due to a too smallDaniel Stenberg1-6/+15
destination buffer and no bounds check in the code. I've now enlarged the buffer and added a bounds check. Case closed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14093 a1c6a512-1295-4272-9138-f99709370657
2007-07-26Further G1/G2 work. Bootloader compiles now, but probably won't work.Jens Arnold1-0/+2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14017 a1c6a512-1295-4272-9138-f99709370657
2007-07-26Preparations for iPod G1 and G2. Does not even compile properly yet. * ↵Jens Arnold1-98/+124
Sorted target cases in configure by menu number. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14016 a1c6a512-1295-4272-9138-f99709370657
2007-07-24Make genlang output correct .lng files when the 'none' keyword is used but ↵Nils Wallménius1-1/+1
is not all lowercase git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13971 a1c6a512-1295-4272-9138-f99709370657
2007-07-22Add a verbosity level command line option to the chackwps tool. This should ↵Nicolas Pennequin1-4/+19
make life easier for the themes.rockbox.org people. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13958 a1c6a512-1295-4272-9138-f99709370657
2007-07-16simplified the codec specification part in configureDaniel Stenberg1-28/+28
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13922 a1c6a512-1295-4272-9138-f99709370657
2007-07-16Fix sim errorsMichael Sevakis1-19/+19
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13921 a1c6a512-1295-4272-9138-f99709370657
2007-07-03Initial, work-in-progress, version of a WMA codec using Michael Giacomelli's ↵Dave Chapman1-19/+19
fixed-point and malloc-less WMA decoder (based on the ffmpeg WMA decoder from early 2006, and also building on the work started by Paul Jones). The codec itself and the ASF parsing code were written by me, inspired by the ASF parser in libasf. Current performance is around 400% realtime on gigabeat, 100% realtime on PP and 20% realtime on Coldfire. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13769 a1c6a512-1295-4272-9138-f99709370657
2007-06-29Some more sokoban changes from Sean Morrisey's FS #6702. (includes moving ↵Antoine Cellerier1-1/+1
the default level file back to the previous filename) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13738 a1c6a512-1295-4272-9138-f99709370657
2007-06-29Now automatically patches gcc-3.4.6 when built on x86_64. (FS#6564)Björn Stenberg1-0/+7
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13733 a1c6a512-1295-4272-9138-f99709370657
2007-06-28Apply FS #6702: More Sokoban Improvements.Antoine Cellerier1-1/+1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13731 a1c6a512-1295-4272-9138-f99709370657
2007-06-26attempt to fix -uDaniel Stenberg1-1/+3
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13721 a1c6a512-1295-4272-9138-f99709370657