Added actual script.
This commit is contained in:
parent
abd085d1ed
commit
5760e74477
18
tridactyl/scripts/speak
Executable file
18
tridactyl/scripts/speak
Executable file
|
@ -0,0 +1,18 @@
|
|||
#!/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
|
||||
|
Loading…
Reference in New Issue
Block a user