Files
hyperframes/packages
Miguel Ángel 995db68ad0 fix(cli): map zh to espeak-ng's cmn for Kokoro TTS synthesis (#2094)
* fix(cli): map zh to espeak-ng's cmn for Kokoro TTS synthesis

espeak-ng 1.52.0 recognizes Mandarin Chinese as the ISO 639-3 code "cmn",
not Kokoro's own voice-prefix convention "zh". `hyperframes tts --lang zh`
was forwarding "zh" straight through to kokoro_onnx.Kokoro.create(), which
failed with "language zh is not supported by espeak backend". Translate
only at the Python/espeak boundary; the public --lang value stays "zh"
since that matches Kokoro's own docs and voice-ID prefixes.

* test(cli): cover Kokoro zh language override
2026-07-09 00:55:23 -04:00
..
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00
2026-06-16 13:16:09 -04:00
2026-07-08 16:21:05 -07:00
2026-07-08 16:21:05 -07:00