PocketDoan: A Meditation Timer v3.4.0

A meditation timer for the PalmOS®.
By Joseph H. Stadolnik III
Copyright © 2003-2007, All Rights Reserved
jstadolnik@hotmail.com

Table of Contents
1. Introduction
2. Feature Overview
3. What's New
4. Minimum Requirements
5. Installation
6. Terminology
7. Editing a Session
8. Starting a Session
9. Checking a Running Session
10. Pausing a Session
11. Session Preferences
12. Global Preferences
13. Multiple Sessions
14. Custom Minder Triggers
15. Hourly Chimes
16. Playing .wav Sound Files
17. Utilities (NEW)
18. Procrastination "Hacks"
19. Miscellaneous
20. Tips
21. Release History
22. Known Limitations/Issues
23. Credits
24. Contact Information
25. Mailing List
26. Legal Statement

1. Introduction

What is a doan?  In Zen practice it is the person responsible for ringing the bells at the beginning and end of a meditation.  Like a traditional doan, the PocketDoan meditation timer informs the user when to begin and end a session.  It frees one from having to keep track of time, and thus allows one to more fully engage in one's practice.  Even though doan is a Zen Buddhist term, this application has no particular tie to Zen.  PocketDoan is quite flexible and can be adapted to many styles of meditation.  It supports both single and multi-stage sessions.  Each stage can be configured with it's own unique duration and end alert.  A variety of alert types are also provided with varying degrees of discreetness (audio, visual, and vibration).  This makes the program useful for both solo and group meditations.  Additionally, PocketDoan can play .wav sound files (including voice recordings) from memory cards and flash drives.  Thus it is particularly helpful in structuring guided and mantra based meditations where voice cues are central.  Another aid is the the hourly chime feature, which can serve as a periodic "call to mindfulness" throughout the day.  Beyond meditation, PocketDoan has a wide variety of timing uses including cooking, exercise, task management, and many others.

I hope you find PocketDoan a useful tool in your practice and daily routines.

Joseph Stadolnik

2. Features

3. What's New in Version 3.4.0

4. Requirements

A device running PalmOS® version 3.0 or higher.  Devices running Windows Mobile can also run PocketDoan with the StyleTap® emulator.

5. Installation

Install the PocketDoan.prc file.

If your device does not support playing .wav sounds, PocketDoan will ask if you want to remove these built-in sounds the first time it's run.  This will save around 660Kbytes of memory.  The .wav sounds can also be removed at a later date by going to the Utilities option in the menus.

6. Terminology

Interval
: A span of time generally ranging from 3 seconds to 99 minutes in length.
Session: A full meditation.  Composed of one or more intervals (up to 10).  PocketDoan allows you to define multiple different sessions (e.g. One may practice more than one style of meditation).
Initial Delay: A short period of time to wait before starting an interval.   Generally ranging from 10 to 90 seconds.  This gives one time to prepare for the coming interval (e.g. change position, ring a bell, etc.).
Minder Alert: An alarm which triggers periodically throughout an interval.  Intended to gently bring one's attention back to meditation should one's mind stray.
Minder Trigger: A rule governing when the next minder alert will occur. (e.g. Every 10 seconds or every quarter way through an interval.)
Session Preferences: Settings which effect how only one session behaves.
Global Preferences: Settings which effect how all sessions behave.
Pause Dialog: This screen appears when a running session is paused through either a screen tap or button press.
Blocking Dialog: When a session is finished or if an interval with a blocking flag is completed, this screen will appear, prompting the user for input before continuing.

7. Editing a Session

From the starting screen select the edit button.  A number of additional buttons will appear as follows (from left to right):

Each interval takes up one line on the edit screen.  A line consist of five columns as follows (from left to right):

A session will start with the top interval and work down to the bottom one.

Entering a carriage return character will either move the cursor to the next interval or create new interval if last interval is selected.   Entering a backspace character in a empty text field will delete that interval.

