Newsgroups: comp.lang.smalltalk
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!newsfeed.pitt.edu!scramble.lm.com!news.math.psu.edu!news.cse.psu.edu!uwm.edu!newsfeed.internetmci.com!in2.uu.net!munnari.OZ.AU!metro!metro!news.cs.su.oz.au!tmx!news.tmx.com.au!news
From: Stephan Meyn <stmeyn@oose.com.au>
Subject: Re: generate a sound 'beep'
Message-ID: <31BC6B22.5C9C@oose.com.au>
Nntp-Posting-Host: 203.5.19.190
Sender: news@online.tmx.com.au (System Administrator)
Mime-Version: 1.0
X-Mailer: Mozilla 2.0 (Win95; I)
Content-Type: text/plain; charset=us-ascii
Organization: Object Orient Pty Ltd
Date: Mon, 10 Jun 1996 18:36:18 GMT
References: <31B31436.855@ensieta.fr> <4pq50n$1j8k@rtpnews.raleigh.ibm.com>
Content-Transfer-Encoding: 7bit
Lines: 17

Tony Colle wrote:
> 
> In <31B31436.855@ensieta.fr>, lezin olivier <lezinol@ensieta.fr> writes:
> >I'm looking for a way to generate a sound, How can I do?
> 
> By now you've heard from almost all of the Smalltalk flavors, so I might
> just add one more.  In IBM Smalltalk, you can use:
>        CgDisplay default bell: 50
> The argument is a relative duration from -100 to 100.  Check out the CgDisplay
> class for details.

You can have negative durations for the sound? Does it mean the beep will start before 
the message is sent? Just think of the implications of this technology, we could build 
cash dispensers that chuck out the money before I put the card in...
naaahh, I probably got it all wrong...

-- stephan
