edgeab is a free and open-source Python app that easily creates a full-featured audiobook from an EPUB or text file using realistic text-to-speech from Edge-TTS.
Note: This project is a semi-remake of epub2tts-edge, but it's optimized for my use case, running approximately 8x faster (or at a minimum 4-5x) and using calibre for metadata.
- Generally takes about 10 minutes for the light novels I've tested this on from start to finished file.
- Creates standard format M4B audiobook file
- Automatic chapter break detection
- Embeds cover art if specified (crops image to square)
- Utilizes Microsoft Edge for free cloud-based TTS
- Reads sentences in parallel for extremely fast audiobook creation (approximately 10x faster than epub2tts-edge)
- Resumes from the last point if interrupted (kind of)
- Embeds all the fun metadata pulled from a calibre opf file
Note: EPUB file must be DRM-free
Convert EPUB to formatted TXT file:
edgeab -f "epubfile"
Alternatively, use epub2tts-edge:
edgeab -f "gen-file" -m "opfmetafile" -c "coverimage" -v "voice"
- Navigate to the repository directory:
cd /path/to/repo
- Pull the latest changes:
git pull
- If you installed in a virtual environment, activate it:
source /path/to/venv/bin/activate
- Upgrade the installation:
pip install . --upgrade
A special thanks to the following projects that made edgeab possible:
The Ducktor
- GitHub: @The-Ducktor