Handling More Than 9 Intervals
Up to 40 intervals per session are supported.  When more than 9 intervals are entered for a session, two scroll rocker buttons will appear in the lower right hand corner of the screen.  Use these buttons to scroll to other intervals not visible (at most 9 intervals are visible at a time).  The (X of Y) indicator (also in the lower right hand corner) shows what interval the cursor is on (X) and how many intervals there are in the session (Y).  The page up/down or 5-way up/down buttons can also scroll the screen (e.g. page-up when the cursor is at the very top or page-down when the cursor is at the very bottom).

8. Starting a Session

From the starting screen (the one with both edit and start buttons at the bottom) the following actions can be taken to start a meditation session:

Also, tapping on the time at the bottom of the main screen will toggle between Now and End time.  Now mode indicates the current time, where End mode indicates the time the session will finish should it be started now.

Alternatively, there is a "Jump to Interval..." main menu item which brings up a dialog for selecting a specific interval to start the current session on.  The checkbox on this screen allows one to skip the intial delay of the selected interval if desired.  The interval can be selected with the 5-way up and down buttons.  The 5-way center press starts the selected interval.  The left 5-way button toggles the skip initial delay checkbox, and the right 5-way button cancels the dialog.

9. Checking a Running Session

When a session is running the auto-off timer may expire and power off the device.  PocketDoan will still wake up the device at the appropriate time.  However, you can peek at the progress of the current interval by pressing any of the application hard keys or 5-way navigator select button.  Pressing any of the application hard keys or 5-way select again will turn the device back off.

On non-Palm or non-OS5.0+ devices, a padlock symbol in the upper right hand corner indicates that the current interval is about to end (or a minder alert is about to occur).  When this symbol is present the hard keys are disabled (locked), pushing them will not turn off the device until the current interval (or minder) has ended. 

On the Treo 600/650 devices pressing the center 5-way navigator button will make the device sleep, but pressing it while the device is off will not wake it up (use one of the application launch keys instead).

WARNING: Using the power button to turn off the device during a running session can artificially lengthen the current interval by up to one minute.


10. Pausing a Session

When a session is running either the initial delay counter or a progress wheel will be seen.  To stop or pause a running session do the following:

A paused dialog will then appear.  The session progress will be suspended until one of the two buttons is selected.  The session continue yes/no buttons can be selected as follows:

The pause dialog also has a drop-down menu which can be accessed by tapping the title bar, menu button, or the page or 5-way up/down keys.  The following menu items are available:
Note: Pressing the home button from the pause dialog will exit PocketDoan, however the session will remain paused until PocketDoan is re-launched and manually unpaused.

11. Session Preferences

From the menu panel there is a session preferences option.  Selecting it will open a preference screen for the current session.  This screen has has the following options:

12. Global Preferences

From the menu panel there is a global preferences option.  Selecting it will open the global preference screen.  The options on this screen effect all sessions.  The options are as follows:

13. Multiple Sessions

The menu panel has the following options:

Navigating between sessions:
The settings in the global preferences are applied to every newly created session.

14. Custom Minder Triggers

PocketDoan has the ability to periodically play "minder" alerts throughout an interval.  These alerts are useful as means of reminding one to return to meditation should one's mind stray.  They are also useful when doing breath work, for example as an indication to breath out or in.  For more physial work such as yoga or tai-chi, they can serve as an indication to change position.

On the session preference screen there are two controls for configuring the minder settings.  One is the minder trigger which determines how frequently a minder alert should trigger, the other is the minder alerts, which specifies the alert to play.

Normally the minder trigger setting applies to all intervals in a given session, however a mechanism exists which allows each interval to have its own minder trigger setting.  This is accomplished by adding special text commands to an intervals text label.  The following commands are available:
Notes: Any custom minder trigger command will override the session preferences trigger setting.  The closing ']' character is optional.  Text is case insensitive (e.g. [q] and [Q] are equivalent).  Can add 's' or 'm' after X and Y variables above to explicitly specify seconds or minutes (e.g. [10s-3m]).  Seconds is the default (e.g. [10] and [10s] are equivalent).  Lastly, the 'Insert []' menu item on the edit screen provides a quick way of adding [] to an interval.

