Inspired by this, but wanted to have more control over exercise duration and rests between exercises.
Requires the installation of sox with:
brew install soxwhich is used to generate signal tones for exercise starts and finishes.
$ ./interval_exercise.sh exercise_time rest_timeFor 30 second exercises and 10 seconds between exercises:
$ ./interval_exercise.sh 30 10Editing exercises involves updating the exercises array in the file itself:
exercises= ( \
"Jumping jacks" \
"Wall sit" \
...
"Planks" \
)