Sound - A DisplayBeep Daemon and Preferences Editor for AmigaDOS 2.0 Copyright 1991 Sylvan Technical Arts. May be freely redistributed. All other rights reserved. Introduction Sound is a set of two programs that can replace the system's DisplayBeep flash with an audible beep or sampled sound. Components Sound is composed of two parts. The first part is named SoundPrefs is a patch to the DisplayBeep function, which is the function that causes the display to flash when some problem or other noteworthy event occurs. This patch (or daemon, as it can alternately be called) allows a simple beeping sound or a sampled sound to play instead of (or in conjunction with) the display flash. The second part is a preferences editor named Sound. It is very similar to the system preference editors which allows you to modify the parameters for the sound maker. Note: The names of these two programs may seem reversed, but they are consistant with the names of standard preference editors and the Intuition daemon (IPrefs). Adding the SoundPrefs Daemon The simplest way is to drag the icon for SoundPrefs into the WBStartup drawer. The next time the system is rebooted, the SoundPrefs daemon will be installed. To get the SoundPrefs installed without first rebooting, just double click on the icon. Alternately, the SoundPrefs program can be put in the C directory and the following line can be added to your startup sequence: SoundPrefs Adding the Sound Preferences Editor Drag the icon into the Prefs drawer, where all the other preferences editors are kept. Using the Editor Double click on the Sound icon to open up the editor. You will see a number of gadgets. The Flash Display checkbox indicates whether or not a flash should occur along with any sound. To the right of the Flash Display checkbox is a cycle button which selects between no sound, simple beep or sampled sound. If you want a sample sound, you sill needed to indicate the filename of the sound to play. You can either enter the complete path in the string gadget or hit the New Sound button to get a file requester. The Test button will cause a DisplayBeep to occur with the currently shown settings. The Cancel button exits the editor with no changes. The Use button changes the current sound setting but does not save them to to permanent storage. The changes will be lost on a reboot. The editor will then be exited. The Save button changes the current sound settings, saves them to permanent storage, and the editor exits. In addition all the standard menus and command line/project features are available. See the preference editor docs in the "Using the System Software" manual. Terminating the SoundPrefs Deamon The SoundPrefs program can be terminated by sending it a ctrl-c, by typing SoundPrefs QUIT or by double clicking on the SoundPrefs icon a second time.