Path: utzoo!attcan!uunet!dino!ux1.cso.uiuc.edu!tank!msuinfo!cpsin2!gurney From: gurney@cpsin2.uucp (Eddy J Gurney) Newsgroups: comp.sys.mac.programmer Subject: Re: Sound and other tidbits Keywords: Sound Manager Message-ID: <1990May31.235832.13462@msuinfo.cl.msu.edu> Date: 31 May 90 23:58:32 GMT References: <9972@hydra.gatech.EDU> Sender: news@msuinfo.cl.msu.edu Organization: Michigan State University, East Lansing Lines: 43 In article <9972@hydra.gatech.EDU> FALCO,VINNIE writes: > ...As for the Sound Manager : I have not successfully been able to include > sounds into any of my programs without one of three things happening : > a) no sound at all is generated > b) the computer makes obnoxious clicks like an old Apple II > c) I hear my sound a few times, never asyncrhonously, and then > I receive a lame SYSTEM ERROR, and for some reason the > restart button *never* works, but just makes the video card insane. > > All of my code has followed Inside Macintosh guidelines as well as > the Sound Manager addendum guidelines, but to no avail. In desperation > I have tried commands at random, trying to permute every possible combination > of Sound Manager calls, but this does not work. > > Also, I am a little in the dark as to what sound hardware actually exists > in all post SE Macs. All I hear from Apple is that "The programs should not > be concerned with the sound hardware itself, but rather, deal with the > synthesizers instead, since the sound capabilites of the Macintosh are > likely to change". > > [stuff deleted] > > If everyone who knew a few tidbits about the Sound Manager, the sound > hardware, and sound in general, would contribute a couple of scraps of > knowledge here and there, I would appreciate it very much. Well, the stuff about not getting the Sound Manager to generate any sound at all sounds familiar. I can get same faint clicks and a system error every once in a while, but that's about it. How about some sample code (maybe from Mac DTS as SC-023 or whatever number they're up to?) that uses the three synthesizers documented in IM V. Personally, I'm interested in the WaveFormSynthesizer, with a simple SINE wave, and two channels of sound, so I can produce two tones simultaneously. Any comments, code (Think C :-) or ideas would be greatly appreciated. (I can't even find any source on any of the multitudes of anonmous FTP sites that have Mac stuff!) Back to trying to get my IIcx to beep... -- Eddy J. Gurney, N8FPW -- gurney@frith.egr.msu.edu OR 17158EJG@MSU.BITNET (reachable via uucp also)