anki/rslib
RumovZ cdfb84f19a
Implement TTS using windows crate (#2371)
* Implement TTS using windows crate

* Use API calls instead of SSML

* Properly stop player in case of TTS error

* Add context to WindowsErrors

* Validate available voices

* Remove TTS text from synthesize error

* Limit maximum buffer size

* Make validation optional and list it in tts filter

* We no longer need the winrt module (dae)

* Use a separate request object so the meaning of the bool is clear (dae)

* Slightly shorten runtime error message (dae)

The default message appears to clip slightly.

* Alternate buffer implementation (dae)

* Use array instead of vec

* Drop the max buffer size to 128k (dae)
2023-02-17 12:26:07 +10:00
..
ascii_percent_encoding Update crate name in docstrings to fix 'cargo test' 2022-12-16 22:30:54 +10:00
benches Switch Rust import style (#2330) 2023-01-18 21:39:55 +10:00
build Deck scoped dupe check (#2372) 2023-02-16 17:53:36 +10:00
i18n Update Rust deps (#2332) 2023-01-18 22:24:29 +10:00
i18n_helpers Add Rust bin to deprecate unused ftl entries (#2364) 2023-02-07 11:56:14 +10:00
linkchecker Update Rust deps (#2332) 2023-01-18 22:24:29 +10:00
src Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
tests/support move linkchecker into separate crate 2021-12-20 17:27:43 +10:00
.gitignore initial Bazel conversion 2020-11-01 14:26:58 +10:00
bench.sh New TTS/AV tag handling (#1559) 2021-12-17 19:04:42 +10:00
Cargo.toml Implement TTS using windows crate (#2371) 2023-02-17 12:26:07 +10:00
README.md Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00

Anki's Rust code.