Convert PDFs and text files to audio using Microsoft Edge TTS.
- Python 3.12+
- ffmpeg (
brew install ffmpeg)
pip install -r requirements.txt# Basic
python cli.py convert input.pdf output.mp3
# Different voice
python cli.py convert input.pdf output.mp3 --voice en-US-GuyNeural
# List voices
python cli.py voices| Voice | Gender | Accent |
|---|---|---|
| en-US-JennyNeural | Female | American |
| en-US-GuyNeural | Male | American |
| en-GB-SoniaNeural | Female | British |
| en-GB-RyanNeural | Male | British |