Commit Graph
849 Commits
Author SHA1 Message Date
Reece H. Dunn 3169ffbc04 SeekBarPreference: don't make the value text selectable
The ADT lint warnings flagged the value text as "consider making
the text selectable", however if you do TalkBack will cause the
first character to be read every time the seekbar changes poisiton
(due to the text being updated via the setText method).

This is annoying and confusing, so textIsSelectable is set to false
to supress the lint warning.
2013-05-04 12:38:12 +01:00
Reece H. Dunn c8d0484e38 SeekBarPreference: make the value text selectable. 2013-05-04 12:02:19 +01:00
Reece H. Dunn 18bfb79a2b SeekBarPreference: clean up the layout styles on the 'Set to default' button. 2013-05-04 11:59:33 +01:00
Reece H. Dunn 747f65522f SeekBarPreferences: adjust the margins and paddings on the dialog items. 2013-05-04 11:36:14 +01:00
Reece H. Dunn 8d6465d6ca SeekBarPreference: ensure that the base class is called in onBindDialogView. 2013-05-04 11:28:13 +01:00
Reece H. Dunn ee049e7c94 Merge branch 'master' into android 2013-05-04 09:40:45 +01:00
Reece H. Dunn 7352b01312 Merge branch 'development' 2013-05-04 09:37:26 +01:00
Reece H. Dunn 1df4cc789e Remove the executable bit from the new source files. 2013-05-04 09:37:11 +01:00
Reece H. Dunn 6d54a13890 Merge branch 'development' 2013-05-04 09:34:24 +01:00
Reece H. Dunn 187ed49e2b Merge branch 'upstream' into development
Conflicts:
	dictsource/dict_phonemes
	phsource/compile_report
2013-05-04 09:30:42 +01:00
jonsd bfca3abac2 [1.47.11]
git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@358 d46cf337-b52f-0410-862d-fd96e6ae7743
2013-05-03 23:01:32 +00:00
Reece H. Dunn a988016c6f Merge branch 'master' into android 2013-05-03 18:58:59 +01:00
Reece H. Dunn 170ce4c560 Merge branch 'development'
Conflicts:
	src/klatt.cpp
2013-05-03 18:57:51 +01:00
Reece H. Dunn b169457177 Merge branch 'upstream' into development
Conflicts:
	dictsource/dict_phonemes
	phsource/compile_report
