[gmpi] Re: Topic 6: Time representation

  • From: Tim Hockin <thockin@xxxxxxxxxx>
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Wed, 30 Apr 2003 18:05:25 -0700 (PDT)

> NB, for the second one you could only do the Position += 
> PositionIncrement thing if tempo is constant.  Might want a 
> gmpiHost::getInstantaneousTempo( mySampleIndex )

of course, tracking tempo is required in that case..

> >I think the sample_rate * subsample_rate idea is flexible enough to answer
> >all that for all hosts, and 64 bits should still be enough for a while :)
> 
> Uh, yeah.  Never mind...  8-)
> 
> ...But isn't Mike saying that subsample rate is subsamples per 
> second, not subsamples per sample?

It doesn't REALLY matter - there is a fixed ralationship between
samples/sec, subsamples/sec and subsamples/sample.  Which one we decide is
the variable is semantics.  I see plenty of reason to keep subsamples/sample
integral, though.

Tim

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