[gmpi] Re: New Reqs 3.8 - Events

>On Mon, Dec 22, 2003 at 09:48:48PM -0500, Paul Davis wrote:
>> >Unless a single plugin subscribes to multiple tempo maps, the tempo map can
>> >be implied, no?  And I think that allowing a plugin to belong to multiple 
>> >tempo maps is a complication we can live without. :)
>> 
>> yes, but a plugin could switch tempo maps, so it cannot be assumed
>> constant. i think that any call by the plugin (or host) to convert
>> between sample and musical time must explicitly include a tempo map
>> (ptr to).
>
>I'd think that tempo-map assignment was higher than a plugin.  The plugin is
>part of a tempo map.  It doesn't know anything about tempo maps, it's just
>something that is.  The host can switch it's tempo map, but the plugin would
>not spontaneously change itself.
>
>Do you have a specific case in mind?

lots. ardour has potential support for multiple tempo maps, and i've
had many requests from people who compose and work with both avant
garde contemporary music as well as some musical traditions outside of
the western classical tradition. 

i'm not saying that a plugin owns a tempo map, although one could
imagine such a thing. what i mean is that we should not design
something in which a plugin operates as if there is one global tempo
map: there is the tempo map with which it is associated, and that's
all it knows. the difference is subtle, but i think it has important
ramifications. 

for example, something that could happen is that we might end up with
a call in the GMPI like:

    convert_sample_time_to_musical_time (sample_time, musical_time*);

note that the way this is written provides no context for the
conversion. just the small addition of a GMPI_Plugin* to the argument
list would address that (as an example of one solution).

--p


            

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