[gmpi] Re: Topic 6: Time representation

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



Angus F. Hewlett wrote:

On Tue, 29 Apr 2003, George Yohng wrote:



Unless anyone can come up with a good reason to the contrary, I propose
that all events be timestamped primarily with the absolute sample clock.
If special classes of events need a different kind of time stamping (song
relative, or otherwise relative to some secondary synchronization scheme),
that should be incorporated in the event type's own data structure.

Please do not specify that the clock is in the audio sample rate. Leave it up to the host to specify to the plugin what the ticks per second is. This value would be retrieved by the plugin at startup, and would be guaranteed never to change during runtime. The plugin would then be in charge of turning ticks in the host's resolution into samples or beats or whatever they needed internally.


I do agree that it should be absolute.

--
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: