diff --git a/projekt-seven.sh b/projekt-seven.sh new file mode 100755 index 0000000..9ccc7fc --- /dev/null +++ b/projekt-seven.sh @@ -0,0 +1,9 @@ +#!/bin/sh + +VOICES=$(say -v '?' | cut -d' ' -f1) +while true; do + VOICE=$(echo "$VOICES" | perl -e 'srand; rand($.) < 1 && ($line = $_) while <>; print $line;') + echo "$VOICE" + say -v "$VOICE" project seven + sleep 0.3 +done