A small text-to-speech (PDF or TXT) shell script utilizing pdftotext
, say
, and ffmpeg
.
pdftotext
(in case you have a PDF as input file): https://formulae.brew.sh/cask/pdftotextsay
(is part of MacOS)ffmpeg
(to convert voice to audio, i.e. aiff > m4a): https://formulae.brew.sh/formula/ffmpeg
- DE
- EN
- fell free to fork
./text-to-speech EN in.pdf
./text-to-speech DE in.pdf
./text-to-speech EN in.txt
This project is licensed under the terms of the MIT license - see the LICENSE file for details.