This project is a one-command solution to convert large .txt documents into high-quality MP3 audiobooks entirely offline using Piper — a fast, local, open-source text-to-speech engine.
The script:
Installs all prerequisites (pipx, ffmpeg, piper-tts)
Downloads a chosen Piper voice model (default: female UK English — en_GB-cori-high)
Splits large text into manageable chunks for Piper
Synthesizes each chunk into audio
Stitches the chunks together into a single MP3 file
📂 Project Structure
Piper-TTS-Script/
├── make\_audiobook.sh # Main script
└── README.md # This file
⚙️ Requirements
Linux Mint / Ubuntu (or other Debian-based distro)
Internet connection for the first run (to install packages and download the voice model)