[gmpi] Re: Topic 6: Time representation

On Wed, 30 Apr 2003 RonKuper@xxxxxxxxxxxx wrote:

> I want to be able to write an arpeggiator plugin.  When a note comes in, I
> want to trigger a series of notes to be played in the future, at specific
> musical times.  I want to do this by keeping an internal queue of notes to
> be played in the future, so I can render them when they come due.

Sure... so you calculate where you think they should be based on your
current knowledge of the future, and if in the mean time you get tempo
events, you recalculate your assumptions. If the host is slaved to an
external source (hardware, for example), it cannot do the
musical<->audiotime conversion for certain at the time it receives the
initial note-event, even with knowledge of the tempo map.

Sure, this is something of an audiotime (or absolute-time,
realtime)-centric model, but I feel that musical time is so elastic
(and potentially beyond the host's control) that this is probably for the
best.

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: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: