dotfiles/tridactyl/scripts/speak
James Patrick 8cb599fe45 updated linux tts for firefox.
Adjusted speed and voice used.
2019-11-25 12:27:41 -05:00

19 lines
297 B
Bash
Executable File

#!/bin/bash
message="$@"
case "$OSTYPE" in
darwin*)
say "$message"
;;
linux*)
mimic \
--setf duration_stretch=0.65 \
-t "$message" \
-voice 'kal16'
#-voice 'slt'
;;
*)
echo "unsupported OS"
esac