Re: Audible Alert
| From: | Simon Wheeler | Date: | Thu, 10 Nov 2005 01:35:58 +0000 |
| Subject: | Re: Audible Alert | ||
| References: | 1 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6336@lists.php.net to get a copy of this message | ||
Not sure about php-gtk itself but there are some pecl modules that can help , win32_std even has a *win_play_wav( string $file[, bool $loop]) *function , I suspect ffi could do something as well ?
http://pecl.php.net/package/win32std
http://pecl.php.net/package/ffi
Regards,
Simon.
Brian Stumm wrote:
Let me preface by saying that I am well aware that this is not the most appropriate list for this question and that I have read the archives and the debates for and against using sound for alerts. I've also found the gdk:beep() function. I am writing an application to be used on industrial equipment used by manufacturing companies. When something goes wrong we need the machine to alarm which includes on screen software alarms, visible light tower (red light flashing) as well as an audible alarm. I'd like to have a way (*nix, mac, win32) to have a sound that not just "beeps" but rather is more of an ongoing DEEEEE-DOOOOOO-DEEEEEE-DOOOOO (think ambulance siren) type of sound. I know some of you must have experimented with audible alerts/alarms with php-gtk and was curious what solutions others have used in the past and how they went about cross platform compatibility for their solutions. Thanks in advance for any input/comments (that are not flaming for using audio alerts in a php-gtk app) ;) -- Brian Stumm ETS - Energy Technology Systems, Inc bstumm@energytechnologysystems.com http://energytechnologysystems.com