1
0
mirror of https://github.com/ndarilek/tts-rs.git synced 2024-11-14 18:09:37 +00:00
Commit Graph

57 Commits

Author SHA1 Message Date
Alexey Stolybko
c874607afe Add support for inline pronounciation 2022-12-26 20:07:58 +00:00
c339d2bee3 Bump editions in exampels, and remove unnecessary dependencies. 2022-11-22 14:55:31 -06:00
d42d20189a Update Android dependencies and example. 2022-11-22 10:44:18 -06:00
79e59d551f Remove unnecessary version pins. 2022-09-07 12:37:29 -05:00
5feb8e3186 Constrain version so example builds. 2022-06-14 13:57:53 -05:00
264af78c58 Get example previewing voices even if one can't be gotten. 2022-03-31 13:09:37 -05:00
a0945d7ebb Update example for new API. 2022-03-31 11:04:47 -05:00
e699f7e5e5 Add voices support to web platform. 2022-03-31 10:39:39 -05:00
b1f60811bf Add voice support to WinRT backend. 2022-03-30 20:13:27 -05:00
c222c087b2 cargo fmt 2022-03-30 10:18:22 -05:00
francois-caddet
88f4598ec6 Merge branch 'master' into feature/voices 2022-03-20 13:02:37 +01:00
cc8fd91c86 Set event callbacks on pre-clone value to ensure that they remain alive. 2022-03-10 11:44:59 -06:00
888e6a3dfa Correctly clean up callback references based on whether Arc remains cloned on drop. 2022-03-10 11:12:46 -06:00
1f466275cf Bump ndk-glue version once more. 2022-01-10 10:52:44 -06:00
Malloc Voidstar
5e9c98b063
Also bump gradle.plugin.com.github.willir.rust:plugin
0.3.3 doesn't work with cargo-ndk 2+
2021-12-10 09:31:21 -08:00
Malloc Voidstar
ee8ec97ab4
Bump ndk-glue version in Android example 2021-12-10 09:10:39 -08:00
4088eb12a1 Add ability to detect screen readers. Windows-only for now, and requires the tolk feature. 2021-05-11 19:37:56 -05:00
a879b3dca3 Get web example compiling. 2021-04-03 11:58:23 -05:00
d9639c049b S/TTS/Tts/ here as well. 2021-03-31 11:03:14 -05:00
57f91105ec s/TTS/Tts/ as per Clippy's acronym warnings. 2021-03-31 10:40:42 -05:00
153075ebab Add web example
Closes #1
2021-03-16 17:33:01 -05:00
914a7a1972 Make script executable. 2020-12-30 12:51:55 -06:00
cee5777556 README/packaging tweaks for Android. 2020-12-30 12:41:28 -06:00
a01fd93502 Build Android example as part of CI. 2020-12-30 12:28:07 -06:00
8d6f40b1a5 Finish callback implementation. 2020-12-30 12:19:44 -06:00
0ea46b29b2 Partially implement callbacks. Unfinished due to lazy_static inconsistencies. 2020-12-30 11:37:46 -06:00
5634fdb393 Block initialization until TTS finishes initializing from Android. 2020-12-30 09:24:13 -06:00
1ac0b91981 Add ugly hack to prove that speech works. 2020-12-29 19:25:56 -06:00
965bea0adf TTS seems to initialize now. 2020-12-29 14:10:39 -06:00
fc20431916 Refactor Android example to full, self-contained app. 2020-12-29 11:15:24 -06:00
187cd71eeb Add Android example. 2020-12-27 10:42:41 -06:00
d8f2b3fb00 I'll do my own queuing, MediaPlaybackList is either the wrong tool for the job or way too buggy. 2020-12-07 21:35:07 -06:00
728c409e25 Add example for unscientifically measuring latency of TTS. 2020-11-25 09:54:46 -06:00
f37133841a Fix warnings. 2020-11-17 16:00:02 -06:00
6a706f36ab Fix double-speaking bug for good, hopefully. 2020-11-11 10:27:03 -06:00
204cd50935 Change example to expose more WinRT breakage. 2020-11-03 11:51:40 -06:00
d3e05b5a7a Revert "Pass TTS instance as first argument to utterance callbacks."
This appears to break callbacks, and is of limited utility.

This reverts commit 29c0a8463e.
2020-11-03 11:03:55 -06:00
5a9c96508f Remove unused variable. 2020-11-03 11:00:20 -06:00
2343523bb6 Add example that exposes WinRT issue where speech doubles in some circumstances. 2020-11-03 10:05:17 -06:00
29c0a8463e Pass TTS instance as first argument to utterance callbacks. 2020-11-02 22:40:30 -06:00
565aa6d654 Fix issue where is_speaking always returns true under WinRT, and bump version. 2020-11-02 13:30:39 -06:00
ba90cd66ba Add unused example of setting on_utterance_stop. 2020-10-08 09:06:48 -05:00
François Caddet
e19eb56169 first implementation of a voice trait for macOS
WARN: not tested
2020-09-27 20:04:12 +02:00
Francois Caddet
47cbb80595 Merge branch 'develop' into feature/voices 2020-09-26 18:20:10 +02:00
1f22843086 Refactor Linux, Windows, and Wasm platforms to use FnMut for callbacks, and bump version. 2020-09-25 11:08:19 -05:00
c5524113ff Document the fact that we only need an NSRunLoop in the example because there isn't one already. 2020-09-23 10:33:30 -05:00
61522610cd Implement utterance begin/end callback framework, and set up for Speech-Dispatcher. 2020-09-23 10:12:51 -05:00
François Caddet
1b8809aaeb remove the example changing voice.
the default() voice working properly for av_foundation
2020-09-05 10:55:23 +02:00
François Caddet
0fb6c62d83 fix some parameters types and implement set_voice
We have an ilegal hardware instruction in
backend::av_foundation::voices::AVSpeechSynthesisVoice::new(identifier)
when sending voiceWithIdentifier. Is it because the runLoop is not
runing when it's called?
2020-09-04 15:48:56 +02:00
47bfe768e6 Get delegates working so speech interruption/queuing should now be possible.
* Fix broken delegate method signature.
* Add `NSRunLoop` into `hello_world` example so delegates are called. Presumably, MacOS apps already run one of these, but the example didn't.
2020-08-12 09:49:51 -05:00