4bff92ca5297
Merge.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Mon, 10 Jun 2019 12:11:04 -0400 |
parents | 4f513bcec56a (diff) 25592561dd6f (current diff) |
children | f82982006717 |
branches/tags | (none) |
files |
Changes
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/bin/cmrm Mon Jun 10 12:11:04 2019 -0400 @@ -0,0 +1,5 @@ +#!/usr/bin/env bash + +set -euo pipefail + +rm ~/.ssh/controlmaster/*
--- a/bin/say Sat Jun 08 12:07:30 2019 -0400 +++ b/bin/say Mon Jun 10 12:11:04 2019 -0400 @@ -1,3 +1,24 @@ #!/usr/bin/env bash -spd-say --volume -70 --pitch 40 --voice-type female3 --rate -10 "$@" +# PREREQS: +# +# sudo apt install festival festvox-us-slt-hts +# +# USAGE: +# +# echo "The tea is ready." | say +# say The tea is ready. + +set -euo pipefail + +function sayStdin () { + festival --batch \ + '(voice_cmu_us_slt_arctic_hts)' \ + '(tts "-" nil)' +} + +if [ "$#" -eq 0 ]; then + sayStdin +else + echo "$@" | sayStdin +fi