wakeAlarm-0.04 pet and tgz
wakeAlarm-0.04 pet and tgz
Here's the wakeAlarm-0.04--this is an improved alarm clock.
The alarm trains the user to wake to a set of ringtones in a loop.
It works reliably at a lower volume than other musical alarms.
User can accept defaults or select own ringtones and timing.
After the alarm goes off there is an option to play MRLs (music, video...) so it's a lot like a regular alarm crossed with a multimedia alarm.
Simple to use. One job, one program, uses features pre-installed in OS.
Compare ohers:
-http://www.murga-linux.com/puppy/viewtopic.php?t=10580
-http://www.murga-linux.com/puppy/viewtopic.php?t=27342
-http://www.murga-linux.com/puppy/viewtopic.php?t=23883
-http://www.murga-linux.com/puppy/viewtopic.php?t=35601
-http://www.murga-linux.com/puppy/viewtopic.php?t=54073
-http://www.google.ca/search?q=alarm+clo ... -linux.com
Runs from Pschedule. As written uses xine, but can be edited to use any media player, really.
I prefer xmms2, but perhaps you like pmusic?
It also depends on gtkdialog3 for the push-button control. This is pre-installed on most Puppies.
To make it ready for other players download the tgz, extract, and edit.
To install and use as-is get the pet package.
Please note, one should not have spaces in path or filenames. You can work around the limitation, but as many Puppy scripts, it is not built to handle this.
This program has been around in one or an other version since 1994/5 under msWin3.11
The original samples are still here, though as ogg not wav files.
I originally wrote this for my late wife. [Always my love, always her lover.]
Give it a spin around the block. I'm sure you'll love it.
moB
"How now," he soliloquized at last,
withdrawing the tube, "this smoking no
longer soothes. Oh, my pipe! hard must
it go with me if thy charm be gone!
--H. Melville, Moby Dick.
The alarm trains the user to wake to a set of ringtones in a loop.
It works reliably at a lower volume than other musical alarms.
User can accept defaults or select own ringtones and timing.
After the alarm goes off there is an option to play MRLs (music, video...) so it's a lot like a regular alarm crossed with a multimedia alarm.
Simple to use. One job, one program, uses features pre-installed in OS.
Compare ohers:
-http://www.murga-linux.com/puppy/viewtopic.php?t=10580
-http://www.murga-linux.com/puppy/viewtopic.php?t=27342
-http://www.murga-linux.com/puppy/viewtopic.php?t=23883
-http://www.murga-linux.com/puppy/viewtopic.php?t=35601
-http://www.murga-linux.com/puppy/viewtopic.php?t=54073
-http://www.google.ca/search?q=alarm+clo ... -linux.com
Runs from Pschedule. As written uses xine, but can be edited to use any media player, really.
I prefer xmms2, but perhaps you like pmusic?
It also depends on gtkdialog3 for the push-button control. This is pre-installed on most Puppies.
To make it ready for other players download the tgz, extract, and edit.
To install and use as-is get the pet package.
Please note, one should not have spaces in path or filenames. You can work around the limitation, but as many Puppy scripts, it is not built to handle this.
This program has been around in one or an other version since 1994/5 under msWin3.11
The original samples are still here, though as ogg not wav files.
I originally wrote this for my late wife. [Always my love, always her lover.]
Give it a spin around the block. I'm sure you'll love it.
moB
"How now," he soliloquized at last,
withdrawing the tube, "this smoking no
longer soothes. Oh, my pipe! hard must
it go with me if thy charm be gone!
--H. Melville, Moby Dick.
- Attachments
-
- wakeAlarm.htm.gz
- Get your new versions from this page.
Less load on the JMurga server--sorry for any inconvenience. - (430 Bytes) Downloaded 731 times
Last edited by moB on Mon 07 Feb 2011, 10:13, edited 1 time in total.
A few notes may be useful.
1. Files included:
~/wakeAlarm-0.04.tips....................[Small help]
~/.wakeAlarm/alarm.pls
~/.wakeAlarm/chimes.ogg
~/.wakeAlarm/whistle.ogg
~/ringtones/ahoo.ogg
~/ringtones/bluesbros.ogg ...........[Peter Gunn theme]
~/ringtones/enigma.ogg
~/ringtones/goodmo1.ogg
~/ringtones/ysolid.ogg
~/my-applications/bin/wakeAlarm
2. You can safely remove the ringtones directory and point the alarm.pls to another set of ringtones.
If using the (prefered) frugal install for Puppy move the ringtones outside your personal savefile to your actual harddrive.
3. To access folders or directory with sp aces in name &/or path (fullpath) try symlinks. Put links to data in ringtones directory, is likely tidiest.
In terminal in /root/ringtones/:
Then in alarm.pls point to ~/ringtones/linkname.ogg, for example.
4. The MRL reference passed to wakeAlarm from Pschedule may be a playlist or single media location. For example:
It's a lot simpler than this might make it out to be.
moB
Enjoy freedom today--it's not too late.
1. Files included:
~/wakeAlarm-0.04.tips....................[Small help]
~/.wakeAlarm/alarm.pls
~/.wakeAlarm/chimes.ogg
~/.wakeAlarm/whistle.ogg
~/ringtones/ahoo.ogg
~/ringtones/bluesbros.ogg ...........[Peter Gunn theme]
~/ringtones/enigma.ogg
~/ringtones/goodmo1.ogg
~/ringtones/ysolid.ogg
~/my-applications/bin/wakeAlarm
2. You can safely remove the ringtones directory and point the alarm.pls to another set of ringtones.
If using the (prefered) frugal install for Puppy move the ringtones outside your personal savefile to your actual harddrive.
3. To access folders or directory with sp aces in name &/or path (fullpath) try symlinks. Put links to data in ringtones directory, is likely tidiest.
In terminal in /root/ringtones/:
Code: Select all
# ln "/mnt/home/Documents and Settings/source.ogg" linkname.ogg
4. The MRL reference passed to wakeAlarm from Pschedule may be a playlist or single media location. For example:
Code: Select all
wakeAlarm /root/.xine/myPlaylist.tox
It's a lot simpler than this might make it out to be.
moB
Enjoy freedom today--it's not too late.
The default media stream may be outdated/expired.
It's a link through Icecast directory: http://dir.xiph.org/listen/23883535/listen.m3u
which points to Dream Factory: http://radio.hbr1.com:19800/ambient.ogg
You can replace the old line near the top of wakeAlarm like this:
That's a link from the provider site and should work longer.
Sorry for that
It's a link through Icecast directory: http://dir.xiph.org/listen/23883535/listen.m3u
which points to Dream Factory: http://radio.hbr1.com:19800/ambient.ogg
You can replace the old line near the top of wakeAlarm like this:
Code: Select all
[ $# -gt 0 ] && UMUSIC=$1 || UMUSIC=http://radio.hbr1.com:19800/ambient.ogg
Sorry for that
Some users reported a strange effect with Pschedule and wakeAlarm.
The alarm script was loaded in multiple copies.
This is easily avoided. If you have this problem change your Pschedule task from the simple: to
It's a bit like using DoEvents? Let the Pschedule see that script is loaded.
It is better to sleep before waking, is the lesson here
moB
"Forget inspiration. Habit is more dependable. Habit will sustain you
whether you're inspired or not. Habit will help you finish and polish
your stories. Inspiration won't. Habit is persistence in practice."
~Octavia Butler
The alarm script was loaded in multiple copies.
This is easily avoided. If you have this problem change your Pschedule task from the simple:
Code: Select all
wakeAlarm
Code: Select all
sleep2;wakeAlarm
It is better to sleep before waking, is the lesson here
moB
"Forget inspiration. Habit is more dependable. Habit will sustain you
whether you're inspired or not. Habit will help you finish and polish
your stories. Inspiration won't. Habit is persistence in practice."
~Octavia Butler
New pet and tgz versions on mini-repository
Download these at a limited-access mini-repository in a cloud near you: https://sites.google.com/site/ieincp/homemoB wrote:The default media stream may be outdated/expired.
If it comes up 404, try later in day or nest day.
Hourly, daily, etc.. quotas in effect..
moB
fixed? Please confirm
Now added a patch to stop loading multiple copies.moB wrote:Some users reported a strange effect with Pschedule and wakeAlarm.
The alarm script was loaded in multiple copies.
Download from our mini-repository (google cloud).
moB
"Forget inspiration. Habit is more dependable. Habit will sustain you
whether you're inspired or not. Habit will help you finish and polish
your stories. Inspiration won't. Habit is persistence in practice."
~Octavia Butler
Very naive question. I have never used pschedule.
So one tell it to wake up a certain time and then shut the computer down and it boots the same OS as one made the scedule in?????
How does it know what OS it was using when it got scheduled?
Would it not boot the OS that is first in the chain of boot order something?
Or is the computer suppose to be on the whole night?
So one tell it to wake up a certain time and then shut the computer down and it boots the same OS as one made the scedule in?????
How does it know what OS it was using when it got scheduled?
Would it not boot the OS that is first in the chain of boot order something?
Or is the computer suppose to be on the whole night?
I use Google Search on Puppy Forum
not an ideal solution though
not an ideal solution though
wakeAlarm-0.05
Updated to fix all known bugs.
Can customize playlist in ringtones directory properly now.
Remember, they play by alphabetical order, so name your ringtones with numbers at start of names to control sequence.
New xine can find files
Let me know if there are any new bugs!
https://sites.google.com/site/ieincp/home/all
Can customize playlist in ringtones directory properly now.
Remember, they play by alphabetical order, so name your ringtones with numbers at start of names to control sequence.
New xine can find files
Let me know if there are any new bugs!
https://sites.google.com/site/ieincp/home/all
nooby,nooby wrote:Very naive question. I have never used pschedule.
So one tell it to wake up a certain time and then shut the computer down and it boots the same OS as one made the scedule in?????
no question is too naive!
Pschedule is like msWin's scheduled tasks except that I don't think it can wake your sleeping system as the ms thing can.
If you don't like to keep your box up you need no PC-based alarm clock, it is true Here, I need the heat.nooby wrote: Or is the computer suppose to be on the whole night?
Pschedule is a front-end for crond. I prefer to use cron directly, but this doesn't work well in Puppy... so use Pschedule to set crontab entries.
moB
Grin away; we'll see what turns up.
--Melville, Moby dick
Let me explain what wakeAlarm does.
All that is really running is the power supply and RTC (internal clock -- like a watch circuit, really).
For those on battery there is no power supply eating juce either.
Most of the package download size is samples. Comes in at around 450 KB. Takes seconds to download.
These can be replaced by symlinks to external data to save space in ones personal savefile, if one prefers.
It comes in pet and targz formats to make it easy to edit or use with other GNU/linux systems.
moB
Semper sursum.
...........................===****************************************************************===........................
Aside:
nooby mentioned default startup path. Usually this will lead the user to msWin.
Easily may be altered by setting "default=" enrty in boot.ini to c:\grub instead of DISC0,PARTITION0... or whatever it says.
I put an entry in menu.lst leading back to ntldr (boot.ini) in case someone intended to run it.
One could make the default setup a loop so no OS loads without user intervention.
Of course mine simply loads GNU/linux by default.
Edited for a tyop, er, typo
- 1. Looks to see that no other windows called wakeAlarm are running.
This is to prevent crond from loading multiple copies of the alarm.
2. Checks to see whether user has speciifed an MRL.
If not specified it uses the builtin music stream. This allows user to choose music or video to be played after alarm is turned off.
For example, one can enjoy the morning business report or weather, music, CD, DVD, local or remote, at one's discretion.
The option is presented to the user as an alternative to simply shutting wakeAlarm off.
3. Builds a playlist from the ringtones directory.
New list is built at each runtime making it easy to change the ringtones to suit user preference.
The idea is to use a familiar sequence of sounds to signal one from sleep. Usually I awake before hand and listen for a minute.
When I don't wake in advance a familiar sequence rouses me easily and painlessly.
Default ringtones include short low-quality samples from Enigma, Yello's 1980 "Solid Pleasure", Blues Bros. doing "Theme from Peter Gunn", Toto, Simpsons opening from "Bart's bad day", classic cartoon laugh, & Star Trek's whistle ( just before "Star date...").
Some users have changed the ringtones to bird recordings, for example.
4. Plays the ringtones loop in xine fullscreen.
Delay can be set from within the script to allow for longer or shorter ringtones and control the gap between.
5. Loads a simple GTK interface to shut down or play MRL in new xine instance.
If shutdown's selected chimes are played. It might sound familiar to some of us
All that is really running is the power supply and RTC (internal clock -- like a watch circuit, really).
For those on battery there is no power supply eating juce either.
Most of the package download size is samples. Comes in at around 450 KB. Takes seconds to download.
These can be replaced by symlinks to external data to save space in ones personal savefile, if one prefers.
It comes in pet and targz formats to make it easy to edit or use with other GNU/linux systems.
moB
Semper sursum.
...........................===****************************************************************===........................
Aside:
nooby mentioned default startup path. Usually this will lead the user to msWin.
Easily may be altered by setting "default=" enrty in boot.ini to c:\grub instead of DISC0,PARTITION0... or whatever it says.
I put an entry in menu.lst leading back to ntldr (boot.ini) in case someone intended to run it.
One could make the default setup a loop so no OS loads without user intervention.
Of course mine simply loads GNU/linux by default.
Edited for a tyop, er, typo
wakeAlarm has an update: wakeAlarm-0.06
This update addresses comments made by a few users. The coding was done about a year ago, but not announced. Oops!
wakeAlarm for Puppy is an Xine media player script.
The Xine visualizations run while sounds are played.
[To grab a screenshot press the "t" key, otherwise all you'll get with a screen-capture is a featurless box.]
There's a choice to Stop Alarm or Play Music.
You can use your own ringtones, too. FIles may be local, on cd/dvd, or web.
Use with supplied sounds or your own sounds or video files.
You may wish to hear an hour of birdsong before some J. P. Souza marches, or morning weather and news.
The info file in the update shows you how.
To play a Youtube video enclose it in triple (nested) quotes: wakeAlarm "'http...flv'"
Download the 0.5 version and optionally upgrade to 0.6 with the 4Kb script upgrade. The update does not hold the PET, just a new script and explanatory text file.
If unsure as to where to move the new script find it installed in Puppy:
or try
Shuffle playlist option added. Cleaned code up.
The command line options and use are better explained. Options do not require fiddling with the script.
Security enhancement for Puppy users explained, too (running as Spot).
wakeAlarm still depends on gtkdialog3 and Xine. You can probably rewrite it for Amarok or other players, too.
Kind regards.
wakeAlarm for Puppy is an Xine media player script.
The Xine visualizations run while sounds are played.
[To grab a screenshot press the "t" key, otherwise all you'll get with a screen-capture is a featurless box.]
There's a choice to Stop Alarm or Play Music.
You can use your own ringtones, too. FIles may be local, on cd/dvd, or web.
Use with supplied sounds or your own sounds or video files.
You may wish to hear an hour of birdsong before some J. P. Souza marches, or morning weather and news.
The info file in the update shows you how.
To play a Youtube video enclose it in triple (nested) quotes: wakeAlarm "'http...flv'"
Download the 0.5 version and optionally upgrade to 0.6 with the 4Kb script upgrade. The update does not hold the PET, just a new script and explanatory text file.
If unsure as to where to move the new script find it installed in Puppy:
Code: Select all
find ~/ -name wakeAlarm
Code: Select all
find / -iname wakealarm*
Shuffle playlist option added. Cleaned code up.
The command line options and use are better explained. Options do not require fiddling with the script.
Security enhancement for Puppy users explained, too (running as Spot).
wakeAlarm still depends on gtkdialog3 and Xine. You can probably rewrite it for Amarok or other players, too.
Kind regards.