This is the terminal UI version of Clipboard Narrator but uses newer WinRT API to allow using any voice on windows.
Edge TTS | TTS-TUI |
---|---|
requires using MS Edge | works anywhere you can copy |
uses cloud voices | uses system voices |
delay each time you start a voice | little to no delay |
Windows built-in narrator has a different use case but does use the system voices.
PDF readers don't allow copying newlines between paragraphs so they can't be split directly, convert it to a txt file with the original layout first.
Install | Build | Binaries |
---|---|---|
cargo install tts-tui | cargo r --release | Github releases |
The binary is called tts
for brevity
Add voice packs or change the default voice in your system settings, your terminal title will show the active voice.
The following deps are required:
- sudo apt install llvm-dev libclang-dev clang
- sudo apt install speech-dispatcher
- sudo apt install libspeechd-dev
On Debian you have to change the default feature based on speech-dispatcher -v
:
- --no-default-features --features 10
- --no-default-features --features 9