Our daughter wanted to
stopping at random intervals,
at which the dancing kids freeze in place
until the music resumes).
So what is a geek dad to do?
Load up a playlist of kids' music in
start playing the music,
and let the shell randomly freeze and resume the music
while true ; do sleep $(( $RANDOM % 15 + 5)) ; cmus-remote -u ; sleep 4; cmus-remote -u ; done
This does as
for some random interval between
seconds, then does as
seconds before unpausing the music.
You could do something similar with
if you prefer them.