04637f3d4d68f6e5a4820e207b444d93704649b6 |
|
12-Apr-2017 |
Niels Egberts <nielse@google.com> |
Document examples where a developer might use the APIs. Test: mmma frameworks/base/ Bug: 35767714 Change-Id: I845db36869b84a18e79d7fe28f10031cfe836617
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
5d0ea0fe210db85a8a8a44c63d8fef195e206abb |
|
21-Mar-2017 |
Niels Egberts <nielse@google.com> |
Add time markers to synthesizeToFile API. Also rename onUtteranceRangeStart to onRangeStart based on feedback from the API council. Bug: 35767714 Bug: 35767290 Test: cts-tradefed run cts-dev --module CtsSpeechTestCases Change-Id: I2c17a06e401313d4f35e5ec4958c2251c195ef05
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
65c50784564d0bae9276fde5472dd8898a781bcd |
|
23-Dec-2016 |
Niels Egberts <nielse@google.com> |
Implement time markers for TTS. The service can inform the framework at which frame a part of the input is spoken, and that information is then relayed to the client. This can be used to highlight the currently spoken word/sentence or to resume synthesis requests at the start of the last word/sentence. Test: manual Change-Id: Ie20a6764a8788cc3539cb058425e55eb6fde07db
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
2c80a03823d114f968039fb5d09948d76352e03c |
|
23-Dec-2016 |
Niels Egberts <nielse@google.com> |
Remove redundant public modifiers in interfaces. Also applied formatter on modified lines. Test: refactoring CL. Existing unit tests still pass. Change-Id: I9a7c33e7590260ede0811dd1b50b565b0f8d2f87
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
5fd28893f299cc069257de2199f91762dfba16b1 |
|
23-Nov-2015 |
Niels Egberts <nielse@google.com> |
Fix docs build failure. Change-Id: If8d215f34a48e0c61aec0d35f10f1bfd633a4254
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
a24b50bee1aca19028477b235862bcd2c37135ed |
|
20-Nov-2015 |
Niels Egberts <nielse@google.com> |
Restrict audioformat to 8bit, 16bit or float PCM with an annotation and a warning. TextToSpeech.synthesizeToFile has only ever worked with 8bit and 16bit PCM. In case of float PCM an invalid file would be generated and in case of other encodings the TTS engine would crash. Also add more annotations to SynthesisCallback. Change-Id: I1c44a44509e9b53bb2e1b0f2044b1a5919875e1c
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
fc4b2890378eb1b6e0b11d60d703eb6854268064 |
|
26-Jun-2014 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Remove TextToSpeechClient API. Removed all of TTS V2 api with exception of error codes. Bug: 15834470 Change-Id: I9d9d2aad01811af9b86bf7a3fd018a8d4e5c2f33
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
d41b852f92ec2def734eac68a76ecbcea17e3cc9 |
|
29-Oct-2013 |
Siva Velusamy <vsiva@google.com> |
Fix Javadoc error This fixes an error introduced with I180296d413a18301cead1c8e3212de2bd0c7e32d Change-Id: I06512a0fb388738fae5bba5540189095f23f1e2a
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
eb337054edef31c9bdab4a59913f42038d5deaae |
|
25-Oct-2013 |
Nick Kralevich <nnk@google.com> |
fix javadocs. Change-Id: Ie008e28db0d3de22c933b4ef1ccbd3f082010a77
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
90d15d2371ad85f22254be6985455aa2baa5d15d |
|
14-Jun-2013 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
Add new TTS API. Much of existing API is reused (mostly on the service side). The new API provides better support for network-based synthesis, defines explicit synthesis fallback support, has better error handling, allows for multiple different voices per locale, features enumeration and custom extensions on a voice level and many more. If a service does not provide a V2 implementation, a basic adapter from V2 to existing V1 implementation is provided. Bug: 8259486 Change-Id: I797b7fc054f11c9b0d930f4dea582e57596ea127
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
a6e16b86b9f708b4869e123c7c67f6d5675cca18 |
|
15-Oct-2012 |
Przemyslaw Szczepaniak <pszczepaniak@google.com> |
SynthesisCallback documentation update Clarification about when android.speech.tts.SynthesisCallback.done() should be called. Bug: 2481825 Change-Id: Ic781a6facc2d9acb3f06afb952fbac0b494c56cf
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
c3da8818f0598b3ab2cd6f4168349da6d0f72cb1 |
|
01-Jul-2011 |
Narayan Kamath <narayan@google.com> |
Remove the completeAudioAvailable API. Measurements have shown that the audio track in streaming mode is pretty efficient as is, thanks to dalvik's JNI implementation. Also, in streaming mode write( ) blocks until all data has been copied to the mixer, which is the kind of behaviour we want so that we don't have to explicitly block in our code. Also, the java AudioTrack is thread-safe with respect to stop( ) calls during write, which means we can do everything completeAudioAvailable did, just as efficiently without it. Change-Id: I70a8a108d94c7260676673979b5ea29f37fa5db4
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|
e22b69a7de0349b99d3107349d1d3aa72d62c841 |
|
08-Jun-2011 |
Narayan Kamath <narayan@google.com> |
Make changes to the TTS api suggested by the API review. This ended up making the implementation a lot cleaner as well. See the bug listed below for some background. bug:4553470 Change-Id: If16476a57e389c2f9b228f6548e426642d292b49
/frameworks/base/core/java/android/speech/tts/SynthesisCallback.java
|