A simple Text-To-Speech application written in Python using Pyttsx3 1 and Tkinter. Py-Reader acts a as GUI wrapper over basic pyttsx3 commands with the ability to read along with subtitles and adjust settings as needed.
- Select and read Text (.txt) files
- Read along with subtitles
- Start, stop and resume reading as needed 2
- Control the Rate of Speech (soft locked at 75 ~ 225)
Control the volume3- Change voice (if available)
Software | Version |
---|---|
Python3 | 3.8.10 |
pyttsx3 | 2.6 |
tkinter | 2.90 |
via pip
pip install pyttsx3
via apt-get
xargs -a packages.txt sudo apt-get install
The application can be started in the root directory using:
python3 py-reader.py
Main background: KeronnArt
Settings background: Leovinus
Info icon: Torres Store
Footnotes
-
pyttsx3 uses different synthesizers based on the envirenment so additional dependencies may be required link ↩
-
At this time the TTS function cannot be interupped mid-sentence and will finsh the current line before stopping. This may cause an unintended bug of audio overlapping if commands are issued too quickly. ↩
-
Setting the volume property dymanically has caused audio issues during testing. The line in question has been left in as a comment in case others wish to modify the the project in the future. ↩