| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Add two new parameters that are used when synthesizing text and
playing it back directly to control the volume and left-right
panning of the output.
Panning is applied using a balance law, which is not energy-preserving
but which doesn't lower the volume when not panning / panning to
center (legacy behavior).
Reduced amount of logs, and removed spoken text.
In TextToSpeech.java: added convenience method to handle the setting
of the cached synthesis parameters.
Change-Id: I235d3d3193283ccc1891e2065d43787e3f63304d
|
|
|
|
| |
Change-Id: I12624e51eb093b6ee464fc11275046a9e5100925
|
|\
| |
| |
| |
| |
| |
| |
| |
| | |
gingerbread
Merge commit '3b197dfc7f90b5b7b65cbf7e62a13b088ef416d6'
* commit '3b197dfc7f90b5b7b65cbf7e62a13b088ef416d6':
Fix proguard flag file dependency.
|
| |
| |
| |
| | |
Change-Id: Ibc160fc98334ca83fa8059372d2384880069b9d2
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The purpose of this patch is to add a C-based ABI that can be exposed by the NDK
for developers wanting to write a TTS Engine. This replaces the C++ ABI that is
currently under frameworks/base/include/tts/TtsEngine.h but is *binary* compatible
with it.
As a consequence, the svox pico plugin under external/svox/pico/tts/, which
links against tts/TtsEngine.h can be loaded by the TTS service properly.
Another patch would modify the pico tts to use <android/tts.h>, then we will
be able to get rid of <tts/TtsEngine.h> in the source tree.
Change-Id: I16844cef9b5b006cc32655a29e4f9f193c8c1a91
|
|
|
|
| |
Change-Id: I1cb467a158e21fc02cac6af585ac8d27c2bf42de
|
|
|
|
|
|
|
|
|
|
|
| |
interfere with one another.
Root cause was not caching all the params that were needed.
This change fixes that bug as well as related bugs for remembering
the default engine and for making sure that the right engine is
loaded when checking for language availability.
Change-Id: I2a76da8faec8112036e68d27539db444c53a1509
|
|
|
|
|
|
| |
if their TTS settings were being overridden by the user or not.
Change-Id: I28856a1b79c9455435671d13ed614a1ccb4e95ea
|
|
|
|
|
|
|
|
|
| |
This fix is part of addressing bug #2548048
Making it possible to determine which TTS engine is currently set
as the default by the user.
Change-Id: Ifa422f43a33498b94d96811078c0794d64668357
|
|
|
|
|
|
| |
signature.
Change-Id: If04b9a1d6de6384d7f53efac4e60f1cd4d659625
|
|
|
|
|
|
| |
coming from the plugin helper code (handling config and preferences).
Change-Id: Ibc1d229463f11f8977552d74d1fd2aa6a6cab88e
|
|
|
|
|
|
|
| |
via a ContentProvider to the TtsService so that the TtsService can
invoke their .so file with those settings.
Change-Id: Icd0e966971c36ebb4da191a50cda96d6f4525df5
|
|
|
|
| |
Change-Id: Ia18a15b260a5eccb9ac55a8d526832c015224bca
|
|
|
|
|
|
|
| |
before using it; if the engine is not enabled, TtsService will fall
back to using the default system engine.
Change-Id: I401f9c19cc1351c0ae6daf2b11069e5036febc51
|
|
|
|
|
|
| |
energy distribution change in an attempt to fix bug 2449814.
Change-Id: I144649f599e066e7ec85c05f6b2a5fdda64ec7b5
|
|\
| |
| |
| | |
if the file cannot be created."
|
| |
| |
| |
| |
| | |
When TTS is synthesizing to a file, return an error if the file
cannot be created.
|
| |
| |
| |
| | |
Change-Id: Ica7dbf6cb3db2e07958fadad476571b91bde2c24
|
|/
|
|
|
|
|
| |
Reduced the amount of filtering and amplification at the output
of the Pico TTS engine v1.1.0.2
Change-Id: I89f577b5e94e171b4ed892faffb863f19428cc1a
|
|
|
|
|
|
| |
32-bit signed integers are 11 bytes and a byte at the end for \0
Change-Id: I6a9cf69ecc64614c610cbade1c3398506d6f62f5
|
| |
|
|
|
|
| |
unless the user had set the defaults to always override app settings.
|
|
|
|
|
|
| |
of TTS data independently from the associated AudioTrack state.
Only start the track when it's been stopped but is supposed to be
playing.
|
|
|
|
| |
thread safety.
|
|
|
|
|
| |
triggered if many long utterances are started and interrupted in
rapid succession.
|
|
|
|
|
|
|
| |
The queue processor should not be called for the next item
until synthesis has actually happened for the current item;
before it was being incorrectly called regardless of
whether or not the synthesizer had processed the current item.
|
|
|
|
| |
TTS engine.
|
|\
| |
| |
| | |
not interfere with one another."
|
| |
| |
| |
| | |
interfere with one another.
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The AudioTrack that plays the synthesized audio data should only be
started when the first synthesis request is sent, not after the
initialization of the engine.
The track volume should be initialized to it nominal level. Volumes
above 1 do not provide amplification, so setting the volume to 2 is
not necessary.
|
|/ |
|
|
|
|
|
|
|
|
|
|
| |
The build system does not honor user tags on apps,
and setting it is misleading.
This removes the confusion by making the makefiles
behave like they read.
Change-Id: I7c5feba1c7d07f915b97dd098584f29938a4c885
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '014085a8727d7e10a4d39cba4a6d27826b66bc00'
* commit '014085a8727d7e10a4d39cba4a6d27826b66bc00':
Fix for a race condition that can occur if an utterance
|
| |
| |
| |
| | |
is stopped right when it completes.
|
| |
| |
| |
| | |
engine to use for text-to-speech.
|
|/ |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
an error when loading the native synth lib.
|
|
|
|
|
|
|
| |
if it was synthesing to a file, the latter can be deleted without
still being written to.
Clear the hashmap of SpeechItem to be stopped (mKillList) when the speech
queue is empty.
|
|
|
|
|
|
| |
Return and log an error when an operation cannot be completed because
the speech queue is locked longer than the timeout period.
Log cleanup.
|
|
|
|
|
|
|
| |
If files were being synthesized to while the service was being killed,
it would have left partially written files (with no header). This CL
checks if the service is rendering to a file at the time the service
is destroyed: if it is, it will stop the rendering and deletes the file.
|
|\
| |
| |
| |
| |
| |
| | |
Merge commit '0950c5de864d1ad83ed96efc5c2d1569b4d36188' into eclair
* commit '0950c5de864d1ad83ed96efc5c2d1569b4d36188':
Fix bug 2046705 where the output of the speech synthesizer is too low.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The language files for the SVOX Pico engine result in the output of
the synthesizer to be too soft, and barely audible on a phone speaker.
The change implements a low shelf filter on the output of the synthesis
and a drastic amplification. This works as intended because the
synthesized data contains too much energy in the lower frequencies that
is wasted on a phone speaker. Once filtered out, they leave room for
amplication to address the volume issue.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc'
* commit 'eccd6fdd0d86b8610b738fc15c707eedc00ec9dc':
Fix bug 2043140.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A race condition is encountered when an application invokes shutdown()
on its TextToSpeech object while is has speak() requests still running.
Since the TTS service destructor releases the synthesizer resources and
sets the corresponding synth reference to null, an NPE was observed.
The fix consists in catching NPEs whenever the sNativeSynth object is
accessed, and return the matching error for the call.
This change is a "low risk" version of the fix for bug 2025765i (same
issue) which was reverted because it was higher risk than this CL:
it affected the logic of each call to sNativeSynth. This CL only sets
an error code when an NPE is fired because sNativeSynth is null.
|
|\ \
| |/
| |
| |
| |
| |
| | |
Merge commit 'fbe89ec6404978da7899b944d989dd9f50a468b5'
* commit 'fbe89ec6404978da7899b944d989dd9f50a468b5':
Revert "Fix bug 2025765."
|
| |
| |
| |
| | |
This reverts commit 9ebb59b8aa75cab1e5bb53983893b579abb63edd.
|