7 releases

0.1.9 Dec 16, 2024
0.1.8 Dec 16, 2024
0.1.1 Oct 19, 2024
0.1.0 Sep 1, 2024

#1365 in Audio

Download history 124/week @ 2025-09-29 106/week @ 2025-10-06 195/week @ 2025-10-13 171/week @ 2025-10-20 213/week @ 2025-10-27 155/week @ 2025-11-03 232/week @ 2025-11-10 186/week @ 2025-11-17 170/week @ 2025-11-24 203/week @ 2025-12-01 173/week @ 2025-12-08 177/week @ 2025-12-15 162/week @ 2025-12-22 182/week @ 2025-12-29 301/week @ 2026-01-05 236/week @ 2026-01-12

915 downloads per month
Used in 5 crates (3 directly)

MIT license

9MB
44K SLoC

C 41K SLoC // 0.1% comments Visual Studio Project 840 SLoC C++ 743 SLoC // 0.1% comments Python 621 SLoC // 0.4% comments Rust 513 SLoC // 0.0% comments Automake 108 SLoC // 0.1% comments Vim Script 100 SLoC // 0.1% comments Visual Studio Solution 62 SLoC Shell 41 SLoC // 0.0% comments M4 14 SLoC // 0.8% comments

piper-rs

Crates

Use Piper TTS models in Rust.

Features

  • Compatibility with all Piper TTS models
  • Support for multiple languages
  • High performance with pure Rust implementation

Install

cargo add piper-rs

Examples

See examples

Models

All pretrained models available at huggingface.co/rhasspy/piper-voices

Credits

This project is inspired by sonata, originally created by mush42.

Dependencies

~2.1–5MB
~93K SLoC