Path: utzoo!attcan!uunet!midway!ux1.cso.uiuc.edu!brutus.cs.uiuc.edu!wuarchive!decwrl!ucbvax!agate!riacs!shelby!csli!ramaley From: ramaley@csli.Stanford.EDU (Alan Ramaley) Newsgroups: comp.sys.mac.programmer Subject: interrupting snd resources Summary: how to have sounds in the background Keywords: sound, hackers Message-ID: <14508@csli.Stanford.EDU> Date: 19 Jul 90 05:32:24 GMT Sender: ramaley@csli.Stanford.EDU (Alan Ramaley) Organization: Center for the Study of Language and Information, Stanford U. Lines: 12 Hi folks. How can you have sounds running in the background? I'm working on a text editor with a friend, and we want it to make a clicking noise when a person is typing. We want to use a snd resource, and call sndPlay, from the sound manager, since that seems easiest. But when you call sndPlay, it rattles on until the sound finishes. I know there must be a way to say, "okay, play this resource, but if you get signal X, stop playing". Does anyone have any clues? We're using Think C 4.0, if that's important. I imagine we're being too high level about things, but we can't figure out the low-level documentation. --Alan