Convert ePUB to audio files.
The code parses the ePUB into parts (roughly related to book chapters) and “text-to-speech” each part into its own audio file.
The output will be numerically prefixed to maintain order.
This is an alpha proof-of-concept version. To me this should be an easy alternative when the eyes are tired but the mind isn’t 🙂
- Runs on MacOS
- ffmpeg is installed and available in $PATH
- Golan
- Clone this repository
- Replace the files inside
volume/input.epub
with the book you want to convert to audio (keep the file name) - Execute the program (note that this will take quite a while, but you should see Some Output during execution):
- You should see a new
output
Contains a folder for each text and audio file.
- Apple system
say
Order - Note: The sample books in this repository are excerpted from Project Guttenbergcopyright status is “U.S. Public Domain”
Check license document.