View Single Post
Posts: 75 | Thanked: 125 times | Joined on Nov 2008
#9
Hrm, was your volume up?
Yes it loops till you close the xterm or hit ctrl+c.

You should see something like this:
Code:
BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ SOUNDFILE="/usr/share/sounds/game-chess_illegal_move.wav" ; while true ; do aplay $SOUNDFILE; sleep 50; aplay $SOUNDFILE; sleep 10 ; done
Playing WAVE '/usr/share/sounds/game-chess_illegal_move.wav' : Signed 16 bit Little Endian, Rate 11025 Hz, Mono
Playing WAVE '/usr/share/sounds/game-chess_illegal_move.wav' : Signed 16 bit Little Endian, Rate 11025 Hz, Mono
Playing WAVE '/usr/share/sounds/game-chess_illegal_move.wav' : Signed 16 bit Little Endian, Rate 11025 Hz, Mono
It plays the chess sound, then a 50 second pause then again and then a 10 second pause etc..