[gmpi] Re: Topic 6: Time representation

  • From: "Angus F. Hewlett" <amulet@xxxxxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Wed, 30 Apr 2003 09:12:12 -0400 (EDT)

On Wed, 30 Apr 2003 RonKuper@xxxxxxxxxxxx wrote:

> I think there seems to be a consensus that times should be represented in
> absolute units, with the host providing a mechanism to convert to other
> units as needed.

(or as it is able to)

> That said, what absolute format should we use:
> - Samples (64 bit)?
> - Seconds (double precision float)?
> - Something akin to "reference times" (64 bit, each unit = 100 nsec)
> - Other?

I don't like the idea of floats for this. In some ways a "reference time"
seems nice as it has a meaning independent of audio sample rate, but can
we guarantee enough precision at current and future sample rates? 1/44100
for example does not divide neatly in to nanoseconds.

Regards,
        Angus.






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