Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!nrl-cmf!ames!umd5!uflorida!gatech!purdue!decwrl!hplabs!hpda!hp-sde!hpcea!hpcilzb!cnc
From: cnc@hpcilzb.HP.COM (Chris Christensen)
Newsgroups: comp.sys.mac.programmer
Subject: reading snd format 2 resources
Message-ID: <730025@hpcilzb.HP.COM>
Date: 9 May 88 20:33:28 GMT
Organization: HP Design Tech Center - Santa Clara, CA
Lines: 25

I have been trying to decipher some of the information in Inside
Macintosh volume 5 on the new sound manager. In particular, I want
to let my programs play snd (format 2) resources that are available
in Hypercard Stacks.

As I understand it, these resource can only be played with the
digitized sound synthesizer (resource 'snth' 5) and usually will
contain no notes.

So I open the synthesizer, send the 'snd' as a sound command and then
a series of note commands.

One problem I am having is that the sound command says that you need
to pass a pointer to a sound.

	To the snd resource?
	To the sound header in the snd resource?
	To the sound data in the snd resource?

Do I need to massage the data in the snd itself?

I would appreciate any help and or code samples that do this. Code in LSC
would be a real treat.

Chris Christensen
because of Hypercard