[gmpi] Re: Topic 6: Time representation

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

On Wed, 30 Apr 2003 RonKuper@xxxxxxxxxxxx wrote:

> >>>
> calculate (musical time elapsed from now to next tempo change or end of
> current buffer, whichever is sooner)
> ...
>  subtract musical time elapsed in this calculation from element's
> remaining delta
> <<<

> This algorithm will suffer some roundoff error, potentially losing or
> gaining a tick on every audio processing frame.

I accept that it will have rounding error. I do not accept that it is
likely to be as great as a tick per frame if you're using a float
representation of musical time internally).

> If you tell me that 1 tick
> of error doesn't count, I'll gladly forward every bug report from our
> customers that complain when their hear a "comb filter" effect between
> rendered soft synth tracks and their live counterparts. ;-)

Was this the problem you ran in to on P5?

> OK, seriously, I'm trying to understand how to actually implement a plugin
> this way.  I need to stew on it for a few minutes.

I have some code here I can dig out (from DR-008's onboard pattern
sequencer... it's fairly primitve and crappy but it basically works).

> But then again, this discussion is about *requirements*.

And you're asking a bunch of coders? <grin>

> Does GMPI require musical time conversion anywhere on the time line?  If not 
> in version 1,
> maybe in some later version.

Probably, yes.

> If in some later version, why not in version
> 1, so Ron and Todor can shut up?<g>

Perhaps because it strikes me as the kind of problem that's difficult to
solve in a way that will keep every host vendor happy.

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: