[gmpi] Re: Topic 6: Time representation

  • From: Mike Berry <mberry@xxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Wed, 30 Apr 2003 18:52:40 -0600

The problem with floating point time solutions is that they only appear to be real numbers. In actuality, they are rounding just like the intergers are. They are simply doing it in a way that is much harder to predict intuitively. Using a sufficiently resolved integer quanta saves tremendous headaches over using doubles. For one thing, you can guarantee that every sample boundary has an integer that exactly represents it. You cannot do this with floats.
--
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: