Commit Graph
1229 Commits
Author SHA1 Message Date
Reece H. Dunn 6fa2e34c7f Revert "DownloadVoiceData: check the mkdir return value"
This reverts commit 6ac54860a1.

This change was preventing the voice data from being installed.
2014-10-30 15:42:19 +00:00
Reece H. Dunn 1740026c1c SpeechSynthesisTest: make mVoices a Map 2014-10-30 14:56:16 +00:00
Reece H. Dunn 58047cef67 [Android 5.0] TTS settings crashes on hye-arevmda 2014-10-30 14:23:58 +00:00
Reece H. Dunn f4adda18b4 Voice: use the ISO3 language and country codes
The Android 5.0 Text-to-speech output settings dialog checks that
the languages from CheckVoiceData use the ISO3 language and
country codes. This change matches that expectation.
2014-10-30 14:16:43 +00:00
Reece H. Dunn 736986d609 TextToSpeechService: support SynthesisRequest.getVoiceName 2014-10-30 13:14:48 +00:00
Reece H. Dunn 1c0e4cfaa9 TextToSpeechService: use a HashMap for the voices.
This improves the performance of looking up a voice by name.
2014-10-30 12:56:06 +00:00
Reece H. Dunn cfb2f9d3cb Fix TextToSpeech,setLanguage on Android 5.0.
As of Android 5.0, TextToSpeech.setLanguage calls the new
TextToSpeechService.onGetDefaultVoiceNameFor(lang,country,variant)
and uses the specified voice name.

The default Android 5.0 implementation of onGetDefaultVoiceNameFor
does not work with eSpeak. This provides a working implementation.

This fixes the TextToSpeechTest.testLanguages tests on Android 5.0.
2014-10-30 12:28:32 +00:00
Reece H. Dunn 98208df155 TextToSpeechTest: provide more context information 2014-10-30 11:24:41 +00:00
Reece H. Dunn dbb259056e Add CheckVoiceData activity tests. 2014-10-30 09:30:01 +00:00
Reece H. Dunn c9003c50ba TextToSpeech: test and fix onIsValidVoiceName 2014-10-29 19:50:43 +00:00
Reece H. Dunn daa9326eb2 TextToSpeechTest: languages with codes not supported by Android are not present 2014-10-29 19:18:41 +00:00
Reece H. Dunn 83326027bf TextToSpeechTest: factor out the language checks 2014-10-29 19:17:26 +00:00
Reece H. Dunn f9912e0c41 TtsService: fix and test onGetVoice.
The default Android 5.0 implementation enumerates the available
locales. This enumerates the voices returned by eSpeak.
2014-10-29 18:21:31 +00:00
Reece H. Dunn 702f8be24f TextToSpeechTest: always test getLanguage.
This changes the getLanguage helper to return the result from
getLanguage on all platform versions, disabling the deprecated
message on API 21 and above.
2014-10-29 16:32:25 +00:00
Reece H. Dunn 7846e91089 TtsService: add wrappers for the new voice APIs.
This adds method declarations for the new voice APIs, forwarding
them to the default implementations.
2014-10-29 15:59:48 +00:00
Reece H. Dunn d90e58f9cd Fix deprecated SynthesisRequest.getText usage. 2014-10-29 15:34:20 +00:00
Reece H. Dunn 0dd897471c tests: initial language may be null 2014-10-28 19:05:21 +00:00
Reece H. Dunn 3d2308e285 Use API 21. 2014-10-28 18:30:16 +00:00
Reece H. Dunn 6ac54860a1 DownloadVoiceData: check the mkdir return value 2014-10-28 17:32:16 +00:00
Reece H. Dunn 8fe359d0e4 Remove unused imports. 2014-10-28 16:47:32 +00:00
Reece H. Dunn 3eab09e166 tests: fix the expected string tests on Android 4 2014-10-28 16:28:55 +00:00
Reece H. Dunn cc0341e799 tests: map TextToSpeech.LANG_* to strings.
This creates a custom hamcrest matcher that maps the TextToSpeech
LANG_* constants to strings. This makes it easier to read the
text output when the tests fail.
2014-10-28 16:11:51 +00:00
Reece H. Dunn 328f4cfdc9 Test and fix Java to IANA country code mapping. 2014-10-28 15:33:11 +00:00
Reece H. Dunn 6576742917 Test and fix Java to IANA language code mapping. 2014-10-28 15:23:53 +00:00
Reece H. Dunn f68efe7224 tests: update the expected strings for Android 5.0 2014-10-28 14:54:09 +00:00
Reece H. Dunn 1cfb433438 tests: update the voice data 2014-10-28 13:05:27 +00:00
Reece H. Dunn c006d1c696 Merge tag '1.48.11' into android
espeak 1.48.11

