[tkined] Some thoughts on the addition of sound to tkined

Mark Newnham (mark.n@usa.net)
Thu, 3 Dec 1998 14:45:30 -0700

Alan Hagge said...

>P.S. Regarding some recent comments about adding sound (when systems
become
>unreachable, for example): Have you taken a look at the SNACK set of
Tk/Tcl
>extensions (available from http://www.speech.kth.se/SNACK). I realize
that
>the entire package is extreme overkill for this application, but it
WOULD
>provide a relatively platform-independent way of adding sound effects.
Has
>anybody seen any other (simpler) ways of adding simple sounds?

There is obviously a distinction here between operating systems here and
their ability to play sounds, but here are a couple of ideas which you
might find useful (and/or amusing).

The obvious source for sounds are .wav files, and there are a miriad of
them available, both on the internet and in windows applications. It's
really a question of how to play them. I only know of the ability to
play them under Windows (you can download my teriffically useful
ncswav.dll from http://www.idcomm.com/personal/newnham/ncsoft/prod01.htm
which plays .wav files from Tcl applications) or from linux (where there
is a utility called playsound or something like that on sunsite which
you can call from inside Tcl). A swift bit of Tcl coding allows you to
select a sound and play it depending on the error received. Taking it
a litte further, I pilfered the wav files from one of my children's
windows based learn to count programs, and made tkined "speak" to me,
telling me the IP address of the host with the problem. Useful? possibly
not, but it was impressive when the IT directors were watching.......

Regards

Mark

Mark Newnham
#########################################################
Application Design Associates, Inc
6021 S.Syracuse Way, Englewood, CO, 80111, USA

Phone (303)779-8958 FAX(303)779-0949
#########################################################

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.