19 lines
300 B
Plaintext
19 lines
300 B
Plaintext
|
#!/bin/bash
|
||
|
|
||
|
message="$@"
|
||
|
case "$OSTYPE" in
|
||
|
darwin*)
|
||
|
say "$message"
|
||
|
;;
|
||
|
linux*)
|
||
|
mimic \
|
||
|
--setf duration_stretch=0.5 \
|
||
|
-t "$message" \
|
||
|
-voice 'slt_hts'
|
||
|
#-voice 'kal16'
|
||
|
;;
|
||
|
*)
|
||
|
echo "unsupported OS"
|
||
|
esac
|
||
|
|