3AlarmHack is a HackMaster hack that enhances alarms for Palm Computing® platform devices that use Palm OS(tm) 3.x. It provides enhanced alarm indication for any application that generates alarms:
With one small exception, 3AlarmHack does not have any effect upon the alarm dialog (the display indication of an alarm). 3AlarmHack controls the audible alarm indication, and also provides some additional indications (backlight and Tale Device). That one small exception is the full-screen dismiss button option.
Most Palm applications provide both an audible alarm indication (sound), and a visual indication (the alarm dialog, having some kind of dismiss button, and perhaps snooze and other option buttons). When an application alarms, it first makes a sound, and then puts up its alarm dialog. The dialog remains on the screen until you tap a button to make it go away.
3AlarmHack detects the playing of the alarm sound, and replaces it with the sound that you have selected. While playing the sound, it can also flash or turn on the backlight, and also flash or activate a Tale Device. In addition, 3AlarmHack can be made to repeat the selected sound for a specified number of times, at a specified repeat interval time. 3AlarmHack will continue to play the sound at the specified repeat interval time, until the repeat count is finished, or until you dismiss the application's alarm dialog (whichever comes first).
The Palm OS devices available today differ greatly from the original Pilot in many ways, and all for the better. One of the improvements is in the area of alarms. Today's devices come with a Date Book built in that can play one of seven different MIDI sounds whenever an alarm occurs, and can repeat the alarm. The original Pilot came with one alarm sound: a single monotone beep. It was not very loud, and it could not be repeated. That one single beep was all the alarm you got. Period.
Shortly after the Pilot went on sale, Wes Cherry introduced an application that pretty much solved the alarm problem: AlarmHack. This little app contained 9 additional alarm sounds, along with the ability to make the alarm repeat. It also could enlarge the small OK button on the alarm dialog to fill the entire screen, so that you could cancel the alarm just by tapping anywhere on the screen, even with the Pilot in its case. Also, AlarmHack could impart these additional alarm features to any app on the device that sounded alarms. (Date Book is not the only way to make alarms on your Palm device.)
When Palm Computing introduced the Palm III, they put the afore-mentioned alarm improvements into Date Book. Unfortunately, AlarmHack would not run on the new Palm OS 3.0 that came in the Palm III. Thus, the alarm improvements in the Palm III were only for Date Book alarms, and not for alarms generated by other applications. And even though Date Book had improved alarms, the improvements were not spectacular. The minimum repeat interval of the alarm is one minute, and the maximum number of repeats is 10 times. The Date Book alarm, even at it's most annoying setting, is only 11 single tones, spaced one minute apart.
3AlarmHack is designed to make up for these deficiencies in the alarm features provided in Palm OS 3.0, since AlarmHack is no longer available to fill that void.
3AlarmHack comes packaged in either a ZIP or a SIT archive. You should have downloaded the one that is appropriate for your desktop computer system. When you unzip or unstuff the archive file, as the case may be, you should have the following files:
Palm OS 3.0 or greater. Before you install 3AlarmHack you should ensure that your device runs Palm OS 3.0 or higher. To do so, follow these steps. If at any point your device does not behave as indicated in these instructions, then it is not running Palm OS 3.0 or higher.
If you are not sure how to install software on your device, see the User's Guide that came with your device.
HackMaster or EVPlugBase. 3AlarmHack is a HackMaster hack. You must have HackMaster (or EVPlugBase) installed in order for 3AlarmHack to work. Without HackMaster or EVPlugBase, 3AlarmHack will run, and not crash your device, but it will not do anything. HackMaster is shareware, and you can download it from DaggerWare. EVPlugBase is freeware, and can be downloaded from Tucows.
To install 3AlarmHack:
3Alarm.prc
,
3AlarmHack.prc
, and HackMaster.prc
(or
EVPlugBase.prc
). (The AlarmHack_MIDI_Sounds.pdb
file
is optional additional alarm sounds, discussed later in this manual.When you first launch 3Alarm you will see a registration dialog. If you have registered 3AlarmHack, you can enter your unlock code. Otherwise, just tap the "Not now" button. (After you have unlocked 3Alarm, the dialog will no longer appear every time you launch 3Alarm.)
3AlarmHack provides a variety of controls that govern what happens when an application sounds an alarm. You access these controls by launching the 3Alarm application. Refer to Figure 1 while reading the descriptions of the controls.
1: Monitored Application selector (for per-application alarm settings; see the Per-Application Alarm Settings section).
2: Ignore alarms Enable this checkbox to make 3AlarmHack entirely ignore alarms. In this case, any alarms will sound just as though 3AlarmHack were not installed on your device. This is especially useful when combined with the per-application alarm settings feature.
3: Test Tap this button to test your Alarm Sound and Alarm Visual settings. This does not test the Repeat settings. If you have the Ignore alarms control enabled, the Test button does not appear on the 3Alarm screen. The reason: if 3AlarmHack is going to ignore an application's alarm, then that application will control its own alarm indication, and so there is nothing to test.
19: About Tap this button to bring up the About dialog.
4: Play
Disable this checkbox to cause 3AlarmHack to produce a silent alarm.
3AlarmHack will not play any sound, but will still perform the selected Alarm
Visual indications. NOTE: If you disable the Play control, and do not have any
Alarm Visual options enabled, you will get no alarm indication.
5: Sound selector Tap this control to pop up a list of available sounds from which you may choose. See the Additional Alarm Sounds section for more details.
6: Uninterruptably With this checkbox enabled, pressing a hardware button on the device, or tapping on the screen, will not interrupt the playing of an alarm sound. This option is useful if you carry your device in a pocket or in a case, where there may be something pressing on the device's screen. The device will respond to button presses and screen taps between alarm sounds.
7: times Tap the number to pop up a list of available play counts. Each time the alarm sounds, it will play the selected number of times, each separated by about a half second.
There are a couple of devices that are capable of running 3AlarmHack and that do not have a backlight. On these devices, the backlight controls do not appear on the 3Alarm screen. As of this writing, the only such devices are the Palm IIIc, and the Pilot 1000/5000 with the 2M Upgrade.
8: Backlight Flash Enable this checkbox to cause the backlight to flash on and off while the alarm sound is playing. This control is mutually exclusive with Backlight Turn on.
9: Backlight Turn on Enable this checkbox to cause the backlight to turn on at the first occurence of an alarm. The backlight will remain on until either you turn it off, you turn off the device, or the device auto powers off. This control is mutually exclusive with Backlight Flash.
10: Tale Device Flash Enable this checkbox to cause an installed Tale Device (e.g. a TaleLight) to flash while the alarm sound is playing. You can find out more about Tale Devices at Tech Center Labs. This control is mutually exclusive with Tale Device Activate.
11: Tale Device Activate Enable this checkbox to cause an installed Tale Device (e.g. a TaleVibes) to turn on continuously while the alarm sound is playing. This control is mutually exclusive with Tale Device Flash.
12: Full-screen dismiss checkbox: If you enable this control, 3AlarmHack will expand one button on the application's alarm dialog to fill the entire screen. Normally you would select the application's "OK" button to be full-screen. This way, you can tap anywhere on the screen to dismiss the alarm dialog and cancel the alarm indication. The full-screen dismiss controls appear on the 3Alarm screen only when the application selector is set to a particular application. You cannot use the full-screen option with the Default application.
13: Full-screen dismiss button name: Enter the exact name of the button on the application's alarm dialog that you want to become full-screen. This is case sensitive; pay attention to upper and lower case letters.
14: Repeat count This is the number of times the alarm sound and visual indications will repeat, after the first indication. If you set this to zero, the alarm will still play, but will not repeat.
15 and 16: Repeat interval These controls dictate how often the alarm indication will repeat. You can set any value from 1 second to 9999 minutes.
When you make a change to any control, the Undo (17) and Apply (18) buttons appear. You have not actually changed the 3AlarmHack settings until you have tapped the Apply button. This allows you to experiment with the settings and test them, without actually changing the saved settings.
3AlarmHack can determine which application is alarming, and provide different alarm indications for each application. The alarm settings visible on the screen are for the application whose name is shown in the application selector in the upper right corner of the screen. This list of applications is referred to as the list of Monitored Applications. 3AlarmHack treats these applications specially.
When you tap the Monitored
Applications selector, the Monitored Applications list appears. When you first
install 3AlarmHack, there is already one "application" in the selector list,
called Default. The Default alarm settings are used for any application that
does not explicitly appear in the Monitored Applications list. That is,
whenever 3AlarmHack detects an alarm, it determines which application is
sounding the alarm. If that application is in the Monitored Applications list,
3AlarmHack uses those specific settings. Otherwise, it uses the Default
settings.
The last item in the list is "Edit List...". If you select this, a dialog appears that lets you add applications to the list. Refer to Figure 2.
1: Monitored Applications This list shows the names of all applications for which 3AlarmHack currently has individual alarm settings. "Default" is always in the list.
2: Add... Tap this button to pop up a list of all applications that are installed on your device and that are not already in the Monitored Applications list (see Figure 3). You tap on an application in this popup list to add it to the Monitored Applications list. When you add an application to the list, it starts with the Default alarm settings.
3: Delete
Tap on an application in the Monitored Applications list, then tap the Delete
button to delete that application from the list. You are not permitted to
delete the Default "application".
4: Done Tap this button to return the the 3Alarm main screen.
3AlarmHack gets along very well with other applications on your device, as long as you have 3AlarmHack and the other application(s) configured properly. This section gives general recommendations, as well as specific recommendations for some applications.
To detect when an application is sounding its alarm, 3AlarmHack watches for an app to play the system alarm sound. If you want 3AlarmHack to take over the alarm for a particular application, and that application has selectable alarm sounds, be sure to set the application's alarm sound to "Alarm" or "Use system alarm", or whatever other name the application's author may have given it. (If an application does not have any programmable setting for alarm sound, it is nearly certain that it does use the system alarm sound.) Here is a method you can use to ensure that the application in question is configured correctly:
3AlarmHack can interfere with other alarm and sound related hacks that you have installed on your device, and vice versa. In general, 3AlarmHack works best with other hacks whenever it appears higher in the HackMaster list than the other hacks. When you enable a hack, HackMaster places it at the top of the list. So, to get 3AlarmHack to be higher than the other hacks, disable and then re-enable 3AlarmHack.
There are some applications that do not seem to work well with 3AlarmHack. 3AlarmHack's per-application settings feature lets you tailor 3AlarmHack for best behavior with these applications.
Beginning with Palm OS 3.0, Palm devices have the ability to play simple MIDI sounds (MIDI is an industry standard sound file format). The seven different alarm sounds that the built-in Date Book can play are MIDI sounds, and are contained in a special system database that is already installed in the Palm device from the factory. It is possible, however, to replace this MIDI sound file, or to install additional ones. Indeed, quite a few replacement sound files have appeared as shareware; when you install one of them on your device, it replaces (overwrites) the standard MIDI sound database, and you get a different set of alarm sounds.
The built-in Date Book, as well as nearly all other applications that access the MIDI sound database, do not utilize all of the MIDI sound databases that may happen to be installed on the device. Instead, when they do a search for MIDI sounds, they stop when they have succeeded in finding the first MIDI sound database. This means that even if you install additional MIDI sound files on your device, these applications will give you only the sounds that are in the first MIDI sound database that they find. This is why the replacement sound files actually replace whatever MIDI sound database already exists on the device. If instead, the new MIDI sound database became the second such database on the device, the applications that use MIDI sounds might never even find it.
3AlarmHack does not have this limitation. Instead, 3AlarmHack will find all of the MIDI sound databases that are installed on the device, and give you access to every sound in all of them.
Wes Cherry's original AlarmHack had a collection of sounds that was, by all
accounts, very good. Some of them in particular seemed to make the weak
speaker in the device sound noticeably louder. Many 3AlarmHack users requested
that 3AlarmHack somehow provide the original AlarmHack sounds. This request
is fulfilled in the additional MIDI sound file
(AlarmHack_MIDI_Sounds.pdb
) that comes in the 3AlarmHack package.
If you install this file on your device, you will instantly have access to an
additional 8 alarm sounds. (NOTE: Those who have used AlarmHack may remember
that it had 9 sounds, not 8. The "Chirp" sound is not included in
AlarmHack_MIDI_Sounds.pdb
, since the Palm-provided "Bird" sound
is so very similar.) The AlarmHack_MIDI_Sounds.pdb
file does not
replace the standard alarm sounds; after you have installed it, you will have
the eight new sounds plus your original seven.
Since you now know that 3AlarmHack can use multiple MIDI sound databases, you may want to make use of that feature. But, since you also now know that nearly all add-on sound files replace (overwrite) the existing MIDI sound database, you may be wondering what it takes to actually get multiple sound databases installed on your device. The key to knowing the answer is in understanding just how PalmOS decides to overwrite an existing database when you're installing a new one.
Every database in a Palm OS device has a unique name (the key word here is "unique"). This name is determined by the creator of the database, and is generally not changeable by the user. If you are installing a new database onto your device, and it has the same name as a database already existing on your device, the database being installed overwrites the database already existing. So, the key to being able to install additional MIDI sound databases is in being able to either rename the one already existing on your device, or to change the name of the new database that you want to install.
Some very good utilities exist that permit you to manipulate databases on a Palm OS device. One of these is the freeware Z'Catalog. Here is an example, illustrating how to install an additional sound database using Z'Catalog.
Let's say that you have downloaded a sound database that contains excepts
from jazz standards like Humpty Dumpty, 'Round Midnight, and
others, and you want to be able to use these sounds in addition to the seven
that come with Palm OS. This new database is in a file named
jazzsounds.pdb
. Since this sound database is intended to replace
the one already on the Palm device, its name is "System MIDI Sounds", although
you cannot tell this by looking at the name of the PDB file. The Palm-supplied
database already on your device that contains the seven standard sounds has
this name, too.
The first thing to do is to ensure that you have a backup copy of the
Palm-supplied "System MIDI Sounds" database. If you have ever performed a
HotSync® operation on your device, you already have a copy of this database on
your desktop computer. To find it, look in the directory where your Palm
Desktop software is installed, and find the subdirectory that corresponds to
your Palm User Name. For example, my device's Palm User Name is "Roger
Chaplin", and the corresponding subdirectory is named ChapliR
. In
that directory you will find a Backup
subdirectory, and there you
will find a file named System_MIDI_Sounds.PDB
. Make a copy of
this file somewhere else.
Now, install your new jazzsounds.pdb
file, and also install
Z'Catalog while you are at it. The jazz sounds database will overwrite the
"System MIDI Sounds" database, but that's okay because you have a copy safely
tucked away.
Now that you have the new sound database and Z'Catalog installed, launch Z'Catalog. Before you will be able to use it for our purposes here, you will have to enable it to Allow Dangerous Actions (use Menu->Options->Preferences). Then, in the list of databases, find the one named "System MIDI Sounds", and tap it to highlight it. Use Menu->DB->View Info to open the database's info screen. The top line of the display shows the database name. Change the name to something different, for example "Jazz MIDI Sounds". Tap Done, and then tap Yes to apply the change.
Now that your new jazz sounds database no longer has the name "System MIDI
Sounds", you can re-install the System_MIDI_Sounds.PDB
file that
you copied to a safe location, and it will not overwrite your jazz sounds.
Finally, to test your work, launch 3Alarm and pop up the list of sounds. You will see the original seven sounds along with the new jazz sounds.
You will have to do this every time you want to install an additional MIDI
sound database. However, the AlarmHack_MIDI_Sounds.PDB
file that
comes in the 3AlarmHack package already has a name that causes it to not
overwrite the "System MIDI Sounds" database, so you can just install it
without performing these extra steps.
3AlarmHack is shareware. You can purchase it from PalmGear H.Q. or Handango. When you purchase it, you will receive by email an unlock key that you enter into 3Alarm's registration screen. Registered users are entitled to free upgrades forever, and get first priority for technical support. You can always download the latest version of 3AlarmHack from our web site: http://home.att.net/~foursquaredev/.
When ordering, please include the Pilot User Name and RegCode that appears on the registration screen. If you desire, you can copy the RegCode and paste it into a Memo Pad memo, then HotSync your device, after which the RegCode will be on your desktop computer (in the Memo Pad part of the Palm Desktop). You can then copy and paste it into the order form in your web browser. To copy the RegCode, drag your stylus across it to highlight it, then tap Menu, then select Edit->Copy.
We welcome all comments, suggestions, bug reports, praise, and criticism. Send all correspondence to Foursquare Development via email to foursquaredev@att.net. If you are reporting a bug, please be sure to include the following information:
Until you unlock 3AlarmHack with a valid unlock key, it contains two limitations:
Read carefully the following terms and conditions before using this software. Use of this software indicates your acceptance of this license agreement and warranty.
This is not free software. Subject to the terms below, you are hereby licensed to use this software for evaluation purposes without charge for a period of 30 days. if you use this software after the 30-day trial period, you must pay the purchase price of $10. See above for information on how to purchase 3AlarmHack. All purchases are final; use the trial period to your advantage.
Unlicensed use of 3AlarmHack after the 30-day evaluation period is in violation of U.S. and international copyright laws.
The laws of the State of Ohio shall govern this agreement.
THIS SOFTWARE AND THE ACCOMPANYING FILES ARE SOLD "AS IS" AND WITHOUT WARRANTIES AS TO PERFORMANCE OR MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER EXPRESSED OR IMPLIED. NO WARRANTY OF FITNESS FOR A PARTICULAR PURPOSE IS OFFERED.
You are hereby licensed to make as many copies of the evaluation version of this software and documentation as you wish; give exact copies of the original evaluation version to anyone; and distribute the evaluation version of the software and documentation in its unmodified form via electronic means. There is no charge for any of the above.
You are specifically prohibited from charging, or requesting donations, for any such copies, however made; and from distributing the software and/or documentation with other products (commercial or otherwise) without prior written permission.