From bf4963d4302bdac21fd0439c07e82c7155adf897 Mon Sep 17 00:00:00 2001 From: Jason Cosper Date: Thu, 13 Jul 2023 16:27:03 -0700 Subject: [PATCH] Update `README.md` --- README.md | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3bb77d0..984e987 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,25 @@ -# epub2mp3 -This Python script converts an ePub file into an mp3 audiobook using macOS's built-in `say` command for text-to-speech synthesis. +# ePub to MP3 Converter + +This script converts an ePub file into an MP3 audiobook using macOS's built-in `say` command for text-to-speech synthesis and `ffmpeg` to convert AIFF files to MP3. The MP3 files are saved in a directory named after the ePub file, in the same directory where you run the script. + +## Requirements + +- macOS +- Python 3.6 or higher +- `ffmpeg` installed and available in the system's PATH + +## Python Dependencies + +The Python dependencies are listed in the `requirements.txt` file and can be installed with: + +```bash +pip install -r requirements.txt +``` + +## Usage + +```bash +python epub2mp3.py +``` + +Replace `` with the name of your ePub file. Each chapter will be output as a separate MP3 file.