maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Interval or exercise timer for a returning user... (https://talk.maemo.org/showthread.php?t=86902)

stushez 2012-09-18 09:12

Interval or exercise timer for a returning user...
 
Hi all, it’s been a while since I was here - I've been using a Galaxy SII for about a year now. Unfortunately its currently with the insurance company and will be either repaired or replaced due to "Moisture damage".

I have to say its more responsive and better supported than my n900 but my n900 is still going strong three years after I bought it and has had much rougher treatment than the Samsung (2 new screens and a USB repair) in its lifetime.

Moving back to my old phone was an experience; I'd forgotten half of the things I needed to do to operate it! I'm also missing a few apps that I've become completely dependent on over the last year.

Does anyone know of a timer app that will do intervals for circuit training, boxing etc? I have one called impetus on my SII. I need something that I can set a first interval, say 3 mins, followed by a second interval, say 30 secs, and then loop it 10 times. The app would then play a sound (bell usually) at the end of each interval. So you have work/rest/work/etc all programmed in.

Any help or pointers appreciated - I have googled and searched this forum but all I found was a post where something was done in code - considering I can hardly remember how to use my n900's basic features this is probably beyond me without a real idiot proof, step by step explanation.

Thanks, Stu.

caveman 2012-09-18 11:27

Re: Interval or exercise timer for a returning user...
 
take a look at Time Workshop

kojacker 2012-09-18 11:39

Re: Interval or exercise timer for a returning user...
 
If you can't find an app that suits, jabawok has a great simple solution from this thread you could modify to fit :)

Quote:

Originally Posted by jabawok (Post 795372)
Paste this one-liner into xterm:
Code:

SOUNDFILE="/usr/share/sounds/game-chess_illegal_move.wav" ; while true ; do aplay $SOUNDFILE; sleep 50; aplay $SOUNDFILE; sleep 10 ; done
Obviously edit times etc as required.


stushez 2012-09-18 12:06

Re: Interval or exercise timer for a returning user...
 
Thanks both, I'll take a look.

Any other suggestions from the community?

Stu.

ConsiderThis 2013-01-15 12:33

Re: Interval or exercise timer for a returning user...
 
I know the thread is a little old, but perhaps some are interested in a similar solution. The problem with aplay is, that you won't hear the notification when you are listen to music during your training.

So my solution is to use

Code:

while true ; do amixer sset 'Master',0 20000; sleep 50; amixer sset 'Master',0 10000; sleep 10 ; done
while listen to music. This will notificate you by turning down the volume for 10 seconds when one minute is over. Change the times and the volume as you like.


Cheers


All times are GMT. The time now is 21:12.

vBulletin® Version 3.8.8