Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 1.0.5 instead.
Reason given by maintainers: backend setup migrated

The Claire Speech Engine (CSE)

The Claire Speech Engine is a production-grade, backend-agnostic speech synthesis library built in Python.

Installation

pip install claire-speech-engine

To install from source for development:

git clone https://github.com/Yukariii04/Claire-Speech-Engine.git
cd Claire-Speech-Engine
pip install -e ".[dev]"

Quick Start

Backend Compatibility

Different machine learning backends have strict dependencies. The CSE framework currently supports the following backends on Python 3.12 and 3.13:

  • Kokoro: Python 3.12, 3.13
  • StyleTTS2: Python 3.12, 3.13

CLI

# List available voices across all backends
cse voices

# Interactively select your default backend and voice
cse voice

# Generate speech (uses your selected default if --voice is omitted)
cse speak --text "Hello from The Claire Speech Engine."

Python API

from cse import SpeechEngine

engine = SpeechEngine()
# Loads your saved CLI preference, or falls back to backend default
engine.load_voice()

speech = engine.speak("Synthesis is now extremely simple.")
if speech.success:
    print(f"Audio saved to: {speech.audio_path}")

Examples

We believe every feature should be easily discoverable. Check the examples/ directory for runnable scripts:

  • examples/basic.py — Simple end-to-end synthesis.
  • examples/configuration.py — How to pass custom overrides and load configurations.
  • examples/list_voices.py — Querying the local voice registry.
  • examples/generate_speech.py — Handling output files and moving them dynamically.

Architecture & Vision

Read these documents to understand the core philosophy and design of the engine:

Roadmap

The Claire Speech Engine (CSE) has officially reached v1.0.0-beta. The core framework is now feature-frozen to ensure a stable foundation.

Future development will transition to:

  1. CPE (Claire Performance Engine): Prosody, emotion, and dialogue planning.
  2. CSM (Claire Speech Model): Core acoustic ML model training.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Development

Running Tests

pytest

Running Benchmarks

pytest benchmarks/ --benchmark-only

See docs/Benchmarks/README.md for full performance targets and reports.

Download files

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

Source Distribution

claire_speech_engine-1.0.3.tar.gz (787.9 kB view details)

Uploaded Source

Built Distribution

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

claire_speech_engine-1.0.3-py3-none-any.whl (790.5 kB view details)

Uploaded Python 3

File details

Details for the file claire_speech_engine-1.0.3.tar.gz.

File metadata

  • Download URL: claire_speech_engine-1.0.3.tar.gz
  • Upload date:
  • Size: 787.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for claire_speech_engine-1.0.3.tar.gz
Algorithm Hash digest
SHA256 2a7cd4ef988dd05495d93eaaf5f9f2f2a26489a9baa6f60c57c9c533d0df0b7f
MD5 a45b0eb7fb931d11986a6c097010895d
BLAKE2b-256 fc23ce458b9b8bcd27c1c91c59d79af55340ddb482f5f08a9403d76d0662760f

See more details on using hashes here.

File details

Details for the file claire_speech_engine-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for claire_speech_engine-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a0c1162611b5802622f65bc6f95bf964f32e43a2dd11a947963bb12530415bc6
MD5 9eac7b089636c684e7f94da3bc8414f5
BLAKE2b-256 d200b60cb6a0d6595cfd233e4a346871563b559a7cf43f724a3cc152e7dc5561

See more details on using hashes here.

Release history Release notifications | RSS feed

1.0.5

2 files

1.0.4

2 files

This release

1.0.3 This release

2 files

1.0.2

2 files

1.0.1

2 files

1.0.0b1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page