Path: utzoo!utgpu!attcan!uunet!lll-winken!ames!ncar!boulder!sunybcs!bingvaxu!leah!rpi!rpi.edu!deven From: deven@rpi.edu (Deven Corzine) Newsgroups: comp.sys.amiga Subject: Re: InstallBeep v1.1 Message-ID: Date: 24 May 89 21:22:36 GMT References: <16082@louie.udel.EDU> Sender: usenet@rpi.edu Organization: RPI Public Access Workstation Lab, Troy NY Lines: 42 In-reply-to: AXDRW%ALASKA.BITNET@cunyvm.cuny.edu's message of 23 May 89 18:04:49 GMT In article <16082@louie.udel.EDU> AXDRW%ALASKA.BITNET@cunyvm.cuny.edu (Don R. Withey) writes: Why would you want to press the wrong key 40 times in a row? Who says you'd WANT to? But it can certainly happen - especially with the maximum key repeat rate (which I use) and doing something like holding down backspace to erase a line, in a situation where typing the backspace on an empty line causes a bell... As such, NO, it's not a far-fetched situation. Anyway, to answer your question: NO. The requests are queued to the task, and the task plays as many sounds as it can (currently the audio device only allows four sounds to be played at any one time). After it has played four sounds, and there are no more available sound channels. The task will use the old DisplayBeep() function. This is reasonable behavior, at least. queueing the sounds to be played later would be unacceptable. So you would only get four sounds playing (sounding almost the same, since they where all started at about the same time), and 36 screen flashes. If your sample is small enough and one of them finishes before all of the keystrokes have been process you might get another couple of sounds. Not ideal, but quite acceptable. If you are strange enough to InstallBeep a five minute sample as your sound, then you had better be prepaired to listen to all five minutes of it... Because the only way to cancel the sound is to uninstall the beep. (InstallBeep -quit) Not likely to, but it was to make a point... Deven -- shadow@[128.113.10.2] Deven T. Corzine (518) 272-5847 shadow@[128.113.10.201] 2346 15th St. Pi-Rho America deven@rpitsmts.bitnet Troy, NY 12180-2306 <> "Simple things should be simple and complex things should be possible." - A.K.