deangelisdf / write2audiobook

A powerful tool designed to convert text-based documents into engaging audiobooks. Perfect for anyone looking to make reading more accessible, whether for people with visual impairments or for those who simply prefer listening on the go.
MIT License
2 stars 4 forks source link

Pytts engine property #21

Closed greg-martinez44 closed 2 months ago

greg-martinez44 commented 2 months ago

I wasn't able to run the script on my WSL environment. To write the user guide on the docs page, I needed to make some adjustments to make it run on linux & MacOS.

I made the BACK_END_TTS variable dependent on the system's operating system.

I also made some updates to the language dictionary keys to make them compatible with pyttsx3. The documentation for pyttsx3 also doesn't have voice_edge as a valid property of the engine; I updated to voice.

pyttsx3 documentation reference

greg-martinez44 commented 2 months ago

9

I tested the txt2audio on MacOS and it ran fine. I tested txt2audio, pptx2audio, and ebook2audio on WSL. Those ran, but ebook2audio and pptx2audio hung at the end.