Dylan Jaide White
8d95b3b5de
Initial test of adding volume, javascript only for now
2022-03-12 18:04:53 +00:00
d58bb881e5
Fix Android initialization.
2020-10-14 13:15:03 -05:00
1dabd5afd3
Implement stop signals.
2020-10-08 08:56:56 -05:00
ed7f3920f6
Add signal support to Android.
2020-09-30 15:13:17 -05:00
c7563fa997
Pass utterance IDs into signals, and return an utterance ID when speaking.
2020-09-30 13:45:20 -05:00
68d1d9e011
WIP: Try passing in utterance to signals.
2020-09-30 11:57:50 -05:00
a71bf417b6
Bridge TTS callbacks to signals.
2020-09-29 11:41:00 -05:00
0c9efa5c7b
Minor convention cleanup.
2020-09-29 10:56:32 -05:00
abe9ab3f55
Add property indicating whether utterance callbacks are supported.
2020-09-29 10:53:35 -05:00
30eacee6ff
Use actual normal_rate
getter so we don't repeat ourselves.
2020-08-27 15:31:31 -05:00
274902432c
Fix JavaScript rate issues.
...
* Replace ints with floats when non-zero. Not sure if this is explicitly necessary, but at least it makes the type more obvious.
* Set initial JavaScript rate to 1.0, not 50. 50 was a remnant of the rate being a percentage, rather than a value between platform-specific minimums and maximums.
2020-08-27 15:27:50 -05:00
f9d485faab
Fix broken Android singleton names.
2020-08-21 10:31:59 -05:00
f0834feea5
Changes necessary to get working on Android.
2020-08-18 17:23:05 -05:00
8dfa941ba6
Remove unnecessary logging.
2020-08-13 12:56:14 -05:00
dec1d2cc17
Move TTS initiaization to _init
so script works either as a singleton or an instantiated object.
2020-07-23 14:05:36 -05:00
b78848f583
Ensure that TTS always runs.
2020-07-06 15:14:20 -05:00
0d7ba71769
Various improvements.
...
* Add ability to detect when speaking. Doesn't yet work under Linux or WinRT.
* Add signal to indicate when speaking is done.
* Refine screen reader detection under Android.
2020-06-02 16:23:45 -05:00
c7d827da93
Reformat.
2020-05-28 13:29:39 -05:00
aa718c5fe6
Implement screen reader detection for everything but Android.
...
Android support is waiting on Godot 3.2.2 when the new plugin system lands.
2020-05-19 08:56:41 -05:00
4495b89ff3
Implement rate on Android in a way that is compatible with the new API.
2020-05-19 08:10:02 -05:00
495c5eddad
Major tts-rs
update.
...
* Initial WinRT driver, used when no Windows screen reader is detected.
* Enhanced rate support, tracking min/max/normal rate per synthesizer.
* `rate_percentage` properties make working with differing rate ranges easier.
2020-05-19 07:49:28 -05:00
35a34871a3
Use floats for JavaScript rate, hopefully fixing slow speech issues likely caused by rate being 0.
2020-04-12 10:05:18 -05:00
2bb87b6312
Replace newlines with spaces in JavaScript strings.
2020-04-05 10:15:35 -05:00
14f6626e0a
Add sanity checks for rate set, and scale JavaScript rate so users can set something fast.
2020-03-19 13:43:45 -05:00
be52e4c6ae
Only print TTS output if we aren't speaking.
2020-03-19 13:36:21 -05:00
0b92eef5e9
Add simple getter to determine if screen reader detection is supported.
...
At the moment, this only returns `true` on Windows desktop. Screen reader detection is not yet supported, but should eventually be possible for at least Windows and Android.
2020-01-25 08:57:19 -06:00
f41c34c12f
Remove explicit null.
2020-01-14 19:54:40 -06:00
a7b8ecb775
Don't initialize TTS in server builds after all.
2020-01-10 15:06:13 -06:00
e2f81c32dc
Clean up TTS
initialization.
2020-01-10 08:49:43 -06:00
c4646c4b26
Don't initialize/free if we can't.
2020-01-09 15:54:05 -06:00
3b067faecd
Fix JavaScript rate-scaling.
2019-12-31 12:26:26 -06:00
bf6372a1a8
Add support for JavaScript SpeechSynthesis API.
2019-12-31 08:54:13 -06:00
ecfee60db5
Initial Android support.
2019-12-30 12:57:19 -06:00
e02e1dd2b8
Clean up TTS on exit.
2019-12-22 18:09:40 -06:00
e233b97fff
Use print_debug
to, theoretically, only print TTS speech/interrupt status when in debug mode.
...
And yet it still prints in exported builds not using the debug templates. *sigh*
2019-10-16 08:01:34 -05:00
Ellen Poe
a5b6c20125
Only initialize TTS outside the editor if system libraries are available
2019-10-12 15:27:59 -07:00
1bb0f56f40
Make rate
a percentage, and add getter to determine if rate selection is supported.
2019-10-09 16:10:14 -05:00
4893bf7e10
Add getter/setter for rate.
2019-09-27 13:07:35 -05:00
bc46bbad60
Add function to singularize or pluralize a word.
2019-09-24 18:06:57 -05:00
c6da1a0c27
Make this a singleton.
2019-09-24 14:21:05 -05:00
bde8f61b6b
Create GDScript shim for library, so not all platforms need a GDNative plugin.
2019-09-17 10:12:17 -05:00