#sam #bindings #tts #values #speech #text #build

libsam-rs

safe/sys bindings for SAM text to speech

2 unstable releases

0.2.0 Sep 11, 2023
0.1.0 Sep 11, 2023

#948 in Audio

37 downloads per month

Unlicense

94KB
2K SLoC

C 2K SLoC // 0.3% comments Rust 84 SLoC // 0.1% comments

libSAM-rs sys/safe bindings for Software Automatic Mouth this runs using my fork of SAM which provides utility functions for setting Tts values and a utility function for rendering messages (they have to be formatted) this does build SAM for your target arch also and gets statically linked

If you have not heard of SAM it was used by the game FAITH: The Unholy Trinity due to having 4 values it can be really easy to use if you just randomize the values by 32-64

Dependencies

~0–2MB
~40K SLoC