mechramc's picture
ChittiOS v1.0.0 β€” full app: identity + voice conversation + on-robot onboarding (vendored core + bundled voice)
549c3f0 verified
Raw
History Blame Contribute Delete
712 Bytes
"""Expression β€” Layer 2's voice and motion choreography.
The subsystem that turns Core's intent to speak into audio on the body's
speaker. ``tts`` is the text-to-speech spine: a ``TtsEngine`` seam, a
Piper-backed backend behind an optional extra, a deterministic stub for tests,
and ``speak`` β€” synthesize, resample to 16 kHz, and stream to the HAL.
"""
from chittios_core.expression.tts import (
DEFAULT_CHUNK_MS,
TARGET_SAMPLE_RATE_HZ,
PiperTtsEngine,
StubTtsEngine,
TtsEngine,
TtsUnavailableError,
speak,
)
__all__ = [
"DEFAULT_CHUNK_MS",
"TARGET_SAMPLE_RATE_HZ",
"PiperTtsEngine",
"StubTtsEngine",
"TtsEngine",
"TtsUnavailableError",
"speak",
]