Commit Graph
3616 Commits
Author SHA1 Message Date
Reece H. Dunn 5a2cfb2e7c SpeechSynthesisTest: skip testing voice data for missing voices. 2012-12-17 16:50:24 +00:00
Reece H. Dunn aed6bc0365 SpeechSynthesisTest: calculate the added and removed voices in the getVoices method. 2012-12-17 16:45:50 +00:00
Reece H. Dunn ea623385d6 SpeechSynthesisTest: test for added and removed voices to make it easier to maintain and update the VoiceData.voices list. 2012-12-17 16:36:38 +00:00
Reece H. Dunn 433a0a0455 AndroidManifest.xml: specify an android:service for the espeak service.
This is to try and address the "java.lang.SecurityException: Not allowed to
bind to service Intent" error when using the spiel screen reader.
2012-12-17 14:49:17 +00:00
Reece H. Dunn 32efff8500 VoiceData.Exception: use AssertionError instead of Exception to get the language in the JUnit results. 2012-12-17 14:13:09 +00:00
Reece H. Dunn 87ccc3a61e SpeechSynthesisTest: check the number of voices against the length of the test data array (VoiceData.voices) instead of hard coding it. 2012-12-17 14:10:18 +00:00
Reece H. Dunn b5db940457 Note where the languages come from for language selection. 2012-12-17 11:06:26 +00:00
Reece H. Dunn 3d48180e28 espeakengine: currentRate is not used, so remove it. 2012-12-16 18:13:59 +00:00
Reece H. Dunn 4529991fe4 espeakengine: avoid leaking memory from currentLanguage. 2012-12-16 18:11:45 +00:00
Reece H. Dunn f45a01b8e0 espeakengine: correctly implement TtsEngine::setAudioFormat. 2012-12-16 18:05:12 +00:00
Reece H. Dunn b9c0143a9b Rename libttsespeak.so to libespeak.so. 2012-12-16 12:12:00 +00:00
Reece H. Dunn b30311a7d7 TextToSpeechTest: move out the unsupported language tests to a separate method and check that the language does not get updated. 2012-12-16 11:27:33 +00:00
Reece H. Dunn 7816a0a204 TtsService: set the language properties to the matched voice, not the requested voice 2012-12-16 11:14:12 +00:00
Reece H. Dunn 4cbf26883b TextToSpeechTest: add tests for TextToSpeech.set/getLanguage. 2012-12-16 01:43:41 +00:00
Reece H. Dunn 2bdd4aab27 TextToSpeechTest: add tests for TextToSpeech.isLanguageAvailable. 2012-12-16 01:34:20 +00:00
Reece H. Dunn 8d586dd52c SpeechSynthesisTest: factor out the voice data into a reusable, queryable list 2012-12-16 01:11:38 +00:00
Reece H. Dunn 86fe261425 SpeechSynthesisTest: Add tests for Voice.match using 3-letter language and country codes. 2012-12-15 14:36:42 +00:00
Reece H. Dunn 51da7f2478 SpeechSynthesisTest: Add tests for Voice.toString. 2012-12-15 14:18:51 +00:00
Reece H. Dunn 5277a6788a SpeechSynthesisTest: Add tests for Voice.match. 2012-12-15 14:16:10 +00:00
Reece H. Dunn 3e136d66d4 espeak-data: remove the duplicacte bg voice file 2012-12-15 00:20:00 +00:00
Reece H. Dunn 81c0755be3 Merge branch 'master' into android 2012-12-15 00:19:03 +00:00
Reece H. Dunn 3cf7b18d57 espeak-data: bulgarian-test is in both voices/bg and voices/test/bg, so remove the duplicate entry 2012-12-15 00:17:17 +00:00
Reece H. Dunn 1a28553d4c Add tests for the data returned by the SpeechSynthesis class, specifically the Voice locale entries. 2012-12-14 23:39:18 +00:00
Reece H. Dunn 437a660cda Rework the launcher icon so it is different to the eyes-free icon, using the eSpeak lips icon as the reference. 2012-12-14 16:07:11 +00:00
Reece H. Dunn e8a718ebf5 Target API 17 2012-12-14 14:54:18 +00:00
Reece H. Dunn 777254e10d Remove unused drawable files 2012-12-14 14:51:54 +00:00
Reece H. Dunn 65d0bd4548 Rename 'eSpeak TTS' to 'eSpeak' to distinguish between the eyes-free port. 2012-12-14 14:44:13 +00:00
Reece H. Dunn a79fe17681 Fix exported activities/services/providers warning in the manifest. 2012-12-14 14:34:46 +00:00
Reece H. Dunn 681f7475d3 Update the package version to reflect the espeak version. 2012-12-14 14:29:09 +00:00
Reece H. Dunn 123e55a39c Relocate the package to com.reecedunn.espeak 2012-12-14 14:23:31 +00:00
Reece H. Dunn 8f2ea37c7a Remove cleanup of the legacy directory as this port does not have a legacy directory; removes the need for the WRITE_EXTERNAL_STORAGE permission. 2012-12-14 09:07:26 +00:00
Reece H. Dunn 5998278dda eSpeakActivity: don't report an error if mVoices is null, set the installed voices to 0. 2012-12-14 00:24:22 +00:00
Reece H. Dunn e27a218592 onDataChecked may be called *after* onInitialized is called, in which case mVoices will be null; set the voice count in onDataChecked to avoid problems 2012-12-13 23:58:34 +00:00
Reece H. Dunn e346c86cb7 Fix the 'leaked ServiceConnection' error. 2012-12-13 23:17:44 +00:00
Reece H. Dunn bf45142f5d Fix the pitch mapping between Android and eSpeak. 2012-12-13 22:42:06 +00:00
Reece H. Dunn df0f166fb4 Move the android sources to android/... to avoid polluting the APK when it is being built through eclipse 2012-12-13 14:05:26 +00:00
Reece H. Dunn 7afbbf57d5 espeak specifies rate in WPM but android specifies it as a percentage, therefore correctly scale against the default espeak WPM 2012-12-13 13:34:11 +00:00
Reece H. Dunn 9f2137a8ff Add an 'Update voices' button to manually trigger an update. 2012-12-13 11:56:29 +00:00
Reece H. Dunn 99e63c4b2e espeakdadta.zip: fix the directory structure 2012-12-13 11:55:43 +00:00
Reece H. Dunn 4b1bb96b68 TtsService: correctly map android locales to espeak locales in onSynthesizeText using the onLoadLanguage > onIsLanguageAvailable chain to avoid code duplication 2012-12-13 01:21:23 +00:00
Reece H. Dunn 7103594ff5 .gitignore: ignore the gen directory 2012-12-13 00:30:50 +00:00
Reece H. Dunn fab65bd5db eSpeakActivity: use a weak reference in the Handler to avoid memory leaks 2012-12-13 00:28:49 +00:00
Reece H. Dunn e2d15f6456 nativeSetLanguage is not used, so remove the associated code 2012-12-12 19:43:17 +00:00
Reece H. Dunn 5f8a2aa991 Build espeakdata.zip in the correct place so it is picked up by the apk and update it to 1.46.29 2012-12-12 18:43:08 +00:00
Reece H. Dunn aad02ea440 Clean up some easy to fix warnings in the Java code. 2012-12-12 18:16:47 +00:00
Reece H. Dunn c24913aec3 Use a pointer to a stack object for 'silence' instead of allocating memory to avoid a memory leak. 2012-12-12 18:09:11 +00:00
Reece H. Dunn e62cfa7c76 Add LOGE traces for error codes returned by the espeak functions. 2012-12-12 16:54:59 +00:00
Reece H. Dunn 7007dd7608 Do not call (Get|Release)StringUTFChars with a null value as this will crash the eSpeak service. 2012-12-12 16:11:43 +00:00
Reece H. Dunn dfbfec4e05 Improve the logging on the JNI/C++ bindings and document which API versions each implementation targets 2012-12-12 16:03:53 +00:00
Reece H. Dunn 09ba97bdf8 eSpeakActivity: rework the main layout to provide a better L&F 2012-12-12 13:59:15 +00:00