Re: Audible Alert
| From: | Steph Fox | Date: | Tue, 15 Nov 2005 00:39:48 +0000 |
| Subject: | Re: Audible Alert | ||
| References: | 1 2 | Groups: | php.gtk.general |
| Request: | Send a blank email to php-gtk-general+get-6342@lists.php.net to get a copy of this message | ||
Anything w32api (what's win32_std?) can do, ffi can do cross-platform.
That's _why_ it's known as ext/dangerous.... but it's darn useful in a
clientside context.
- Steph
----- Original Message -----
From: "Simon Wheeler" <fire@firepages.com.au>
To: <bstumm@energytechnologysystems.com>
Cc: <php-gtk-general@lists.php.net>
Sent: Thursday, November 10, 2005 2:35 AM
Subject: Re: [PHP-GTK] Audible Alert
> 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
> >
> >
> >
>
>