[gmpi] Re: Topic 6: Time representation

  • From: Mike Berry <mberry@xxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Tue, 29 Apr 2003 09:24:05 -0600



Musical units would probably be more appropriate, since it allows
abstraction from actual time, so 1 tick might be anything from 1 second
(very bad, low resolution) to hundreds per second. If there were 960 ticks
per second (960 ppqn @ 60 bpm), there would be 82,944,000 ticks in 24 hours.
Since the largest possible value allowed for a normal integer is over
2,000,000,000 that leaves a lot of extra ticks! Enough for over 50 days.
(Unless my calculations are wrong.)


What ever we choose must be able to represent sample accuracy at audio sample rates. A 32 bit signed int only gives 3.1 hours of range at 192 k, which is clearly insufficient. It gets very quickly worse if you have to have a tick system for 2 simultaneous rates, like video and audio.

--
Mike Berry
Adobe Systems


---------------------------------------------------------------------- Generalized Music Plugin Interface (GMPI) public discussion list Participation in this list is contingent upon your abiding by the following rules: Please stay on topic. You are responsible for your own words. Please respect your fellow subscribers. Please do not redistribute anyone else's words without their permission.

Archive: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: