Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!psuvax1!psuvm!cunyvm!ndsuvm1!mtus5!aabenson From: AABENSON@MTUS5.BITNET Newsgroups: comp.sys.apple2 Subject: Re: Playing a sound Message-ID: <91015.153604AABENSON@MTUS5.BITNET> Date: 15 Jan 91 20:36:04 GMT References: <9101150209.AA29749@apple.com> <11079@darkstar.ucsc.edu> Organization: Computing Technology Services, Michigan Technological Univ. Lines: 20 Unknown: The DOC will only play a continuous waveform of up to 32k in length. When it finishes, you can have it just quit, start over, or start playing another waveform. I think if you were to make a "circular-queue" as you called it, you would be writing to one half of that 64k while it's playing the other half. You'll know when it's done with it's half, because you can either ask it, or have it tell you (i.e., either poll it or have it generate an interrupt). And yes, it steps through the data at different rates depending on the frequency selected, and also the resolution. By changing the resolution, you can have it use every byte, every other byte, etc.. I'm sure somebody else can explain this much better than I can. I never was very good at explaining these sorts of things? - Andrew. Internet: aabenson@balance.cs.mtu.edu or aabenson@mtu.edu