Go to file
Nolan Darilek 665013fdff Split text sent to Tolk backend to account for some sort of length limit.
Tolk seems to fail on strings larger than 325 characters in length. Here we:
* Send any strings with 300 or fewer characters through directly.
* For larger strings, split on whitespace boundaries, then create and send buffers of 300 or fewer characters.

This may not handle internationalized text, and may not handle someone bombarding TTS with a giant word. PRs for either welcome.
2020-09-02 11:40:08 -05:00
.github/workflows Don't scream if winrt_bindings fails to build. 2020-08-18 15:27:07 -05:00
examples Get delegates working so speech interruption/queuing should now be possible. 2020-08-12 09:49:51 -05:00
src Split text sent to Tolk backend to account for some sort of length limit. 2020-09-02 11:40:08 -05:00
winrt_bindings Set license. 2020-06-17 17:54:23 -05:00
.gitignore Add .gitignore. 2019-09-10 10:41:08 -05:00
Cargo.toml Switch Speech-dispatcher initialization to threaded mode so callbacks work and `is_speaking` is correct. 2020-08-25 11:50:25 -05:00
README.md Update supported platforms. 2020-08-18 15:22:12 -05:00
build.rs Add AVFoundation backend, used automatically on MacOS 10.14 and above. 2020-08-13 11:08:00 -05:00

README.md

TTS-RS

This library provides a high-level Text-To-Speech (TTS) interface supporting various backends. Currently supported backends are:

  • Windows
    • Screen readers/SAPI via Tolk
    • WinRT
  • Linux via Speech Dispatcher
  • MacOS
    • AppKit on MacOS 10.13 and below
    • AVFoundation on MacOS 10.14 and above, and iOS
  • WebAssembly