Skip to content

Commit

Permalink
v0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
santinic committed Feb 11, 2025
1 parent 4097169 commit 100ed3e
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 48 deletions.
30 changes: 21 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ On a Google Colab's T4 GPU via Cuda, **it takes about 5 minutes to convert "Anim
On my M2 MacBook Pro, on CPU, it takes about 1 hour, at a rate of about 60 characters per second.


## How to install and run
## How to install the Command Line toool

If you have Python 3 on your computer, you can install it with pip.
You also need `espeak-ng` and `ffmpeg` installed on your machine:

```bash
sudo apt install ffmpeg espeak-ng libgtk-3-dev # on Ubuntu/Debian 🐧
sudo apt install ffmpeg espeak-ng # on Ubuntu/Debian 🐧
pip install audiblez
```

Expand All @@ -36,13 +36,7 @@ brew install ffmpeg espeak-ng # on Mac 🍏
pip install audiblez
```

Then, to run the graphical interface, just type:

```
audiblez-ui
```

If you prefer the command-line instead, you can convert an .epub directly with:
Then you can convert an .epub directly with:

```
audiblez book.epub -v af_sky
Expand All @@ -53,6 +47,24 @@ and at the end it will produce a `book.m4b` file with the whole book you can lis
audiobook player.
It will only produce the `.m4b` file if you have `ffmpeg` installed on your machine.

## How to run the GUI

The GUI is a simple interface to convert an epub file to an audiobook.
You need some extra dependencies to run the GUI.

```
sudo apt install ffmpeg espeak-ng
sudo apt install libgtk-3-dev # just for Ubuntu/Debian 🐧, Windows/Mac don't need this
pip install audiblez pillow wxpython
```

Then you can run the GUI with:
```
audiblez-ui
```


## Speed

By default the audio is generated using a normal speed, but you can make it up to twice slower or faster by specifying a speed argument between 0.5 to 2.0:
Expand Down
41 changes: 4 additions & 37 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "audiblez"
version = "0.4.2"
version = "0.4.3"
description = "Generate audiobooks from e-books (epub to wav/m4b)"
authors = [
{ name = "Claudio Santini", email = "[email protected]" }
Expand All @@ -16,7 +16,6 @@ dependencies = [
"spacy (>=3.8.3,<4.0.0)",
"kokoro (>=0.7.9,<0.8.0)",
"misaki[zh] (>=0.7.10,<0.8.0)",
"wxpython (>=4.2.2,<5.0.0)"
]
exclude = [
"imgs",
Expand Down

0 comments on commit 100ed3e

Please sign in to comment.