A simple text to speech project, to read PDF's out loud.
.gitignore | ||
flake.lock | ||
flake.nix | ||
LICENSE | ||
pdf-speak.py | ||
README.md |
pdf-speak
This is a little short side project i made to read sentence for sentence of a text pdf out loud using piper-tts.
The project is made using nix, and should be run using the provided dev enviroment in the flake.nix
nix develop
pyhton pdf-speak.py -f YOURPDF -p PAGENUMBER
Only testen on a linux system with alsa support (runs shell commands). Can possibly be run with installing piper (tts),aplay and downloading the piper model files, and modifying the model file variables.