use std::process::Command;
pub fn speak(string: &str) {
let _ = Command::new("espeak")
.arg("-p 30")
.arg("-s 165")
.arg("-g 3")
.arg("-ven-sc")
.arg(string)
.output()
.expect("espeak must be installed!");
}
pub fn speak_async(string: &str) {
let _ = Command::new("espeak")
.arg("-p 30")
.arg("-s 165")
.arg("-g 3")
.arg("-ven-sc")
.arg(string)
.spawn()
.expect("espeak must be installed!");
}