Alarm Clock, Randomizing WAV/MP3: Difference between revisions
(New page: Randomizing alarm clock v0.1 This alarm clock displays the time full-screen. It has a menu bar that appears when you move the pointer to the top third of the screen. You can set an alarm,...) |
m (Added linkage to instructions on how to install mpg321.) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
This alarm clock displays the time full-screen. It has a menu bar that appears when you move the pointer to the top third of the screen. You can set an alarm, and it plays a random WAV or MP3 file from a directory you enter. It has a snooze (press any key to snooze) with an adjustable snooze interval. |
This alarm clock displays the time full-screen. It has a menu bar that appears when you move the pointer to the top third of the screen. You can set an alarm, and it plays a random WAV or MP3 file from a directory you enter. It has a snooze (press any key to snooze) with an adjustable snooze interval. |
||
This version has to be run from the command line, and you have to edit the file to enter the sound file directories. It has been tested on build 653 and keeps the screen from blanking. It has not been tested on the power-managed builds. You have to install mpg321 to play MP3s. |
This version has to be run from the command line, and you have to edit the file to enter the sound file directories. It has been tested on build 653 and keeps the screen from blanking. It has not been tested on the power-managed builds. You have to install [[mpg321]] to play MP3s. |
||
I wrote this because I get used to alarm clocks that sound the same all the time, and they no longer wake me up. The XO is a good platform for this because it has speakers but is otherwise silent, uses no more power than an alarm clock, has battery backup, and you can read the screen without the backlight. |
I wrote this because I get used to alarm clocks that sound the same all the time, and they no longer wake me up. The XO is a good platform for this because it has speakers but is otherwise silent, uses no more power than an alarm clock, has battery backup, and you can read the screen without the backlight. |
||
$ wget http://blazer.kirenet.com/~inglem/wake.py<br> |
|||
More instructions are at the top of the file. To run:<br> |
|||
$ python wake.py<br> |
|||
Features that would be nice in the future:<br> |
Features that would be nice in the future:<br> |
||
Make it an XO package<br> |
|||
Fix it to keep power-managed builds awake<br> |
Fix it to keep power-managed builds awake (when Update.1 comes out)<br> |
||
Recursive search for sound files<br> |
|||
Be able to silence the first alarm with a handclap<br> |
Be able to silence the first alarm with a handclap<br> |
Latest revision as of 02:21, 3 March 2008
Randomizing alarm clock v0.1
This alarm clock displays the time full-screen. It has a menu bar that appears when you move the pointer to the top third of the screen. You can set an alarm, and it plays a random WAV or MP3 file from a directory you enter. It has a snooze (press any key to snooze) with an adjustable snooze interval.
This version has to be run from the command line, and you have to edit the file to enter the sound file directories. It has been tested on build 653 and keeps the screen from blanking. It has not been tested on the power-managed builds. You have to install mpg321 to play MP3s.
I wrote this because I get used to alarm clocks that sound the same all the time, and they no longer wake me up. The XO is a good platform for this because it has speakers but is otherwise silent, uses no more power than an alarm clock, has battery backup, and you can read the screen without the backlight.
$ wget http://blazer.kirenet.com/~inglem/wake.py
More instructions are at the top of the file. To run:
$ python wake.py
Features that would be nice in the future:
Make it an XO package
Fix it to keep power-managed builds awake (when Update.1 comes out)
Recursive search for sound files
Be able to silence the first alarm with a handclap