![]() |
Maemo beeper
Hello guys!
Iīm looking for an application that beeps after a given time, continuously. Letīs say that I need a beep every 1 minute, for 30 minutes. Is there anything like that? |
Re: Maemo beeper
You could probably use a crontab for that without needing any special/external programs.
|
Re: Maemo beeper
you could probably whip something up in Flash or Python really easily. Or BASH. Just sleep for sixty seconds, then beep, and loop that x times.
|
Re: Maemo beeper
Quote:
It is useful . and I wrote a simple one-liner. If mplayer is already installed, this script will work in Osso-Xterm. Code:
for i in `seq 0 30` ; do echo $i min ; mplayer -really-quiet /usr/share/sounds/camera-video-record.wav ; sleep 60 ; donebut strictly speaking , this script doesn't keep good time. (lose 0.3~0.5 sec / loop) Code:
> time mplayer /usr/share/sounds/camera-video-record.wav -really-quiet |
Re: Maemo beeper
1 Attachment(s)
I'll be shot for this one day.
Code:
#include <unistd.h> |
Re: Maemo beeper
Whoa! I appreciate all the help, guys. I will give it a try this afternoon.
and btw, I have tried eggtimer, but it does not have the option to beep every minute. Thanks! |
Re: Maemo beeper
Quote:
|
Re: Maemo beeper
Quote:
|
Re: Maemo beeper
Quote:
|
Re: Maemo beeper
Does 1 minute, see post #7.
|
Re: Maemo beeper
Quote:
|
Re: Maemo beeper
Oh, one more thing guys. I am also looking for a friendly interface for this one, since I am not the one whoīs going to use it. Something easy like pocket doan (they call it a "meditation timer") - http://www.freewarepalm.com/clock/pocketdoan.shtml
I do have garnet vm, but I would love to have something similar for maemo... |
Re: Maemo beeper
maybe someone could get this back in working order?
https://garage.maemo.org/projects/maetronome/ |
Re: Maemo beeper
Kandis (http://maemo.org/downloads/product/OS2008/kandis/) also does "noise" after some configurable amount of time.
|
Re: Maemo beeper
yes, but neither kandis norr eggtimer do automaatic repeats without human intervention...
|
Re: Maemo beeper
yep, and I donīt want it. TBH it is a little bit stupid, because if I want it to repeat, it means that I donīt wanna do any intervention. Just beep it every minute! :)
|
Re: Maemo beeper
Quote:
|
Re: Maemo beeper
Quote:
Then type: Code:
apt-get install alarmtool && \If you want it to do that forever, type: Code:
alarmtool -a -boot --recurr 1 --recurr-count -1 \Code:
alarmtool -r 1250625000There is no way to find out the cookie after you schedule the event because of this bug: https://bugs.maemo.org/show_bug.cgi?id=4935 And it would be resilient to power offs, so it could be a nasty trick to play on a fellow tablet user. |
Re: Maemo beeper
@jgombos
Maybe it is listed in: /var/lib/alarmd/alarm_queue.xml |
Re: Maemo beeper
That's pretty useful qwerty12. I had a huge number of events, many of which used the same cookie. I tried this command to clear them out gracefully:
sed -ne 's/[^>]*cookie[^>]*>\([[:digit:]]*\)<.*/\1/pg' \ /var/lib/alarmd/alarm_queue.xml | sort | uniq | \ while read i; do alarmtool -r $i; done But the /var/lib/alarmd/alarm_queue.xml file was not empty. Clearly alarmtool has issues. |
Re: Maemo beeper
It's important (if you're paranoid) to notice that there is a difference between making a loop with a sleep inside, and looking for the time, waiting for the next event. The first can accumulate errors over time.
|
Re: Maemo beeper
I'm just curious, why do you want something that beeps every minute? Are you going to be practicing some sort of routine that you get a minute for each event or something, or for some type of competition?
|
| All times are GMT. The time now is 09:34. |
vBulletin® Version 3.8.8