Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!samsung!dali.cs.montana.edu!uakari.primate.wisc.edu!zaphod.mps.ohio-state.edu!think.com!paperboy!hsdndev!dartvax!Eric.J.Baumgartner From: Eric.J.Baumgartner@dartmouth.edu (Eric J. Baumgartner) Newsgroups: comp.sys.mac.programmer Subject: Re: access internal clock for MIDI sequencer Message-ID: <1991May21.201004.16930@dartvax.dartmouth.edu> Date: 21 May 91 20:10:04 GMT References: <1991May20.210209.15993@ucunix.san.uc.edu> <53154@apple.Apple.COM> Sender: news@dartvax.dartmouth.edu (The News Manager) Organization: Dartmouth College, Hanover, NH Lines: 20 In article <53154@apple.Apple.COM> stevec@Apple.COM (Steve Christensen) writes: > In article <1991May20.210209.15993@ucunix.san.uc.edu> defazio@ucunix.san.uc.edu (Joseph R. DeFazio) writes: > >I would like to use pascal to build a MIDI sequencer, and need to know how > >to access the mac's internal clock with more accuracy than is possible using > >the "TickCount" Toolbox routine (which has a resolution of 1/60th of a second). > > How about using the Time Manager (Inside Mac volume 4, page 297). It will give > you 1ms resolution vs the 16ms resolution of TickCount... How about using the MIDI Manager?? It's available from APDA, although Apple doesn't talk about it much. It gives you a number of different ways to handle timing, including milliseconds, ppq and hooking into other MIDI devices or programs. (Why Apple didn't include it in System 7 and IM VI is beyond me. Anyone know?) Eric Baumgartner Interactive Media Lab Dartmouth Medical School