Spaces:
Running
Running
| """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", | |
| ] | |