Plugins fail to load into Logic- isMetaParameter not set.
-
-
@gorangrooves read the error message agan;
ERROR: Parameter values are different since last set - probable cause: a Meta Param Flag is NOT set on a parameter that will change values of other parameters.
-
@Lindon None of that makes sense for my projects. The errors are for some sliders only. I removed the "isMetaParameter" from all components that happened to have them switched on, since I am not using that anywhere. I expect that to fix the issue. Will report back soon.
-
@gorangrooves are you still doing this stuff?
get component value make it a two-decimal rounded value, by multiplying it by 100, rounding it up, then dividing by 100 assign the new value as the defaultValue to the component
if so that will lead to the error I think.
-
@gorangrooves said in Plugins fail to load into Logic- components' default values rounded up:
The errors are for some sliders only. I removed the "isMetaParameter" from all components that happened to have them switched on, since I am not using that anywhere. I expect that to fix the issue. Will report back soon.
So if you have a component, and in its call back it changes the value of another component, or its own default value, then isMetaParameter needs to be set to ON.
-
@Lindon Thank you! Yeah, removing the flag did not fix the issue. Oh, what a nightmare. God damn Logic.
I looked at the latest report on one of the "failed" plugins. Check this out.
# # # 170 Global Scope Parameters: WARNING: retrievedValue = 0.490000 (was 0.490000), Parameter did not retain default value when set WARNING: retrievedValue = 0.490000 (was 0.490000), Parameter did not retain default value when set WARNING: retrievedValue = 0.850000 (was 0.850000), Parameter did not retain default value when set WARNING: retrievedValue = 0.430000 (was 0.430000), Parameter did not retain default value when set WARNING: retrievedValue = 0.650000 (was 0.645654), Parameter did not retain default value when set WARNING: retrievedValue = 0.650000 (was 0.645654), Parameter did not retain default value when set WARNING: retrievedValue = 0.470000 (was 0.467735), Parameter did not retain default value when set WARNING: retrievedValue = 0.800000 (was 0.800000), Parameter did not retain default value when set WARNING: retrievedValue = 0.850000 (was 0.850000), Parameter did not retain default value when set WARNING: retrievedValue = 0.720000 (was 0.720000), Parameter did not retain default value when set WARNING: retrievedValue = 0.800000 (was 0.800000), Parameter did not retain default value when set WARNING: retrievedValue = 0.540000 (was 0.540000), Parameter did not retain default value when set WARNING: retrievedValue = 0.300000 (was 0.300000), Parameter did not retain default value when set WARNING: retrievedValue = 0.890000 (was 0.891251), Parameter did not retain default value when set WARNING: retrievedValue = 0.870000 (was 0.870964), Parameter did not retain default value when set WARNING: retrievedValue = 0.540000 (was 0.540000), Parameter did not retain default value when set ERROR: Parameter values are different since last set - probable cause: a Meta Param Flag is NOT set on a parameter that will change values of other parameters.
Some retrieved values are identical to the default parameters and they are somehow not good.
I did a search of those values in the preset xml file to see what components are being referenced. While I find several components for a single value, I can not find some values at all. Not sure where they are coming from. Some matching values are for both GUI components and synths/ samplers.
To make sure I understand it correctly: if a button has a callback that says "turn this slider up, switch this on, turn this slider down...", then that button needs to have 'isMetaParameter' turned on?
What about components that are being controlled by that button?
-
Well I suspect that AUval is not reporting the level of detail you need in lines such as this
WARNING: retrievedValue = 0.490000 (was 0.490000), Parameter did not retain default value when set
I suspect if there were enough decimal places you might see something like this
WARNING: retrievedValue = 0.4900001111 (was 0.4900002345), Parameter did not retain default value when set
..so yes if a control changes any =other control its a metaParameter and needs this value set.
The target controls DONT need this to be set.
But you should remove all this "rounding code" anyway.
-
@Lindon Thank you very much! Yes, I removed the rounding attempt yesterday when I realized it wasn't doing anything.
It seems I have a lot of components to set this way, probably all sliders and buttons.
I'll see to do it programatically.
It will be a bit of trial and error until I figure out all the components that need to be changed. I'll report back. -
@gorangrooves did you try enabling isMetaParameter on the sliders concerned (or all of them?)
-
@DanH I am going to do that now. Just figuring out the most practical way, since I have 17 plugins to go through.
-
@gorangrooves said in Plugins fail to load into Logic- components' default values rounded up:
t figuring out the most practical way, since I have 17 plugins to go through.
Start with 1, to make sure this is the problem before you worry about all 17.
Do all plugins have the same components?
-
@d-healey Yes. I am going to compile one now and test. I made a few loops to get all components with certain names (Slider, Mute, Solo, Panner...) and set those flags to 1. Once I get one plugin to work, I'll run the script in all other plugins and recompile.
-
@Lindon @bendurso @d-healey Happy to report that the first plugin I tweaked passed the validation! Yay! Thank you so much for all your help! Going to run the script in all the other plugins, then recompile.
Does any one of you know of any alternative location where AU plugins may be located?
The Logic's Plugin Manager is displaying some of my older plugins that are clearly not in the regular components folder.:
Mac HD > Library > Audio > Plug-Ins > ComponentsWhile some of them say "can't open", one of them opens in side Logic, but it is not in the components folder.
-
-
@gorangrooves There are only two places they should be. Either the system library folder or the user library folder
-
@d-healey Aha. Found it. I see the working plugin. I guess the references to others are just stored in some Logic cache. Thanks, Dave!