Example: Given a session which has four intervals named: "Warm-Up [s]", "Breath Work [6]", "Walk [q]", and "Long Sit [60-120]".   The [n] in the first interval indicates a minder alert should occur only at the start of the interval.  The [6] in the Breath Work interval causes the  minder alert to play every 6 seconds.  The [q] in the Walk interval causes the minder to occur every quarter way througth the interval.  Finally the [60-120] in the Long Sit interval causes a minder alert to occur randomly every 60 to 120 seconds.

15. Hourly Chimes

With the hourly chime feature, alerts can be configured to play at the start of every hour or at shorter intervals (i.e. every 30, 20, 15, 10 minutes).  This alerts are particularly helpful for meditators, as they can serve as a periodic "call to mindfulness" throughout the day.

The chime panel can be accessed via a number of ways:
The chime panel has the following controls:
The bell icon to the right of the PocketDoan's main screen serves three purposes: 1) tapping it quickly launches the chime panel, 2) tapping and holding it for 1 second toggles the chime on/off state, and 3) as the chime on/off indicator.  The bell will be surrounded by 12 dots when the hourly chime feature is enabled.

The Chime On/Off Toggle menu item can be used to quickly switch the chime on and off.  Also, entering a 't' character on the main PocketDoan screen will also toggle the chime state.

On older OS5 devices with 5-way navigation, pressing the left-right buttons will control the enable/disable buttons.  A center press will exit the screen.

On OS5 devices, the chime alerts will always occur three seconds early to avoid any conflicts with Calender/Datebook alarms.

On OS5 Treo devices, the chime volume will automatically be dampened to whisper level during phone calls.

If the device auto-offs while on the chime panel, the current setting are automatically saved and the screen is exited.

16. Playing .wav Sound Files

PocketDoan can play .wav sound files located on either memory cards or in flash memory.  This functionality allows users to have pretty much any alert sound.  When PocketDoan is launched it will first scan all /Palm/Programs/Pdoan paths for .wav files.  If the "Include /Audio in .wav file search" checkbox is checked in the global preferences, all /Audio paths will then also be scanned.  Any .wav files found will appear at the bottom of the alert lists (for the end-of-interval, start-of-session, minder, and default interval alerts).  These sounds can then be used just like the built-in ones.

The Voice Memo application available on devices with voice recording facilities generates .wav files and places them in the /Audio directory.  PocketDoan can play these recordings, making it a particularly useful tool for doing guided and mantra based meditations.  If you have a lot of voice recordings in your /Audio directory you can prevent this path from being scanned by unchecking "Include /Audio" global preferences box.

The following .wav sound formats are supported:
Sound files with names longer than 34 characters in length (including .wav extension) will not appear in PocketDoan's alert lists.  If .wav exist with the same exact names in both the /Palm/Programs/Pdoan and /Audio directories the file in /Palm/Program/Pdoan will take precedence.

If a session is started and a selected .wav file cannot be found (e.g. card removed), a default sound will be played.

17. Utilities

To access the utilities panel select the Utilities item in the main menu.  The utilities panel offers three options:

Not all options may be available (e.g. if the built-in .wav file have already been deleted or moved, options 1 and 2 will not appear).

18. Procrastination "Hacks"

I while back I did a web search for "PocketDoan" and discovered a that a number of people were using PocketDoan for doing various procrastination breaking techniques, known as "hacks".  All of these methods involve the use of a multi-stage timer, and PocketDoan being one, proves to be a good fit.   I'm a bit a procastinator myself and personally found these techniques quite useful.  Below are some links to these procrastination "hacks".
  1. Dashing
  2. Progressive Dashing
  3. (10+2)*5

19. Miscellaneous

20. Tips

21. Release History

