Practical overview
When it fits
Use Crystal when building a modular TTS engine and you want SSML between processing stages, or XML configuration to choose among implemented modules and algorithms.
Who it is for
- Developers implementing or integrating text-to-speech algorithms.
- Teams building configurable synthesis engines with interchangeable modules.
Documented uses
- Convert SSML documents into internal structures for TTS module processing.
- Implement language- or dialect-specific synthesis modules against shared interfaces.
- Select replaceable TTS modules through XML configuration and dynamic libraries.
Requirements & limits
The repository is public C++ source licensed under Apache-2.0.
- Crystal includes SSML traversal into internal structures, reducing the need for custom SSML parsing in module implementations.
- Language coverage depends on implementing the corresponding TTS modules; no particular additional language is established.
- The repository documents dynamic library loading on Windows (.dll) and Linux (.so).
- XML configuration selects modules for the framework’s text parser and synthesizer.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Implement an SSML-processing module for Crystal
Use Crystal’s SSML traversal and base-module interfaces to implement an algorithm without handling SSML parsing directly.
Before you start
- A C++ implementation using Crystal’s framework.
- An algorithm for a module in the
cst::tts::base::*namespace.
Steps
Use
cst::xml::CSSMLTraversal(xml/ssml_traversal) to convert an SSML document into Crystal’s internal data structure.Implement the module algorithm by overriding the relevant functions that operate on those internal data structures.
Expected outcome
The module algorithm can process Crystal’s internal representation of SSML without implementing the complex SSML parsing procedure itself.
Guide limitations
- The source does not specify how to build, execute, or test the module.
- The source describes dynamic-library compilation and loading, but does not document the steps for doing either.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 29 November 2026
- Original website title
- thuhcsi/Crystal · Official homepage title · retained in its source language

