Skip to content

Instantly share code, notes, and snippets.

@yfuruyama
Created October 18, 2013 03:37
Show Gist options
  • Save yfuruyama/7036139 to your computer and use it in GitHub Desktop.
Save yfuruyama/7036139 to your computer and use it in GitHub Desktop.
Practice for number in English
#!/bin/bash
interval_sec=1
say_rate=240 # words/minute
while :
do
number=$RANDOM # RANDOM is between 0 and 32767 in bash
say -r ${say_rate} ${number}
sleep ${interval_sec}
echo ${number}
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment