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