Crates.io | google_speech |
lib.rs | google_speech |
version | 0.1.0 |
source | src |
created_at | 2021-06-27 15:52:44.069305 |
updated_at | 2021-06-27 15:52:44.069305 |
description | Rust bindings to google_speech python module |
homepage | |
repository | https://github.com/uttarayan21/google_speech_rs |
max_upload_size | |
id | 415454 |
size | 8,528 |
rust bindings for the python module google_speech.
Check desbma/google_speech for installation instructions (You need the python module to make this crate work).
TL;DR
pip install google_speech
Then install sox and mp3 dependencies for sox
For archlinux
sudo pacman -S sox libmad libid3tag twolame
Only has Speech
.
SpeechSegment
not implemented.
use google_speech::{Speech,Lang};
let hello = Speech::new("Hello, World", Lang::en_us).unwrap();
hello.play().unwrap();