#pico #engine #bindings #tts #source #low-level #ttspico

sys ttspico-sys

Low-level bindings to the Pico TTS engine. (builds Pico from source, includes patches for x86_64 support)

4 releases

0.1.5 Apr 15, 2020
0.1.4 Apr 14, 2020
0.1.3 Mar 28, 2020
0.1.1 Aug 30, 2019
0.1.0 Aug 30, 2019

#13 in #pico


Used in ttspico

Apache-2.0

5MB
32K SLoC

C 31K SLoC // 0.2% comments Rust 316 SLoC // 0.1% comments D 73 SLoC

ttspico-rs

Docs for ttspico

Rust bindings for Pico TTS, an open source (Apache 2.0) text-to-speech engine.

Crates in this repo

  • 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 of ttspico_sys.

Getting started

See ttspico/examples/make_wav.rs.

Platforms

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.

License

Both Pico and the Rust bindings are licensed under the Apache 2.0 license.

Dependencies