Alarm at end of countdown?

Asked by rdubas

Is there a way to add an alarm of some sort for when the countdown timer hits zero? Even a simple beep would be fine. This is a nice little program. I had been looking for a simple countdown timer and just installed uTimer.

Thanks,
Rob

Question information

Language:
English Edit question
Status:
Solved
For:
µTimer Edit question
Assignee:
No assignee Edit question
Solved by:
rdubas
Solved:
Last query:
Last reply:
Revision history for this message
Arnaud Soyez (weboide) said :
#1

You can easily use another program to play a sound after utimer is finished:

Here are some examples:
utimer -c 5 && paplay /usr/share/sounds/gnome/default/alerts/drip.ogg
utimer -c 1 && paplay /usr/share/sounds/ubuntu/stereo/system-ready.ogg

You can replace paplay with another command line audio player. paplay comes with Pulseaudio.

Revision history for this message
rdubas (rob-robdubas) said :
#2

Great, thank you for the quick answer. I have to figure out some things with paplay. I got it to play those Ubuntu system sounds files, but for some reason not other ogg files and not mp3's. Probably was just typing something wrong. Thanks again.

Revision history for this message
Arnaud Soyez (weboide) said :
#3

paplay is a very basic player, I usually use Audiopreview (from http://audiopreview.codealpha.net ) which is another project of mine. You'll need the gstreamer bad plugins or gstreamer ffmpeg.

Revision history for this message
Arnaud Soyez (weboide) said :
#4

For example: audiopreview -e somefile.mp3

Revision history for this message
rdubas (rob-robdubas) said :
#5

Perfect! Just installed audiopreview and it works great with utimer. I already had the bad plugins. Your audiopreview looks like a nice little music player to also use on it's own outside of utimer. Thanks for pointing it out.