View Single Post
Old 08-07-2019, 05:45 PM   #3813
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 5,103
Default

Quote:
Originally Posted by MixMonkey View Post
As to the plugins that have multiple parameters with the same name, I'm afraid we're a bit stuffed. If you really want to map one of these, you can run it inside BlueCat Patchwork and assign its automation hooks via the Patchwork auto system.

The reason the identical names don't cause more trouble outside of CSI is the fact that DAW automation systems use the internal plugin automation indexes to assign the parameters, not the external names.

Unless there's a way that Geoff can give us access to those indexes, it is what it is i'm afraid
Well, there is a way to get access to those indexes, but.....

It will require an FXZone format change...

The original thinking was to simplify the file formats as much as possible for the user.

That's why we used FXParam Name.

It'a actually a PITA code wise.

FX don't allow you to query an index unless the FX is live -- that is you have a working instance of it inserted somewhere.

What really happens is the Zone Activation on a particular FX (yay, we have a live one) causes the FXParam name to be used to look up the index, but as you point out it takes the first one it encounters.

Now, I doubt I would mention this if folks had to enter this manually -- too much room for error, but we have an opportunity to fix this now that you've done such great work with the Configurator tool.

Here's what I propose for the new format:

Code:
Zone "VST: ReaComp (Cockos)"
	SelectedTrackNavigator
	Threshold FXParam 0 Thresh "Thrsh"
	Attack FXParam 2 Attack
	Release FXParam 3 Release "Rel"
	Ratio FXParam 1 Ratio
	Compressor FXParam 19 Bypass "Byp"
	Parallel FXParam 20 Wet
ZoneEnd
Now if we could just find those indices.

Aha, they are right in front of us

It's simply the order they appear.

The first one is 0, the next 1, the next 2, etc.

So you could simply use the index of the dropdown(or something similar) to auto gen the numbers needed for the new format.

I was hoping this duplicates problem wasn't that bad, but we're getting far too many anecdotes this early, better to fix it now and be done with it, what do you think folks ?
__________________
Beta software https://stash.reaper.fm/v/38349/CSI%20beta.zip Donate GeoffWaddington.ca
Installation / documentation / source https://github.com/GeoffAWaddington/...ntegrator/wiki
Geoff Waddington is offline   Reply With Quote