[comp.sys.amiga] Beep

trantow@csd4.milw.wisc.edu (Jerry J Trantow) (03/22/89)

Put Line Eaters on the endangered species list.

There have been some messages asking for a easy method for changing the
sound for displaybeep().  I would like to propose that programmers
start implementing tooltypes of BEEP_WARN or BEEP_ERROR.  In the near
term each program could handle the beep itself, or in the long run perhaps
each program could send a message (AREXX?) that would play the desired
sound.  I think it is highly desirable to have the potential of unique 
sounds for each program, and I think the tooltypes array is the way to 
do it.   I have implemented this in one of my programs, and intend to 
add it to other programs I write.  I also added a BEEP_START that plays
when the program begins.  Imagine this:

BEEP_START=dh0:sound/piano_scale
BEEP_WARN=dh0:sound/warn
BEEP_ERROR=dh0:sound/SamKinison

While I'm throwing out ideas, I think we need a list of ToolTypes that
can be implemented.  I am trying out the following ideas for customizing
programs.  I think these settings belong in the icon, and I think the 
way excellence~ and other programs store settings in a special file is 
lame!

Try these

IFF_BACK=dh0:paint/mountains   ; IFF picture to display in backdrop window
BACK_PAT=dh0:patterns/bricks   ; pattern to fill in backdrop

POINTER_NORMAL=dh1:sprite/arrow ; normal pointer
POINTER_WAIT=dh1:sprite/clock   ; busy pointer
POINTER_SELECT=dh1:sprite/target ; select pointer

I hope you get the idea

_____________________________________________________________________________
Jerry J. Trantow          | When wealth is lost,
1560 A. East Irving Place | nothing is lost,
Milwaukee, Wi 53202-1460  | When character is lost,
(414) 289-0503            | All is lost.
_____________________________________________________________________________