[gmpi] Re: Parameters / controls / GMPI event system - refreshment

  • From: thockin@xxxxxxxxxx
  • To: gmpi@xxxxxxxxxxxxx
  • Date: Tue, 29 Nov 2005 15:22:22 -0800

On Tue, Nov 29, 2005 at 02:20:20PM -0800, Chris Grigg wrote:
> >On Tue, 2005-11-29 at 13:23 -0800, thockin@xxxxxxxxxx wrote:
> >> Virtual voice IDs.  The host has an idea of all the voices it has
> >> requested be started.  Thos voices map to real voices inside the plugin
> >> according to plugin-defined rules.  The host should only operate on
> > > virtual voices.

> Good answer.

thank you.

> But how does the plug know you want that voice to be 
> reinitialized, as opposed to setting parameters of an already-running 

You will have sent a voice-off for that virtual ID before you re-use it.

> note event (maybe started long ago, maybe just being re-gated-on 
> now)?  So, do you need a 'release virtual voice' event to send at the 
> end too?  Or, alternatively, a 'reset virtual voice' message to send 
> at the beginning?  Gets pretty messy.

You certainly need a stop event.  You can define a "reset" event to be a
stop followed by a start (would have to be different timestamps) or you
could define a separate reset event.  However, I don't really see a need
for a reset event, when you canb have virtually unlimited virtual voice
IDs.  Just use a new one.

Tim Hockin
Soon anyone who's not on the World Wide Web will qualify for a government 
subsidy for the home-pageless.

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: