summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/base/talkgenerator.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
* Don't assume success for TTS object creation.Dominik Riebeling2012-10-06
| | | | | | | | While the current implementation of getTTS() will always return an object this might change later. Check the returned object before using it to be on the safe side. Change-Id: Ic949cae7cfbe6f3086dee6aab741b0acafe14640
* Add missing class name to System Trace log.Dominik Riebeling2012-06-25
| | | | | | | | To identify the source for System Trace entries qDebug() calls usually add the class name at the beginning. Add some missing ones and remove some trailing spaces. Change-Id: I3179bb206e96de8b5a1c05c0fc0958936e4513f3
* 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.
* Remove multithreading support from voicefile creation.Dominik Riebeling2012-01-14
| | | | | | | | | | | | | Running TTS and encoders with multiple threads is causing problems on Windows since introduction of the feature (FS#12106, FS#11994). The current implementation also makes wrong assumptions (having multiple threads talk to the SAPI script doesn't make it run faster since it's still one thread responsible for creation). Completely remove multithreading support for that for now -- a different implementation is necessary. Change-Id: Icafa223644efc370a09186ce28ac83c22902e0c0
* Improve error handling and logging.Dominik Riebeling2012-01-14
| | | | | | - Fix a warning - Log an error if the file to encode cannot be read. - Adjust some log strings.
* Split up encoders sources.Dominik Riebeling2012-01-06
| | | | | | | | | | Create a separate source / header file for each supported encoder and the base class and rename classes for better readability. This should also make it easier adding new encoders. Remove a few trailing spaces while at it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31592 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
* Implement simple run for non-multithreaded TTS.Dominik Riebeling2011-04-22
| | | | | | | | | | | | Since setting the maximum number of threads to use to 1 causes sporadically files missing add a simple alternative implementation that doesn't use futures. This is a stop-gap solution to fix voice files not creating (reported on Windows with SAPI voices, see FS#11994). Encoding doesn't seem to be affected by the problem and is unchanged. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29762 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
* rbutil: Make TTS and encoders run on all cores \n FS#11160 by Delyan KratunovDominik Wenger2010-06-04
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26558 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
* 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