19 lines
300 B
Bash
Executable File
19 lines
300 B
Bash
Executable File
#!/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
|
|
|