[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SND resources

        Reply to:   RE>SND resources
> do some animation while the sound plays in the background.

  you need to do ASYNCHRONOUS sound play.  the best way to do this
  is to open your sound channel at startup (and leave it open) and then 
  call your SndPlay function whenever you need to.  Pass a t argument 
  to the SndPlay function as the asynch arg (the last argument i think).

-Steve Casner

Date: 5/31/1994 2:15 PM
To: Steve Casner
From: Stephen Kent Owens
I've patched together some code to play SND resources.  The problem is that
while the sound is playing, nothing else can happen.  It would be nice if
I could do some animation while the sound plays in the background.  Any clue
how to do this?

| Stephen Owens		   | "This man's the bee's knees . . . He's the
| Vanderbilt University    |  wasp's nipples.  He is, I would go so far as 
| Nashville, TN	  	   |  to say, the entire set of erogenous zones of
| owens@vuse.vanderbilt.edu|  every major flying insect of the western world."

------------------ RFC822 Header Follows ------------------
Received: by qmgate.arc.nasa.gov with SMTP;31 May 1994 14:06:53 U
Received: from brazil.cambridge.apple.com (brazil.cambridge.apple.com
[]) by eos.arc.nasa.gov (8.6.4/8.6.4) with SMTP id MAA24113 for
<casner@eos.arc.nasa.gov>; Tue, 31 May 1994 12:32:18 -0700
Received: from ministry.cambridge.apple.com by brazil.cambridge.apple.com with
SMTP (5.64/25-eef)
	id AA23722; Tue, 31 May 94 15:31:39 -0400
	for casner@eos.arc.nasa.gov
Received: by cambridge.apple.com (5.64/25-eef)
	id AA19543; Tue, 31 May 94 15:27:44 -0400
Received: from brazil.cambridge.apple.com by cambridge.apple.com with SMTP
	id AA19539; Tue, 31 May 94 15:27:36 -0400
Received: from news.cambridge.apple.com by brazil.cambridge.apple.com with SMTP
	id AA23694; Tue, 31 May 94 15:27:19 -0400
	for info-mcl@ministry.cambridge.apple.com
Received: by news.cambridge.apple.com (5.64/A/UX-3.00)
	id AA06552; Tue, 31 May 94 15:26:21 PDT
To: info-mcl@ministry.cambridge.apple.com
Newsgroups: comp.lang.lisp.mcl
From: owens@vuse.vanderbilt.edu (Stephen Kent Owens)
Subject:  SND resources
Message-Id: <1994May31.183845.21421@news.vanderbilt.edu>
Keywords: sound, snd, resource
Sender: news@news.vanderbilt.edu
Nntp-Posting-Host: lexus.vuse.vanderbilt.edu
Organization: Vanderbilt University School of Engineering, Nashville, TN, USA
Date: Tue, 31 May 1994 18:38:45 GMT
Lines: 11