Conflicts:
	Makefile.am
2014-10-28 12:59:53 +00:00
Reece H. Dunn 1c78ef70ba autotools: support using a custom gradle command 2014-10-28 12:48:45 +00:00
Reece H. Dunn bc5e919663 build.gradle: update to the latest gradle plugin version 2014-10-27 16:45:26 +00:00
Reece H. Dunn 81955300d6 Merge branch 'development'
Conflicts:
	src/Makefile
2014-08-31 17:22:49 +01:00
Reece H. Dunn 1af0afa88c 1.48.11 (from http://espeak.sourceforge.net/test/latest.html) 2014-08-31 17:22:12 +01:00
Reece H. Dunn 7c90388216 Merge branch 'upstream' into development
Conflicts:
	dictsource/dict_phonemes
	phsource/compile_report
2014-08-31 17:16:14 +01:00
jonsd b27f69bb5a [1.48.11]
Command-line: added options --sep --tie.

API, changed the meaning of the "phonememode" parameter in espeak_SetPhonemeTrace() and espeak_TextToPhonemes().

Language changes to:  en, eu, pt.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@385 d46cf337-b52f-0410-862d-fd96e6ae7743
2014-08-31 15:50:07 +00:00
Reece H. Dunn c231e8ef1a autogen.sh: OpenBSD does not support '-v' on ls 2014-08-21 11:25:48 +01:00
Reece H. Dunn 7beaef4499 mbrola/de6: support syllabic m and n 2014-08-14 17:07:39 +01:00
Reece H. Dunn 55b2e01a6c autotools: support building the mbrola phtrans files 2014-08-14 10:44:18 +01:00
Reece H. Dunn 560b214623 Merge branch 'development' 2014-08-10 12:04:00 +01:00
Reece H. Dunn 280c4f836e 1.48.10a (from http://espeak.sourceforge.net/test/latest.html) 2014-08-10 12:03:21 +01:00
Reece H. Dunn b64beb8b23 Merge branch 'upstream' into development
Conflicts:
	dictsource/dict_phonemes
2014-08-10 11:58:16 +01:00
jonsd 2315736555 [1.48.10a]
Fix: missing updates for mbrola US voices.
Fixes for language: ta.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@384 d46cf337-b52f-0410-862d-fd96e6ae7743
2014-08-10 10:48:54 +00:00
Reece H. Dunn 543223441d Update to support the voice changes (ia, bn) 2014-08-09 16:15:34 +01:00
Reece H. Dunn 00669bac64 README: fix instructions mangled from a merge conflict 2014-08-09 13:49:28 +01:00
Reece H. Dunn 07d638985f README: update the location of the built apk file 2014-08-09 13:46:05 +01:00
Reece H. Dunn 679ae0dab2 README: building with Eclipse is no longer supported 2014-08-09 13:43:32 +01:00
Reece H. Dunn d680b29259 Merge tag '1.48.10' into android 2014-08-09 13:31:47 +01:00
Reece H. Dunn 343b900eb1 Merge tag '1.48.09' into android 2014-08-09 13:31:41 +01:00
Reece H. Dunn 31f6a7773f Merge tag '1.48.08' into android 2014-08-09 13:31:05 +01:00
Reece H. Dunn a11c2f01b3 Merge tag '1.48.07' into android 2014-08-09 13:29:39 +01:00
Reece H. Dunn 203cfcfb4f Merge branch 'development' 2014-08-09 13:18:22 +01:00
Reece H. Dunn 0566f86f20 1.48.10 (from http://espeak.sourceforge.net/test/latest.html) 2014-08-09 13:16:51 +01:00