2013-05-03 18:51:54 +01:00
Reece H. Dunn a601d8afb1 SeekBarPreference: set the content description to the value of the parameter. 2013-05-03 18:39:31 +01:00
jonsd 26d469b816 [1.47.10b]
Indian languages: change [t.#].
lang=hy,: Change letter names.
Add voice variant Klatt4 with a sawtooth voicing waveform.
Fix problem in 1.47.10a with 'kr' and 'pr' in some languages.


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@357 d46cf337-b52f-0410-862d-fd96e6ae7743
2013-05-03 17:19:45 +00:00
Reece H. Dunn 4b06b1b024 Support configuring the pitch range parameter. 2013-05-03 16:51:02 +01:00
Reece H. Dunn 090a677db9 Merge branch 'master' into android 2013-05-03 16:28:25 +01:00
Reece H. Dunn f8417b6dc4 Merge branch 'development' 2013-05-03 16:24:55 +01:00
Reece H. Dunn c74b843874 1.47.10a (from http://espeak.sourceforge.net/test/latest.html) 2013-05-03 16:24:33 +01:00
Reece H. Dunn f8dab45a96 Merge branch 'upstream' into development
Conflicts:
	dictsource/dict_phonemes
	phsource/compile_report
2013-05-03 16:19:22 +01:00
Reece H. Dunn c62f08c66b The default_rate_values string-array is no longer needed, so remove it. 2013-05-03 16:11:27 +01:00
Reece H. Dunn d0f5dc2ff4 Migrate the speech rate parameter to use the new SeekBar/Parameter UI. 2013-05-03 16:08:30 +01:00
Reece H. Dunn 16164c1c52 SeekBarPreference: fix handling of the minimum value option. 2013-05-03 16:03:27 +01:00
Reece H. Dunn b2785ce823 Remove the 'Default' gender option as this does not make sense. 2013-05-03 15:32:28 +01:00
Reece H. Dunn 1b9df87976 Remove all references to the default_pitch_entries string-array. 2013-05-03 14:56:37 +01:00
Reece H. Dunn c5a62fe076 Reformat the strings.xml files to be consistently formatted. 2013-05-03 14:54:36 +01:00
Reece H. Dunn a91dedf205 remove_string.sh: helper for removing a string resource in all strings.xml files. 2013-05-03 14:54:10 +01:00
Reece H. Dunn 09c79bb013 Make the rate setting use the new SeekBar/Parameter UI. 2013-05-03 13:07:54 +01:00
Reece H. Dunn d0ba13ae1d SeekBarPreference: support resetting to the default value. 2013-05-03 12:43:20 +01:00
Reece H. Dunn 20010daac3 SeekBarPreference: show the formatted current value in the preference dialog. 2013-05-03 12:21:30 +01:00
jonsd b84ec8a609 [1.47.10a]
Lang=sl, set open/close 'e' and 'o' from syllable stress.
Lang=tr, fix 'r'.
Lang=te, ml:  change [t.#] [d.#]
Lang=hi, change [d.#]


git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@356 d46cf337-b52f-0410-862d-fd96e6ae7743
2013-05-03 11:04:19 +00:00
Reece H. Dunn 8e4b6044dc SeekBarPreference: make formatter an explicit property instead of using the extras bundle. 2013-05-03 11:54:25 +01:00
Reece H. Dunn b60ed6c9ae Display the formatted units on the volume setting. 2013-05-03 11:46:04 +01:00
Reece H. Dunn 5370341abf SeekBarPreference: only commit the preference if requested to. 2013-05-03 11:24:59 +01:00
Reece H. Dunn ac6099ebf1 Hook up the volume parameter to a slider preference dialog. 2013-05-03 11:11:59 +01:00
Reece H. Dunn 233da111db TtsService.java: rework the logic to use the new Parameter API. 2013-05-02 20:33:43 +01:00
Reece H. Dunn de78778210 SpeechSynthesis.java: further refine the Parameter API. 2013-05-02 20:13:00 +01:00
Reece H. Dunn 85836eae92 SpeechSynthesis.java: rename the parameter APIs. 2013-05-02 19:57:52 +01:00
Reece H. Dunn cc72825682 SpeechSynthesis.java: expose the different voice options from eSpeak
This makes the following changes:

1.  setVoice takes a Voice object instead of a language string.

    This is to make the API cleaner and allows SpeechSynthesis
    to pass the correct parameter (identifier for SetVoiceByName,
    or name for SetVoiceByProperties) to espeak.

2.  The espeak_SetVoiceByName API is also exposed to support passing
    the voice variant to use.

3.  The age parameter has been re-added with the constants:
    *  SpeechSynthesis.AGE_ANY
    *  SpeechSynthesis.AGE_YOUNG
    *  SpeechSynthesis.AGE_OLD
    based on the behaviour of the eSpeak voice selection algorithm.

NOTE: Due to the way that voice selection is implemented in eSpeak,
if variant is specified, the age and gender cannot be specified and
vice versa.
2013-05-02 18:06:41 +01:00
Reece H. Dunn 88eab88d8a SpeechSynthesis.java: further simplify the setVoice method.
This renames `setVoiceByProperties` to the more consise `setVoice`
and removes the name parameter as this is not used -- the voice is
set by the language and gender parameters only.
2013-05-02 16:45:46 +01:00
Reece H. Dunn 027217d5f7 SpeechSynthesis.java: Simplify the SetVoiceByProperties parameters.
The `age` parameter is not useful as eSpeak does not use this when
selecting voices. This is always set to `0` by TtsService.java.

The `variant` parameter is not used to select the actual voice
variant (from the `!v` directory) but to select the n^th matching
voice from the list of matching voices. This is always set to
select the first matching voice by TtsService.java.
2013-05-02 16:32:46 +01:00
Reece H. Dunn 23d34d702a SpeechSynthesis.java: provide a binding of the eSpeak Get/SetParameter API. 2013-05-02 16:23:59 +01:00
Reece H. Dunn f6edb535c7 Add instructions for building with ant on the command line. 2013-05-02 14:30:13 +01:00
Reece H. Dunn 938530dcaf Fix building espeakdata.zip after the merge. 2013-05-02 10:53:38 +01:00
Reece H. Dunn e1f036bfd2 Merge branch 'master' into android
Conflicts:
	README.md
2013-05-02 10:50:01 +01:00
Reece H. Dunn e50f9e0055 DEFAULT_SAMPLE_RATE is not needed, so remove it.
The sampleRate variable gets overwritten with the actual sample
rate during creation from the espeak_Initialize method, so the
value it is set to in the constructor does not matter.
2013-05-02 10:44:39 +01:00
Reece H. Dunn e841816365 Don't symlink espeak-data, set ESPEAK_DATA_PATH instead. 2013-05-02 10:35:40 +01:00
Reece H. Dunn 010f5ca24a Merge branch 'master' into android 2013-05-01 21:31:23 +01:00
jonsd f5f0b4171b git-svn-id: https://espeak.svn.sourceforge.net/svnroot/espeak/trunk@355 d46cf337-b52f-0410-862d-fd96e6ae7743 2013-05-01 19:38:54 +00:00