A simple text to speech project, to read PDF's out loud.
Go to file
2024-05-04 17:13:57 +02:00
.gitignore init proof of consept 2024-05-04 17:13:57 +02:00
flake.lock init proof of consept 2024-05-04 17:13:57 +02:00
flake.nix init proof of consept 2024-05-04 17:13:57 +02:00
LICENSE init proof of consept 2024-05-04 17:13:57 +02:00
pdf-speak.py init proof of consept 2024-05-04 17:13:57 +02:00
README.md init proof of consept 2024-05-04 17:13:57 +02:00

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.