@lalalandsynth You can combine with the property editor for min/max, but NOT for processorId/parameterId. You must remove them if using script callbacks. And everything that is set by script overwrite the parameter in the propety editor
In your case (because min is not 0) you need to add it to the total:
// Invert loPass Knob;
const var loPassKnob = Content.getComponent("loPassKnob");
inline function onloPassKnobControl(component, value)
{
local index = ParametriqEQ.Freq + 1 * ParametriqEQ.BandOffset;
ParametriqEQ.setAttribute(index, component.get("max") - value + component.get("min"));
};
Content.getComponent("loPassKnob").setControlCallback(onloPassKnobControl);
Of course, the popup still displays the original Value of the knob, not the inverted one you made by script... For this, you have to create your own popup label.
Flipping the min/max would create some weird edge cases because it's checked in the Juce core.
Although, adding a button in the property editor to invert the value might be do-able, but I'm not Christoph :)