🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #18206

Problems Playing 'snd ' Resources -- Need Help

#18206
From: Richard Siegel
Date: Tue, 18 Aug 1987 15:00
51 lines
2281 bytes
I recently got my hands on some really wild 'snd ' resources that 
were in a HyperCard stack. I want to make system beeps out of them
(I'm using a Mac II), but they won't work. Here's what happens:

	1. With ResEdit, copy the 'snd ' resource of my choice from the
	HyperCard stack.

	2. Paste the resource into the System file.

	3. Quit ResEdit.

The name of the resource appears on the list of sounds, but when I click
on it all I get is the simple beep.

Some more info:

	I wrote a program to loop through all open resource files
and play the 'snd ' resources contained therein. When I get to the
one from the HyperCard stack, SndPlay returns an error code of -206
(badFormat). I decompiled the resource in question and the Simple Beep from
my System file, and found that the first word of the simple beep is $0001
(the standard), while the first word from this other 'snd ' resource
is $0002. Evidently HyperCard customizes this snd resource for its own
purposes...

More: 

	MiniServant (the resource-editor-only part of Servant) has
no problem playing *any* snd resource; if I double click on 
a system beep from my system file, it plays; if I double-click on
a snd resource from this hypercard stack, it plays.

So what's going on? Can anyone help out, preferably someone who's worked with
sounds on the Mac II before? Any assistance would be appreciated...

	-Rich


R-Squared Development Systems
134 Horseshoe Drive
Williamsburg, Virginia 23185
(804) 229-2152 [After 6pm eastern time only]

Arpanet: rs4u@andrew.cmu.edu
Uucp: {your fave gateway}!seismo!andrew.cmu.edu!rs4u

Disclaimer? I don't even KNOW 'er!

"Do you wanna be a cop or a lost cause?"
    -- Sean Connery, in "The Untouchables"
Technical Details
Message-ID: <gV-6kFy00UwByl80=M@andrew.cmu.edu>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!columbia!rutgers!ucla-cs!zen!ucbvax!ANDREW.CMU.EDU!rs4u+

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!uunet!seismo!columbia!rutgers!ucla-cs!zen!ucbvax!ANDREW.CMU.EDU!rs4u+
From: rs4u+@ANDREW.CMU.EDU (Richard Siegel)
Newsgroups: comp.sys.mac
Subject: Problems Playing 'snd ' Resources -- Need Help
Message-ID: <gV-6kFy00UwByl80=M@andrew.cmu.edu>
Date: Tue, 18-Aug-87 11:00:33 EDT
Article-I.D.: andrew.gV-6kFy00UwByl80=M
Posted: Tue Aug 18 11:00:33 1987
Date-Received: Thu, 20-Aug-87 03:12:43 EDT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 51