[gmpi] Topic 6: Time representation

  • From: RonKuper@xxxxxxxxxxxx
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Tue, 29 Apr 2003 08:57:04 -0400

Is time represented as samples or "ticks" or both/neither?  How are
discontinuities in the timeline expressed?

My stake in the ground is that we need a way to represent time either in
musical units or absolute units.  The units should be chosen in such a way
to avoid rounding errors when converting from one to the other, and should
also support at least 24 hours of time range.

By way of example, SONAR uses a representation where a 64-bit structure can
represent either a floating point absolute time, or an integer musical time
in units of 960*(2^16) PPQN.  (The choice of PPQN makes conversions to a
user editable 960 PPQN efficient.)  Conversions are done via a host supplied
time converter interface.



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