Skip to main content

A backend-agnostic framework for advanced speech synthesis.

Project description

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

The quickest way to see CSE in action is using the CLI or the Python API.

CLI

# List available voices
cse voices

# Generate speech
cse speak --voice claire --text "Hello from The Claire Speech Engine."

Python API

from cse import SpeechEngine

engine = SpeechEngine()
engine.load_voice("claire")

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.

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

claire_speech_engine-1.0.0b1.tar.gz (51.4 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.0b1-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file claire_speech_engine-1.0.0b1.tar.gz.

File metadata

  • Download URL: claire_speech_engine-1.0.0b1.tar.gz
  • Upload date:
  • Size: 51.4 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.0b1.tar.gz
Algorithm Hash digest
SHA256 af06f7aedf3bb29d54d4d6e529d9ce80b1060f1ec34b683ddfb4085273fe3152
MD5 3695dcc46f38ac25e6dfa9bb37ac2ab3
BLAKE2b-256 f9e3ca2c7fb0a21a287cbec1173ed998764196ee6db1bb53f8d9005aea96ca1d

See more details on using hashes here.

File details

Details for the file claire_speech_engine-1.0.0b1-py3-none-any.whl.

File metadata

File hashes

Hashes for claire_speech_engine-1.0.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 7830f88379b78c67f36dfed256063e78b81fc2cf4632920cc17b77cdbb6a0c68
MD5 3fc38394f184c3b9a7cb328ecd7a4e59
BLAKE2b-256 0c31241d4b61b1b09a767fe0f798194c949f00bd4159249a46e9238cab218cfa

See more details on using hashes here.

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