🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #410

Re: Using a sound in an application...

#410
From: mkrogers
Date: Mon, 03 Aug 1992 01:28
11 lines
977 bytes
In article <30JUL92.17051704@enh.nist.gov>, aoml@enh.nist.gov writes:
> I have a sound that exists in my nib section.  How can I execute that sound
> easily?  I know that a button can have a sound associated with it, but I really
> would prefer being able to execute the sound when the program deems it
> necessary, not when the user does an action.

A combination of using the Sound class and +findSoundFor: and -play
will do it.  Look them up in the Librarian.

	-mike
	mkr@cs.amherst.edu
Technical Details
Message-ID: <1992Aug2.212815.1@amherst.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!caen!nic.umass.edu!amherst!amherst.edu!mkrogers
References: <30JUL92.17051704@enh.nist.gov>

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!sdd.hp.com!caen!nic.umass.edu!amherst!amherst.edu!mkrogers
From: mkrogers@amherst.edu
Subject: Re: Using a sound in an application...
Message-ID: <1992Aug2.212815.1@amherst.edu>
Lines: 11
Sender: usenet@amhux2.amherst.edu (USENET News System)
Nntp-Posting-Host: amh.amherst.edu
Organization: Amherst College, Amherst Mass.
References: <30JUL92.17051704@enh.nist.gov>
Date: Mon, 3 Aug 1992 01:28:15 GMT