Skip to main content

Convert EPUB books into chapter WAV audio with Chatterbox Multilingual TTS.

Project description

chatterbook

Convert EPUB books into chapter WAV audio with Chatterbox Multilingual TTS.

from chatterbook import convert_epub

convert_epub(
    "book.epub",
    output_dir="audio",
    language="ko",
    voice_path="voices/narrator.wav",
    style="warm",
)

voice_path is an optional short WAV reference clip for voice cloning. If it is omitted, Chatterbox's bundled default conditionals are used.

Styles

  • neutral: balanced default
  • warm: slightly softer narration
  • dramatic: more expressive narration

You can override a style with explicit generation values:

convert_epub(
    "book.epub",
    output_dir="audio",
    language="ko",
    exaggeration=0.7,
    cfg_weight=0.3,
)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chatterbook-0.1.0.tar.gz (222.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chatterbook-0.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file chatterbook-0.1.0.tar.gz.

File metadata

  • Download URL: chatterbook-0.1.0.tar.gz
  • Upload date:
  • Size: 222.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chatterbook-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ae8ae61635e868f6de46e3b259e12cc7962f72bbe728b7e398b6fdf7eb0e7470
MD5 ecba20c58d5fcbed4be99b21e6d2f22e
BLAKE2b-256 743534b87172127200988f495291cb4a527fdfc8dc4ff9689b17807686294fec

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatterbook-0.1.0.tar.gz:

Publisher: workflow.yml on smturtle2/chatterbook

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chatterbook-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: chatterbook-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for chatterbook-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f427bc679cb440aad59dd18c1a19777a6b87be0143c35f99f14c769f1f562000
MD5 2c6fbe56077bc01976ae8757c2250a06
BLAKE2b-256 94fa026867fb63bf67b7b1fb402e1e396e2b7307e378e0bdaeb0ed6d95665fe8

See more details on using hashes here.

Provenance

The following attestation bundles were made for chatterbook-0.1.0-py3-none-any.whl:

Publisher: workflow.yml on smturtle2/chatterbook

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page