Skip to content

uttarayan21/google_speech_rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Google Speech Rust Bindings

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.

Example:

use google_speech::{Speech,Lang};
let hello = Speech::new("Hello, World", Lang::en_us).unwrap();
hello.play().unwrap();