Commit Graph

15 Commits

Author SHA1 Message Date
a4c61a421f Refactor to cfg! where possible. 2020-06-11 13:11:09 -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
f81486a02c Add return statements to (hopefully) make conditional compilation actually compile. 2020-05-19 09:14:40 -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
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
735c7ebfa6 Bump GDNative dependency and refactor. 2020-03-19 13:16:56 -05:00
4429e5fb46 Remove or guard unwrap calls in rate getter/setter so they don't fail on unsupported synthesizers. 2019-10-17 08:30:16 -05: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
ec99d318d3 #2: Cast rate setter value and u8::MAX to f32 to prevent overflow/padding. 2019-10-16 07:50:38 -05:00
c9c2f182cd If rate values > 100 are passed in, cap them at 100. 2019-10-09 16:12:47 -05:00
1bb0f56f40 Make rate a percentage, and add getter to determine if rate selection is supported. 2019-10-09 16:10:14 -05:00
ca79ca99bd Add rate property. 2019-09-27 13:03:19 -05:00
05d8e3ac06 Switch to tts crate. 2019-09-10 10:09:04 -05:00
b7b32e16a7 Update Rust dependencies and get this thing actually working. 2019-09-03 08:54:36 -05:00
7d9c3adc4c Initial commit. 2018-06-13 12:14:03 +00:00