I have a program with 3 layers and zones in each. Each layer has its own Morph filer that I’m using as a Hi Pass Filter. But I also wanted to link the cutoff of each Morph Filter to one knob on the macro interface. I’m using the script below but after attaching the parameter and moving the knob I get the error
“No matching overload found: candidates:
void asParameter(Element&.lua_Stateluabind::object.luabind::object.bool)
void asParameter(Element&.lua_Stateluabind::object.luabind::object)”
function onHPFilterCutoffChanged()
this.parent:getLayer("Main Layer"):getLayer("Synth 1"):getBus("Synth-Bus"):getEffect("Hi Pass"):setParameter(1)
this.parent:getLayer("Main Layer"):getLayer("Synth 2"):getBus("Synth 2-Bus"):getEffect("Hi Pass"):setParameter(1)
this.parent:getLayer("Main Layer"):getLayer("Synth 3"):getBus("Synth 3-Bus"):getEffect("Hi Pass"):setParameter(1)
end
defineParameter("Hi Pass Filter Cutoff", "Hi Pass Filter Cutoff", 0, 0, 22000, 1, onHPFilterCutoffChanged)
I’ve checked multiple times the path to the effect and the parameter I’m trying to set. I’ve used both it’s name, long name and ID, but keep getting the error. I checked online documentation but haven’t found anything specifically speaking on this error.
Any clue what I may be doing wrong? I appreciate the help!
Thanks!