Guest User

Untitled

a guest
Mar 23rd, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. tooloud() {
  2. messages=( "beep beep" "lower voice" "a bit to loud" "the puppies are sleeping" "you are waking up the kittens" "hello hello")
  3. voices=( "Alex" "Daniel" "Serena" "Tessa" "Veena")
  4. while true; do \
  5. soundmeter --trigger +3000 4 --action stop
  6. randomMessage=$[$RANDOM % ${#messages[@]}]
  7. randomVoice=$[$RANDOM % ${#voices[@]}]
  8. say -v ${voices[randomVoice]} ${messages[randomMessage]}
  9. done
  10. }
Add Comment
Please, Sign In to add comment