Skip to content

Commit ec1a98a

Browse files
committed
Updating docs
1 parent 2516636 commit ec1a98a

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Simple project to convert EPUB books into text files for conversion to audiobook
55
Files are optimized for use in [audiobookshelf](https://www.audiobookshelf.org/)
66

77
## Supported Text to Speech tools
8-
Currently the only TTS system that is tested is [PiperTTS](https://github.com/rhasspy/piper). As you need to run this program manually yourself you can use any other local systems.
8+
Have tested this with TTS systems [PiperTTS](https://github.com/rhasspy/piper) and [Chatterbox-TTS](https://github.com/resemble-ai/chatterbox). As you need to run this program manually yourself you can use any other local systems. Piper is pretty unintensive on resources, but chatterbox-TTS allows you to clone whatever voice you want, is generally much better quality and is generally my preferred TTS system for 2025.
99

1010
If you're looking for an all in one that will send the text to Azure TTS and OpenAI TTS check out [https://github.com/p0n1/epub_to_audiobook](https://github.com/p0n1/epub_to_audiobook).
1111

@@ -45,7 +45,7 @@ cargo install --path .
4545

4646

4747
## Converting Books (Usage)
48-
You will need [PiperTTS](https://github.com/rhasspy/piper) and [FFmpeg](https://www.ffmpeg.org/) installed.
48+
You will need [PiperTTS](https://github.com/rhasspy/piper) or [Chatterbox-TTS](https://github.com/resemble-ai/chatterbox) and [FFmpeg](https://www.ffmpeg.org/) installed.
4949

5050
After converting a decent amount of books to audiobooks, I found there are really a few steps / checkpoints.
5151
1. Initial Conversion from EPUB -> Text
@@ -54,7 +54,7 @@ After converting a decent amount of books to audiobooks, I found there are reall
5454
ebook2audiobook <epub-filename.epub> <output directory>
5555

5656
```
57-
57+
5858
Find and replace text.
5959

6060
Piper doesn't handle certain phrases in 'typical' way eg most of us would read 1904 as 19 O 4, but piper reads it as one thousand nine hundred and four.
@@ -69,7 +69,7 @@ To ensure you enjoy your audiobooks, Ebook2audiobook now allows for custom repla
6969
```
7070
7171
2. Delete text and title files you don't want to convert.
72-
72+
7373
Currently TTS is expensive (cost of cloud or cpu time locally). Converting a book with a large index, contents, appendix is a complete waste. It's best to manually delete files you don't wnat to convert at this checkpoint.
7474

7575

@@ -81,6 +81,8 @@ To ensure you enjoy your audiobooks, Ebook2audiobook now allows for custom repla
8181
mkdir wav
8282
ls *.txt | xargs --max-procs=$TTS_THREADS -I % sh -c "cat '%' | <path-piper>/piper --length_scale 0.9 --model <model-path-and-file> --output_file 'wav/%.wav'"
8383
```
84+
4. TXT -> WAV. via Chatterbox TTS
85+
Coming soon.
8486

8587
5. WAV -> MP3 via ffmpeg
8688
Currently Piper TTS only outputs wav files. The hardest part about converting these to mp3 is to inject the Title, Author, Chapter Title, and Cover into the ID4 tags of the MP3.

0 commit comments

Comments
 (0)