🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac
Article #30180

How do I use the SoundManager to play a free-form wave?

#30180
From: Mark Johnson
Date: Fri, 15 Jul 1988 03:19
14 lines
911 bytes
:::

What sequence of SoundManager calls do I use to set up a sampledSynth
and play data from an array of bytes at 22kHz.  Right now my code
seems to be hanging at a call to SndDoCommand with the command
bufferCmd (or more particularly, at the following call to
SndDisposeChannel).

Any assistance, in the form of working code samples or Tech Note
references would be greatly appreciated!

Thanks,

Mark Johnson
Technical Details
Message-ID: <4613@csli.STANFORD.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!ucbvax!decwrl!labrea!csli!johnson

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!pasteur!agate!ucbvax!decwrl!labrea!csli!johnson
From: johnson@csli.STANFORD.EDU (Mark Johnson)
Newsgroups: comp.sys.mac
Subject: How do I use the SoundManager to play a free-form wave?
Summary: Sample code welcomed!
Message-ID: <4613@csli.STANFORD.EDU>
Date: 15 Jul 88 03:19:40 GMT
Reply-To: johnson@csli.UUCP (Mark Johnson)
Organization: Center for the Study of Language and Information, Stanford U.
Lines: 13