home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!wupost!waikato.ac.nz!ldo
- From: ldo@waikato.ac.nz (Lawrence D'Oliveiro, Waikato University)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: Background your Sound!
- Message-ID: <1992Dec14.175544.12781@waikato.ac.nz>
- Date: 14 Dec 92 17:55:44 +1300
- References: <1992Dec09.173722.69189@uu0570.foggybottom.com> <1g7vhfINN146@agate.berkeley.edu> <ingemar.724077533@isy> <1992Dec11.215300.2937@hobbes.kzoo.edu>
- Organization: University of Waikato, Hamilton, New Zealand
- Lines: 33
-
- In article <1992Dec11.215300.2937@hobbes.kzoo.edu>, k044477@hobbes.kzoo.edu (Jamie R. McCarthy) writes:
- > ingemar@isy.liu.se (Ingemar Ragnemalm) writes:
- >>
- >>Speaking of asynchronous sound, what are the "rules" about several channels
- >>open at once? I have tried to make two channels for sampled sounds on an
- >>LC... I get "not enough hardware".
- >
- > I've heard this from other people, but I'll personally affirm that one
- > can get two channels open on an LC. Maybe if you showed us your code?
- >
- > On my IIci, one "good-quality" channel takes about 18% of the CPU
- > time. I think it's a trifle over 30% on the LC.
-
- It also depends on what you ask the channel to do. Playing a single channel
- of MACE compressed sound takes 48% of the CPU on my LC (or so the Sound
- Manager says). I can indeed play two such channels at once, and *everything*
- else on the machine (particularly screen drawing!) slows to a c-r-a-w-l.
-
- With uncompressed sound, I have had 3 channels open at once with no problem,
- sometimes even 4. I think getting the 4th channel had something to do with
- not requesting sample-rate conversion, but it's been a while since I
- experimented with it. I remember getting that 30% figure when opening the
- first channel, but as I recall subsequent channels only increased the
- utilization by something like 18% each.
-
- I managed to fool the Sound Manager once (I must figure out how to do it
- again) and open enough channels to take the CPU utilization over 100%.
- Things sort of ran, but it wasn't a great deal of fun. :-)
-
- Lawrence D'Oliveiro fone: +64-7-856-2889
- Computer Services Dept fax: +64-7-838-4066
- University of Waikato electric mail: ldo@waikato.ac.nz
- Hamilton, New Zealand 37^ 47' 26" S, 175^ 19' 7" E, GMT+13:00
-