Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!apple!REEKES@applelink.apple.com From: REEKES@applelink.apple.com (Jim Reekes) Newsgroups: comp.sys.mac.programmer Subject: Re: MacRecorder hacking... Message-ID: <13296@goofy.Apple.COM> Date: 2 May 91 19:55:06 GMT References: <9297@lkbreth.foretune.co.jp> <1991May1.033605.12078@athena.cs.uga.edu> Sender: usenet@Apple.COM Distribution: comp Organization: Apple Computer, Inc. Lines: 26 In article <1991May1.033605.12078@athena.cs.uga.edu>, kinsey@athena.cs.uga.edu (Kevin Kinsey) writes: > > In article <9297@lkbreth.foretune.co.jp> trebor@lkbreth.foretune.co.jp (Robert J Woodhead) writes: > >I'm working on a part-time project that, amoungst other things, needs a Mac > >to be able to determine when sounds start and stop. What I'd like to do is > >use my MacRecorder. > > > >What I am looking for is software that I can hook into my MPW program that > >let me: > > > > Initialize the Macrecorder > > Get a sample of the current input (eg: the next "byte") > > Clean up afterwards > > > >My current theory is that by just reading in samples and averaging the last > >N or so, I can get a pretty good "level" meter that will be able to determine > >the start/stop of sound bursts to within .01 second or so. > > > >Anyone know where I can get such software? Thanks. The MacRecorder driver for the new Sound Manager supports level metering. The Apple built-in driver supports VOX (voice activated levels to trigger start and stop of recording) but the MacRecorder currently doesn't. Jim Reekes E.O., Macintosh Toolbox Engineering