2019-09-21 20:24:19 +00:00
|
|
|
#!/bin/bash
|
2019-12-11 05:52:23 +00:00
|
|
|
# -*- sh -*-
|
2019-09-21 20:24:19 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|