summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/voicefile.cpp (follow)
Commit message (Collapse)AuthorAge
* Use cutelogger for Rockbox Utility internal trace.Dominik Riebeling2013-11-04
| | | | | | | | Change tracing from qDebug() to use cutelogger, which is available under the LGPL2.1. This allows to automatically add filename and line number to the log, and also provides multiple log levels. Change-Id: I5dbdaf902ba54ea99f07ae10a07467c52fdac910
* Rockbox Utility: support reading voice strings from target.Dominik Riebeling2012-06-09
| | | | | | | | If the Rockbox installation has voice strings included use them when generating voice files. Fall back to querying the server if no voice strings are found or the found strings are incompatible. Change-Id: I9883829ab1757e55b1da9a434221a8dbfc702dd4
* voicefont: make format version a parameter.Dominik Riebeling2012-06-05
| | | | | | | | | Make hardcoded format version a parameter to allow adjusting depending on the installed Rockbox version. Rockbox Utility will read the version from the installed version. Since the command line voicefont tool is only intended for use in the current tree it uses a fixed version. Change-Id: I1ec935d47c71961e93b3c6bc6c5d816cd9fc83ff
* VoiceCreator: Factor out creation to separate function.Dominik Riebeling2012-05-27
| | | | Change-Id: I83d1a08745acc88aa673d07e469a0a854ef97050
* Remove leftover debugging output.Dominik Riebeling2012-05-25
| | | | Change-Id: Ifcc34224e7ee7703d8b7290e308dc4b116050a2a
* Use full version string for voicefile version.Dominik Riebeling2012-05-23
| | | | Change-Id: If9a179b0fcb707efb32590c8914eccdb81ee27df
* Use Rockbox version for created voicefile version.Dominik Riebeling2012-05-23
| | | | | | | | Instead of using the date the voice file was created use the version of Rockbox the voice file was created for. That way it is possible to see from the installation log if the installed voice matches the current Rockbox version. Change-Id: I9fd7d40d718febafbc20579f049b9b94cfa5d573
* Voicefile: remove < and > from voice strings before speaking.Dominik Riebeling2012-04-26
| | | | | | | | | | | | | Some language files have the < and > characters the original string (like "<All tracks>") has included in the voice strings. These characters cause the generated wave file to not contain any samples with SAPI, causing an error when Rockbox Utility tries to encode the file. Since those characters don't make much sense in the voice string remove them prior to speaking. Currently affected languages are basque, chinese-simp, and russian, for which this fixes voicefile creation. Change-Id: Iac7ccd7921ccfb5ddc33645239a1f8f7e639e5aa
* Drop empty voice strings when building list of strings.Dominik Riebeling2012-04-06
| | | | | | | Instead of skipping empty voice strings when trying to voice the list of strings drop them immediately when building the list of strings. Change-Id: Ib2627fb4b5061916cf04d67b6b78f457122ed2cd
* Fix wavtrim on voicefile creation.Dominik Riebeling2012-01-15
| | | | | | | Pass the threshold value for wavtrim to the TalkGenerator object instead of using the default value. Makes wavtrim to be actually used. Furthermore, check the result of the wavtrim call and respect its return value.
* Rockbox Utility: use libmp3lame for voice clips.Dominik Riebeling2012-01-08
| | | | | | | | | | | | | | | | | | | | Instead of calling the lame executable use libmp3lame directly. As result, this simplifies the prerequisites for creating voice clips for Archos devices to putting the library in the system's search path (Windows: put libmp3lame.dll in the search path or the same folder RockboxUtility.exe is located in. Linux: install the library using your systems package manager) and configuration. This creates a notable encoding speedup on Windows (around factor 6 on my test setup) and a small speedup on Linux (around factor 1.2). The implemenatation currently has the following limitations: - Only enabled on Windows and Linux. On OS X installing the correct dylib is a bit nontrivial, so using the old command line based method is still in use for now. - The encoder parameters are currently hardcoded to use the same values the build system uses. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31634 a1c6a512-1295-4272-9138-f99709370657
* Remove svn keyword lines from sources.Dominik Riebeling2011-10-19
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30806 a1c6a512-1295-4272-9138-f99709370657
* Voicefile generation: implement string corrections.Dominik Riebeling2011-10-01
| | | | | | | | | | Voicefile generation now can correct strings for the TTS system similar to what voice.pl does. The current implementation has some limitations: - only implemented for voicefile creation. - the corrections file is built in and can't get changed. - string corrections can be disabled in the configuration dialog. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30628 a1c6a512-1295-4272-9138-f99709370657
* Use template pattern for genlang url.Dominik Riebeling2011-04-02
| | | | | | | Instead of hard coding the query part of the genlang url store the full url as template and replace parts as done for other urls as well. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29669 a1c6a512-1295-4272-9138-f99709370657
* Improve some trace messages.Dominik Riebeling2010-09-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28171 a1c6a512-1295-4272-9138-f99709370657
* Move utils.cpp functions into separate class and split it up.Dominik Riebeling2010-04-02
| | | | | | | | | Move class-less functions in utils.cpp into a new Utils class and make the old functions static. This prevents clashes with system C functions. Rename some functions to avoid macro problems (check() is a macro on OS X). Split out the RockboxInfo class into a separate file. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25441 a1c6a512-1295-4272-9138-f99709370657
* Fix leaking file descriptors on error.Dominik Riebeling2010-04-01
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25431 a1c6a512-1295-4272-9138-f99709370657
* rbutil: split RbSettings. use Stable/unstable status from server.Dominik Wenger2010-01-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24331 a1c6a512-1295-4272-9138-f99709370657
* Revert r24174 following the discussion on mailing-listTomer Shalev2010-01-10
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24213 a1c6a512-1295-4272-9138-f99709370657
* rbutil: Fix some messagesTomer Shalev2010-01-03
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24174 a1c6a512-1295-4272-9138-f99709370657
* Clean up a few source strings.Dominik Riebeling2009-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22833 a1c6a512-1295-4272-9138-f99709370657
* rbutil: use target-id from rockbox-info.txt and remove it from rbutil.iniDominik Wenger2009-08-22
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22463 a1c6a512-1295-4272-9138-f99709370657
* Simplify and cleanup rockbox-info.txt handling.Dominik Riebeling2009-08-10
| | | | | | Simplify RockboxInfo file handling. Remove Detect::installedVersion() and Detect::installedTarget(), as those became wrappers around RockboxInfo without functionality. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22237 a1c6a512-1295-4272-9138-f99709370657
* rbutil: try to fix voicefile creation for releases. (genlang.cgi still needs ↵Dominik Wenger2009-08-08
| | | | | | fixing). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22207 a1c6a512-1295-4272-9138-f99709370657
* rbutil: improve voice and talk generation. Dominik Wenger2009-06-26
- introduce a talkgenerator to better share code between voice and talk generation. - name intermediate .talkfiles after the md5sum of the text. (prevents naming problems). - do not directly use the logger, instead emit signals. - move talkfile and voicefile generation to base/ git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21524 a1c6a512-1295-4272-9138-f99709370657