5/10/2007
v3.4.0
Support for up to 40 intervals per session.  New utilities menu item with three options: 1) delete all built-in .wav sounds, 2) move all built-in .wav sounds to a memory card or drive, 3) create a /PDoan directory on a memory card or drive.  New Hardkey Only key mode.  New Random chime interval.  Vibration support for Treo 680, 700p, and 755p models.  Vibration support for for StyleTap® platform.  A number of minor bugfixes.
9/18/2006
v3.3.0
New custom per interval minder triggers.  New seesion loop count selector in session preferences.  New running screen background color selector to global prefererences.  Added halfway minder trigger type.  Added 2 new vibration minder alerts (they work on Tungsten, m5xx, pre-OS5 treos, and kyocera devices).  Expanded minder alert list to include all interval alerts.  Added high resolution font for initial delay countdown.  Fixed double alert at session end when last alert was long (>14 seconds).
6/17/2006
v3.2.0
New hourly chime feature with control panel.  Added two overdrive volume levels for .wav files: .wav 150% and .wav 200%.  Added new Alarm Pref volume setting.  Added key shortcuts to main screen: e=edit screen, c=chime panel, g=global prefs, j=jump-to-interval, s=session prefs, t=toggle chime on/off state.  Improved vibration alerts on Kyocera 6035. Fixed bug in "Goto to interval..." menu option on main screen.  Improved power saving on OS5 Treo and Sony devices (device stays off more).
2/28/2006
v3.1.0
Support for running on Windows Mobile devices with StyleTap® emulation (fixed sound & graphics issues).  Added  new Mu-Yü  (mokugyo) and Tingsha sounds.  Exiting pause and blocking dialogs (via home button or exit menu item) now pauses PocketDoan until it's relaunched.  Pause and blocking dialogs now have menus with items for restarting interval, skipping interval, restarting session, exiting PocketDoan, and others. Updated title text for pause and blocking dialogs.  New seconds field replaces seconds poplist in custom time dialog.  Page/5-way up & down keys pop menu on pause and blocking dialogs.  5-way right on main screen pops menu.  Color changed on session selector button to make it stand out more.  Progress wheel is now now drawn in high resolution.  Fixed sound bug effecting some (unpatched?) Treo600 devices.  Kludge vibration fix for Kyocera 6035 devices (vibration alerts work when "vibrate only" system preference is enabled).  Fix bug in display of default alert selector on global preferences screen.  Fixed temporary screen blanking which occured when minder alerts triggered.  Fixed bug where pressing 5-way center on some devices would launch session from edit screen.
12/1/2005
v3.0.1 Fixed sound capabilities detection bug effecting some 2-button Zire devices.  Fixed erratic screen on-off behavior during session runs on some OS5 devices.  Fixed incompatibility issue with RecoEcho.
11/29/2005
v3.0.0
Can now play .wav sound files from memory cards and flash drives.  Fixed sound preference overwrite bug effecting some OS5 devices.  List problems on T|X should now be fixed.
10/26/2005
v2.2.0
Added new flute, lark, bong, bong², & bong³ sounds.  Fix for 1 minute auto-off bug effecting default auto-off mode (could play alerts twice).
9/24/2005
v2.1.2
Vibration alerts are now supported on Treo 600 &  devices.  Vastly improved .wav alert sound quality on T|3, T|E2, and LifeDrive devices.  Notification alarms (for other app's) now work properly when an end-of-interval/session dialog is popped.  Increased duration on Random minder trigger a bit (now 90 to 300 seconds).
9/1/2005
v2.1.1 Added new Thunder sound. Fixed bug where changing default duration in the Global Preferences panel would cause crashes (all OS versions).  Fixed bug where changing duration of an interval would cause crashes (pre-OS4.0 only).
8/24/2005
v2.1.0
Custom time durations now have a resolution down to 15 seconds (in steps of 15 & 20 seconds).  Total session time now appears on edit screen.  Tapping the time on the main screen toggles between Now & End time.  Added vibration alert support for Treo 180/270/300 devices.  Pause and blocking dialogs now have red/green button color scheme.  If PocketDoan is mapped to one of the 4 main hardkeys, pressing it while PocketDoan is on the start screen will now start the current session or switch to the start screen if one is on the edit screen.  VibeL (long vibrate) minder alert added. Time remaining in session is now reported on pause screen rather than than time remaining in current interval.  A backspace in a row without text will now delete that row.  Added Tips & Mailing List items to menu Info pulldown.  Amplified bowl#2.  All bitmaps are now high-resolution.  Can now interrupt the playing of wave sounds from edit & preference screen with screen or button taps.
2/9/2005
v2.0.0
Multi-session support.  Two new singing bowl alerts.  Screen-on minder alert (for use with 1-min-warning trigger).  Some more colorization.  OS6 Compatible.  Tweaked low-resolution color icon.  On edit screen page up/down keys now wrap interval selection across top/bottom.  Enhanced Sony jog left-right support on main & edit screens.  Added GSI to custom duration dialog. On custom duration dialog, 5-way nav left and right adjust -5 and +5 respectively.  Custom duration dialog now inherits previous non-custom value.  Custom duration dialog on edit screen now appears a little more to the right so that the current time setting can be seen.  Line feed on edit screen now moves cursor to next line.
7/17/2004
v1.5.1
Fixed Zire21 screen blanking bug
7/10/2004
v1.5.0
New VibeS² interval alert.  New Clave minder alert.  Improved drum minder sound.  New "Loop Session" preference.  New "Warn" minder trigger type.  Streamlined hardkey modes down from 5 to 3 options.  5-way nav now can be used to peek a session.    Pause screen now reports remaining time in minutes.  Default text used on running screen for intervals which don't have an interval description.  2 Button Zire support (for use on pause dialogs).  Many other subtle improvements.  Some bug fixes.
3/2/2004
v1.4.0
Can now select a session start alert.  New "Rand" minder trigger preference (produces random intervals).  New "Fade" minder trigger preference (starts with an interval of 10 seconds and slowly increases over time).  Moved "Alert after delay" preference to minder trigger "Start" preference option.  Pause screen now reports % of interval complete and interval number.  Voice recording button on T|T series is now under the hardkey mode control.  Default interval text used on running screen if is none given.  Improved fade on a number of .wav sounds.  Fixed T|W crash bug.  Fixed an OS5 screen off bug.
2/2/2004
v1.3.0
Added new conch, faerie, & hawk .wav interval alerts.  New chime, drum, & LED minder alerts.  New custom duration option (allows any duration from 1 to 99 minutes to be set).  Enhanced power saving: Alerts now play without waking up the screen (on most OS3.5+ devices).   New non-meditation hardkey mode.   Keyboard support: Enter=start/yes/continue, Backspace=no/stop.  Boosted volume and reduced noise of .wav sounds.  Added 10 second minder duration.  Replaced bell#1 .wav sound with new bell.  Removed bell#3 .wav sound.  Adjusted note alert tones.  Bug fix: Backlight changes now work in pause & blocked dialogs.  Bug fix: hardkey presses from edit screen now pull up their respective application.
11/24/2003
v1.2.0
New .wav file alerts (chimes, 3 bells, gong, cricket, & dove) for OS5 devices with enhanced sound support.  Tweaked the Tone, Rise, and Fall alerts.  Holding the delete (trash can) button for 0.7 second or longer pops the "Clear All" dialog.  Numerous minor updates.
11/7/2003
v1.1.0
Added high resolution icons.  Added default interval duration and alert configurability to preferences screen.  hardkey disable & start only modes now effect 5-way & jog dial presses (useful for preventing accidental button presses from interrupting a session).  Fixed crash bug which could occur if PocketDoan was launched from a VSF card.  App now about 5k smaller.
10/18/2003 v1.0.0 Initial release

22. Known Limitations/Issues

23. Credits

Thanks to all the those who have reported bugs and made feature requests.  PocketDoan wouldn't be what it is today without this help.  A special thanks goes out to David Aiken for his extensive beta testing and ideas.

24. Contact

Direct feedback (suggestions, impressions, bugs, etc.) to jstadolnik@hotmail.com.  If you enjoy this application I'd love to hear from you.

25. Mailing List

If you would like to receive a notification whenever a new version of PocketDoan is released send an email to jstadolnik@hotmail.com.   I'll add your address to the PocketDoan Announcement Mailing list.  All email addresses received will be kept strictly confidential.

26. Legal Statement

PocketDoan comes with no warranty of any kind.  As such I cannot be held liable for any data loss or damage to a system resulting from the use of this software.

PocketDoan is freeware and may not be sold for any monetary value.  This software may be freely distributed, however this documentation must always be included with the distribution.  Additionally, neither the application or documentation can be modified in any way.

Back To Table of Contents