Rust bindings for Pico TTS, an open source (Apache 2.0) text-to-speech engine.
ttspico_sys
: Low-level (C FFI) Rust bindings to Pico.
Compiles Pico (patched for 64-bit compatibility) from source and links to it statically.ttspico
: High-level, idiomatic Rust bindings to Pico.
Built on top ofttspico_sys
.
See ttspico/examples/make_wav.rs.
Pico was originally part of Android, but it is written in portable C99 and works great on many other operating systems and platforms. A few small modifications to its source code (ttspico-sys/build/pico/lib/) were made to make it work on 64-bit platforms.
Both Pico and the Rust bindings are licensed under the Apache 2.0 license.