This tool uses the NVDA screen reader to speak text.
Note: The library used to interface with NVDA is provided from here. For convenience the latest master release as of 2023-01-20 is duplicated in this repository, under the "ffi" folder.
Pipe text to it or pass it as an argument.
echo "Hello, world!" | nvda-speak
nvda-speak "Hello, world!"
- Clone the repository:
git clone https://github.com/insomnimus/nvda-speak
- Change to the directory:
cd nvda-speak
- Run cargo:
cargo build --release
- move
target/release/nvda-speak.exe
and the dll corresponding to your architecture inffi/
into somewhere in$PATH
.- 64 bit:
ffi/x64/nvdaControllerClient64.dll
- 32 bit:
ffi/x86/nvdaControllerClient32.dll
- arm64:
ffi/arm64/nvdaControllerClient32.dll
(yes, it's called nvdaControllerClient32.dll on arm64 too)
- 64 bit: