Kara-Moon Forum

Developers & Technology => Musical MIDI Accompaniment (MMA) => Topic started by: sciurius on July 19, 2019, 08:41:07 AM



Title: DATAPLUGS
Post by: sciurius on July 19, 2019, 08:41:07 AM
Macro variable $_DataPlugs is not documented.
This is not so bad :) since I'd strongly suggest to rename it to $_Data_Plugins .
Also, why not add $_Track_Plugins as well?

Patch attached.


Title: Re: DATAPLUGS
Post by: bvdp on July 21, 2019, 06:25:56 PM
Okay, I've just applied the fixes. However, I think I'll stick with $_DataPlugins (no hyphen) since the '_' normally applies to track names. $_Track_plugins have been there all along, but only as a track name function ... since it's a track thing, should we just leave it as that? Seems to be a rabbit hole if we permit $_Bass_Plugins and $_TrackPlugins to refer to the same thing? Or are you suggesting something else????

So, we should end up with:

   $_Plugins -- for all simple plugs
   $_DataPlugins -- for the data plugs
   $_TrackName_Plugins -- for the track stuff

Make sense?               


Title: Re: DATAPLUGS
Post by: sciurius on July 21, 2019, 07:08:43 PM
It just feels a bit contrived having to select an arbitrary (but existing!) track name just to list the track plugins...

So, alternatively:

   $_Plugins -- for all simple plugs
   $_DataPlugins -- for the data plugs
   $_TrackPlugins -- for the track plugs
   $_TrackName_Plugins -- legacy, same as $_TrackPlugins

and then silently remove $_TrackName_Plugins from the docs :).


Title: Re: DATAPLUGS
Post by: bvdp on July 21, 2019, 11:16:34 PM

Committed.

I have $_Plugins, $_TrackPlugins, $_DataPlugins and $_Trackname_Plugins. The last is mainly for use in a begin/end block where one might have some kind of a call ... no idea how that would work :) But, it's all in the doc, so what can go wrong.


Title: Re: DATAPLUGS
Post by: sciurius on July 22, 2019, 06:20:26 AM
Thanks!