| Crates.io | klatt |
| lib.rs | klatt |
| version | 0.1.0 |
| created_at | 2025-02-05 17:27:54.55974+00 |
| updated_at | 2025-02-05 17:27:54.55974+00 |
| description | Klatt Formant Speech Synthesis algorithms. |
| homepage | |
| repository | https://github.com/TTWNO/klatt/ |
| max_upload_size | |
| id | 1544464 |
| size | 80,970 |
klattKlatt Formant Speech Synthesis in Rust.
This is based on the original reference implementation included in the reference-implementation/ directory.
Made to be fully no_std compatible.
NOTE: This is not a text to speech engine! This is a set of algorithms designed to synthesize "speech sounding" audio samples from a variety of voice-related parameters. Text-to-speech engines can use this to generate speech, but they need to have the right kind of parameters to feed into this algorithm.
no_alloc
no_std compatible text-to-speech engine.To generate predictable results, use the StepRng struct as defined in the examples/make_sound.rs.
This allows you to test against changes to make sure it didn't break anything :)
no_std SupportThis library is no_std compatible by disabling default features, and enabling the libm feature;
this allows math operations not included in core.
We also take a dependency on rand; make sure if you use it, you disable its std-dependent features.
THe primary way to make sound—through the generate_sound function—is generic over any Rng implementation.
Feel free to write your own, or use SmallRng for use in embedded environments.