| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
| |
Change-Id: I3bf2e6b3a0434f525dc1994f080f027482142ffd
Signed-off-by: Dima Zavin <dima@android.com>
|
|
|
|
|
| |
Change-Id: Id8e69601a0812a6a0034774adde672bb70662c6a
Signed-off-by: Dima Zavin <dima@android.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Change-Id: I3ce4ce7c121f3f72b242a0edf33b5f6f16e7fdac
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
figure out the alternative path for the lingware data.
Change-Id: If83e5e55ee7a420a41747d97beb36612a0b5fa1e
|
|
|
|
|
|
| |
engine config data and not support synthesis of IPA-only content.
Change-Id: Ibf308a17fb477e72f68467508190ddd928fde6ac
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
corrected strings for proper synthesis.
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
it to the synthesizer.
|
|\
| |
| |
| |
| | |
* 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().
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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().
|
|/
|
|
| |
BUG=1573996
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
issue where a language couldn't be successfully loaded if the first
loaded language was not eng-USA (language 0).
|
| |
|
|
|
|
| |
with Pico TTS.
|
|
|
|
|
| |
Modifying the SSML volume definitions to match the default
volume.
|
|
|
|
| |
making sure to clean up after each synth abort.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
is no language specified in the <speak> tag. Using currently loaded
language in that case, or the first lang is none was previously loaded.
|
|
|
|
| |
all content after the separator to be dropped.
|
|
|
|
| |
Reformat TtsEngine implementation to Android style.
|
|
|
|
|
|
|
| |
- 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().
|
| |
|
|
|
|
|
|
|
| |
language,
to set the synthesis audio format, to query the current language, country and
variant setting.
|
|
|
|
|
|
| |
loadLanguage.
Adding skeleton for isLanguageAvailable().
|
|
|