2019-09-21 20:24:19 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
message="$@"
|
|
|
|
case "$OSTYPE" in
|
|
|
|
darwin*)
|
|
|
|
say "$message"
|
|
|
|
;;
|
|
|
|
linux*)
|
|
|
|
mimic \
|
2019-11-25 17:27:41 +00:00
|
|
|
--setf duration_stretch=0.65 \
|
2019-09-21 20:24:19 +00:00
|
|
|
-t "$message" \
|
2019-11-25 17:27:41 +00:00
|
|
|
-voice 'kal16'
|
|
|
|
#-voice 'slt'
|
2019-09-21 20:24:19 +00:00
|
|
|
;;
|
|
|
|
*)
|
|
|
|
echo "unsupported OS"
|
|
|
|
esac
|
|
|
|
|