summaryrefslogtreecommitdiffstats
path: root/pico/tts
Commit message (Collapse)AuthorAgeFilesLines
* Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGESteve Block2012-01-062-95/+95
| | | | | | | See https://android-git.corp.google.com/g/#/c/157220 Bug: 5449033 Change-Id: I24cb51849561ed5ebe3d8f87bd62deb034b86244
* Rename (IF_)LOGI(_IF) to (IF_)ALOGI(_IF) DO NOT MERGESteve Block2012-01-042-9/+9
| | | | | | | See https://android-git.corp.google.com/g/156801 Bug: 5449033 Change-Id: I2de8398913d131042541e344c3f8fa6db44f37aa
* Rename LOGV(_IF) to ALOGV(_IF) DO NOT MERGESteve Block2011-10-251-5/+5
| | | | | | | See https://android-git.corp.google.com/g/#/c/143865 Bug: 5449033 Change-Id: Ia9892afbd743662a2272882bcdda7f23ae9d3b6d
* Fix a pico bug.Narayan Kamath2011-06-271-2/+1
| | | | | | | | | | | This is one of 10 million errors (really) reported by valgrind. I verified that some of them are OK, but it's probably not worth going through the rest. I expect most of those are just optimized code and fancy bit trickery. Change-Id: I3b8675ec8267691a5e6127a8e03239547107053e
* Break dependency between pico and the audio system.Narayan Kamath2011-05-191-7/+6
| | | | | | | | | The TTS engine should use only TTS defined constants, and not constants from the audiosystem. This happened to work because PCM_16_BIT in native was the same as DEFAULT in java, which happened to be PCM_16_BIT. Change-Id: I0f43a46afff8c45d1eb18c1beaab62dce87b8055
* update for new audio.h header locationDima Zavin2011-05-111-1/+1
| | | | | Change-Id: I3bf2e6b3a0434f525dc1994f080f027482142ffd Signed-off-by: Dima Zavin <dima@android.com>
* svox: convert to use new audio.hDima Zavin2011-04-191-6/+7
| | | | | Change-Id: Id8e69601a0812a6a0034774adde672bb70662c6a Signed-off-by: Dima Zavin <dima@android.com>
* Port Pico to new TTS engine APIBjorn Bringert2011-04-151-1/+3
| | | | | | | | | | | | | | | | | | Requires TTS engine API added in change I7614ff788e11f897e87052f684f1b4938d539fb7 The compatibility layer in pico/compat/src/com/android/tts/compat/SynthProxy.java pico/compat/jni/com_android_tts_compat_SynthProxy.cpp is based on these files removed from the old TTS engine framework: frameworks/base/packages/TtsService/src/android/tts/SynthProxy.java frameworks/base/packages/TtsService/jni/android_tts_SynthProxy.cpp Bug: 4150618 Change-Id: I7a2cca6b5cfbac6158a87fad69cc796140adb2f3
* Don't log an error when SSML has no language.Jean-Michel Trivi2011-01-051-1/+1
| | | | Change-Id: I3ce4ce7c121f3f72b242a0edf33b5f6f16e7fdac
* Fix bug 2782425 Use the current language if it matches that of the documentJean-Michel Trivi2011-01-041-9/+20
| | | | | | | | | | | | If an utterance specifies its locale, the checkForLocale() function looks for the index of the supported language that matches it. If the exact locale is not supported, we look for language-only support. But there could already be a match with the currently loaded language. The fix consists in comparing the requested language with the one that is loaded (if any), so we don't load a new one uselessly, AND so the default language is used if it matches. Change-Id: I501d946459ea982466eb804b17e9c43a8203564a
* Update the Pico manager layer to use the engine configuration toJean-Michel Trivi2010-03-181-9/+24
| | | | | | figure out the alternative path for the lingware data. Change-Id: If83e5e55ee7a420a41747d97beb36612a0b5fa1e
* Update manager layer according to interface change to receiveJean-Michel Trivi2010-03-181-19/+1
| | | | | | engine config data and not support synthesis of IPA-only content. Change-Id: Ibf308a17fb477e72f68467508190ddd928fde6ac
* Fix bug 2449825 Patch from SVOXJean-Michel Trivi2010-03-171-13/+12
| | | | | | | | | | | | Prevent random utterances in Pico TTS when synthesizing an empty string. In same patch: Automatic volume raising tags in the Manager Layer are now removed NOTE : It is still possible to selectively raise the volume for portions of the input text, by embedding volume tags in the text itself. These tags will not be removed by the Manager Layer. Change-Id: I56fafcf6c1cff986a7394526027534308f227431
* Fix bug 2098375 patch from SVOX to correct string ending of camelCaseJean-Michel Trivi2010-02-041-5/+5
| | | | corrected strings for proper synthesis.
* Contribute to fixing 2105195. Fix the IPA to XSAMPA mapping forJean-Michel Trivi2009-10-261-1/+1
| | | | | | the rhotacized open-mid central phoneme (code 0x025D). This corrects the issue where the "ur" sound in "fur" or "nurse" causes the Pico engine to synthesize garbage when using IPA input.
* Integrate patch from SVOX to complete IPA to XSAMPA mapping.Jean-Michel Trivi2009-09-231-26/+39
|
* Removing camelCase processing from TTS management layer until new code drop.Jean-Michel Trivi2009-08-281-4/+8
|
* Integrate SVOX patch to pre-process camelCase'd text before sendingJean-Michel Trivi2009-08-271-4/+159
| | | | it to the synthesizer.
* Merge change 21591 into eclairAndroid (Google) Code Review2009-08-171-4/+4
|\ | | | | | | | | * changes: Integrate SVOX update that offers two modes to reset the engine: soft and full. Soft reset is lighter-weight than the previous pico_resetEngine() function as it only clears the input (text) and output (audio data) buffers of the synthesis engine. The synthesis loop is now taking advantage of the soft reset whenever it is interrupted, rather than performing a full engine reset after each call to stop().
| * Integrate SVOX update that offers two modes to reset the engine: softJean-Michel Trivi2009-08-171-4/+4
| | | | | | | | | | | | | | | | | | and full. Soft reset is lighter-weight than the previous pico_resetEngine() function as it only clears the input (text) and output (audio data) buffers of the synthesis engine. The synthesis loop is now taking advantage of the soft reset whenever it is interrupted, rather than performing a full engine reset after each call to stop().
* | Add missing license filesJean-Baptiste Queru2009-08-132-0/+190
|/ | | | BUG=1573996
* Fix bug 2022411.Jean-Michel Trivi2009-08-051-3/+47
| | | | | | | | | | | | | Added support for TTS language files to be loaded from the system partition if they are not available on the regular path (sdcard). This involves changing the check for the availability of a language (first check in the system path, then check the sdcard), and the language switch code (try to load from the system path if cannot load from sdcard). Modified the CheckVoiceData activity (which checks for the installation of all language files) to check on both the sdcard and the system path. Added makefiles for copying language files to the system image, PicoLangDefaultInSystem.mk will be used in another CL to copy a default language to the system.
* Fix bug 1997567. Integrate the latest SVOX code drop which fixes theJean-Michel Trivi2009-07-291-12/+33
| | | | | issue where a language couldn't be successfully loaded if the first loaded language was not eng-USA (language 0).
* Lower the synthesis volume values to prevent saturation.Jean-Michel Trivi2009-07-212-4/+4
|
* Applying a workaround to fix the language switching problemCharles Chen2009-07-211-0/+7
| | | | with Pico TTS.
* Workaround to enable the default volume to be adjusted.Charles Chen2009-07-172-7/+12
| | | | | Modifying the SSML volume definitions to match the default volume.
* Reducing the chances of mangled audio output byCharles Chen2009-07-161-1/+4
| | | | making sure to clean up after each synth abort.
* Fix a bug in Pico TTS engine where the current utterance couldn't beJean-Michel Trivi2009-07-151-0/+2
| | | | | | interrupted by a call to stop(). This was due to the engine not being reset in certain code paths when a synth abort was signaled. The fix adds a call to reset the engine whenever the synthesis loop is interrupted.
* In TTS Pico engine: use locale strings as defined for SSML.Jean-Michel Trivi2009-07-091-3/+3
|
* Fix bug where Pico TTS engine doesn't synthesize anything if thereJean-Michel Trivi2009-07-091-5/+19
| | | | | is no language specified in the <speak> tag. Using currently loaded language in that case, or the first lang is none was previously loaded.
* Integrate SVOX fix for bug where the XSAMPA word separator was causingJean-Michel Trivi2009-07-091-53/+55
| | | | all content after the separator to be dropped.
* Integrate latest SVOX code drop, includes support for the phoneme tag.Jean-Michel Trivi2009-07-083-1018/+919
| | | | Reformat TtsEngine implementation to Android style.
* - Integrate SVOX's latest code drop.Jean-Michel Trivi2009-07-013-427/+1800
| | | | | | | - Fix a bug where TTS_SYNTH_DONE was signaled to the TTS service synth proxy even though the synthesis wasn't done (more data to be played). - Deprecated the synthesizeIPA() function as it will be supported by the phoneme tag in synthesize().
* In TTS engine: don't hardcode language string length.Jean-Michel Trivi2009-06-291-2/+2
|
* Implement in pico TTS engine the methods to query the availability for a ↵Jean-Michel Trivi2009-06-261-16/+125
| | | | | | | language, to set the synthesis audio format, to query the current language, country and variant setting.
* Use the same interface in the TTS engine interface for setLanguage and ↵Jean-Michel Trivi2009-06-261-4/+28
| | | | | | loadLanguage. Adding skeleton for isLanguageAvailable().
* Moving PicoTts plugin under the pico directory of external/svoxCharles Chen2009-06-221-0/+1039