Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!ut-emx!ccwf.cc.utexas.edu From: ifar355@ccwf.cc.utexas.edu (David H. Huang) Newsgroups: comp.sys.apple2 Subject: Re: Playing a sound Message-ID: <42564@ut-emx.uucp> Date: 15 Jan 91 17:17:42 GMT References: <9101150209.AA29749@apple.com> Sender: news@ut-emx.uucp Reply-To: ifar355@ccwf.cc.utexas.edu (David H. Huang) Organization: The University of Texas at Austin Lines: 34 In article <9101150209.AA29749@apple.com> PYC121@URIACC.URI.EDU (Andy Kress) writes: > > The other day I was in a local computer store and they had an Amiga 3000. > Well the guy using it double clicked on a file and about 5 minutes of > a digitized orcastra piece came from the speakers. We looked at the file > and it was over 2 megs long. Anyway, it accomplished this by reading from > the drive (harddrive) while playing the sound at the same time. What I > want to know is if this is possible on the GS? Say I load up the DOC and > play the 64k, can the next 64k be loaded in in time to play continuously? > Im not a programer so this is all hope and speculation. Any comments or > ideas? > > Andy Kress > PYC121 at URIACC > > Apple II: The power to take over the world! Now this is an idea that I've been thinking of a long time! However, I never got around to actually doing anything, especially since I don't have a hard drive yet. Something like this would be useful to those people with limited memory (load that k00l 2 Meg soundfile on your 256K machine :-) I think it could be done, since I know that disk operations don't interfere with the sound being played (at least not noticably) if you set the buffer size to be something large (I think 16K or more will do it). The only problem that I can think of is whether a 3.5" disk will be fast enough to load the sound in time, or will a hard drive be necessary. I'll write a little program to test this out sometime soon... -- David Huang | Internet: ifar355@ccwf.cc.utexas.edu | "My ganglion is stuck in UUCP: ...!ut-emx!ccwf.cc.utexas.edu!ifar355 | a piece of chewing gum!" America Online: DrWho29 |