Visual scope for coffee roasters
Spoken Alarms – Windows
In my coffee office the roaster is on one side of the room, my desk the other. As the office is only ten feet wide I am never very far from the roaster but if I am working on my computer my back is to the roaster.
What I wanted was artisan to speak alarms so that the system warns me of approaching events such as first crack or drop. Alarms permit triggering a program when a certain temperature is reached. In this example we will set the computer to say “First crack in five degrees” when the temperature hits 385o.
The simplest approach is to record MP3 audio files and just call the audio files from the alerts feature in artisan. This requires rerecording the file every time you want to change the message and in Windows the media player remains on the display after the audio file is played. The second approach is to use a text-to-speech program to read the alert messages out. This way changing the message was easy.
To enable the Windows computer to speak I use a program called SayStatic.exe
To speak the first crack warning the command is
SayStatic.exe First crack in five degrees.
To use with artisan first download SayStatic.exe and put it in the artisan folder.
While the artisan alarm capability can call a program, the alarm can not pass parameters. To get around this security limitation, turn the command into a DOS bat file. Use any text editor or notepad which can be found in the Accessories folder in Start.
Type the command line from above into notepad and save in the artisan as firstcrack.bat
In a file list of the folder where you installed artisan double click on firstcrack.bat. This will open the batch file and run the program. On my Win XP system it brought up a warning dialog. I selected the check box to permit this program to run always.
When the alarm is triggered it will call the batch file, the DOS CMD window will open, the line spoken then the CMD window will automatically close.
Now configure the alarm inside artisan with Conf(igure)/Alarms.
These are the three alarms I use to warn of dry end, first crack and drop. I seldom reach second crack or I would have that alarm also.
Download SayStatic.exe and my three bat files
Download and unzip into the same folder as you have artisan installed and update the alarms setting in artisan like shown above.
This technique will also work on Mac and Linux but a different speaking program and batch file structure must be used. If someone would like to explain how to do this I can add it to here.