#bindings #pico #high-level #tts #engine #api-bindings #source

ttspico

High-level bindings to the Pico TTS engine. (includes patches for x86_64 support)

5 releases

0.1.5 Apr 15, 2020
0.1.4 Apr 15, 2020
0.1.3 Mar 28, 2020
0.1.2 Dec 3, 2019
0.1.1 Aug 30, 2019

#10 in #pico

Apache-2.0

5MB
32K SLoC

C 31K SLoC // 0.2% comments Rust 660 SLoC // 0.1% comments D 72 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