Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!sdd.hp.com!spool.mu.edu!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!news.funet.fi!funic!santra!hila.hut.fi!jmunkki From: jmunkki@hila.hut.fi (Juri Munkki) Newsgroups: comp.sys.mac.programmer Subject: Re: Sound Manager Message-ID: <1991Mar31.004007.26052@santra.uucp> Date: 31 Mar 91 00:40:07 GMT References: <1991Mar30.160749.28551@ecmwf.co.uk> Sender: news@santra.uucp (Cnews - USENET news system) Reply-To: jmunkki@hila.hut.fi (Juri Munkki) Organization: Helsinki University of Technology, FINLAND Lines: 34 mab@ecmwf.co.uk (Baudouin Raoult) writes: > I try to use the Sound Manager to play sounds sampled with >MacRecorder. What I want is to play a *big* sound that does not fit in >memory. I want to read my sound file in several parts and send the data >to a sound command (using SoundCmd). With system 6.07, you could just call SndStartFilePlay the way that it is documented in Inside Macintosh VI. The sample source code given their plays a 'snd ' resource from a file. Since you said you are using 6.03, you could use bufferCmd and continueCmd, but IM-VI says that a MacSE is not guaranteed to produce continuous sound without the click, if you use these commands. You could also take the less compatible route and find the old version of technical note 19. This note explains how to play sounds without a click. This method can be applied to playing from disk, if you just take a little time to think about it. Of course this method could break any minute, although it hasn't, so far. I recommend upgrading to 6.07 and trying to find a copy of IM-VI. I guess the same information might be available in the MACE developer package that at least used to be available from APDA. At least it should have some kind of documentation for MACE, which should be another way to achieve what you are trying to do. >Does anyone know how to do it ? Yes. ____________________________________________________________________________ / Juri Munkki / Helsinki University of Technology / Wind / Project / / jmunkki@hut.fi / Computing Center Macintosh Support / Surf / STORM / ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~