parkerw@lanai.cs.ucla.edu (Parker Waechter) (11/03/90)
Is there an aplication that intercepts system messages and lets you set up sounds to be played in different types of events? Ie a sound to be played when any aplication is closed, or opened, or resized or focused etc.... I think there is something or other like this on the Mac. On this same line, does the SDK have different messages sound commands other than "Beep"? Is there any possibility of someone creating a driver for the soundblaster or for MT32's or whatever to use something other than a PC speaker? Thanks much -- Parker B. Waechter UCLA Biocybernetics Lab parkerw@cs.ucla.edu 4731 Boelter Hall Los Angeles, Ca. 90024-1596
aaron@jessica.stanford.edu (Aaron Wallace) (11/03/90)
In article <1990Nov2.170511.21528@cs.ucla.edu> parkerw@lanai.cs.ucla.edu (Parker Waechter) writes: >Is there an aplication that intercepts system messages and lets you set up >sounds to be played in different types of events? Ie a sound to be played >when any aplication is closed, or opened, or resized or focused etc.... >I think there is something or other like this on the Mac. > >On this same line, does the SDK have different messages sound commands >other than "Beep"? Is there any possibility of someone creating a driver >for the soundblaster or for MT32's or whatever to use something other >than a PC speaker? It seems that for most events a "simple" system message hook would work. Does anyone, though, know how I could trap calls to "MessageBeep"? It can be done-- there was a Win 2.xx program called Zounds that replaced the beep with a variety of neat effects. I'd be more than willing to write something that traps such beeps, loads a sound file, and plays it with DSOUND.DLL if someone can point me in the right direction. For that matter, is there a generic way of "trapping" any system call? It seems ATM does something like this by installing a "stub" driver for system.drv and having it call the old system.drv... Aaron Wallace