🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #41973

Playing ASND resources from LSC

#41973
From: David_Anthony_Guevara
Date: Thu, 04 May 1989 23:58
26 lines
1600 bytes
I am posting this for a friend.  Please respond to his e-mail address
listed below.  Thanks for any help you can give Bob!

=============================================================================

I am the proud owner of a MacNifty Audio Digitizer.  I have had this
product for the last three or four years and have had joys and fun of
producing my own startup sounds and beep sounds.  Now, I want to get
some of these sounds to play from a Lightspeed C program I am writing
for fun.  I have a program that converts the startup sound (recorded
at 11Khz) to an ASND resource file.  I can use ResEdit to paste the
resource into the Lightspeed C program resource file, but then what?

I haven't the foggiest clue as to how to play the sound.  Does anyone
konw of a "generic" routine (in Lightspeed C) which will "open" an ASND
resource and play it at the correct sampling rate?

Are there any articles I could/should look at which explain how to play
one of these sound resources?

Thanks.
Bob Ruderman

	UUCP:		"...leadsv!laic!force!ruderman"
	Internet:	"...leadsv!laic!force!ruderman@pyramid.pyramid.com" or
			"...leadsv!laic!force!ruderman@lll-lcc.llnl.gov"
Technical Details
Message-ID: <17950@cup.portal.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!portal!cup.portal.com!David_Anthony_Guevara

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!portal!cup.portal.com!David_Anthony_Guevara
From: David_Anthony_Guevara@cup.portal.com
Newsgroups: comp.sys.mac,comp.sys.mac.programmer
Subject: Playing ASND resources from LSC
Message-ID: <17950@cup.portal.com>
Date: 4 May 89 23:58:20 GMT
Distribution: usa
Organization: The Portal System (TM)
Lines: 26