Or would NamedControl help for arrays ?
In my case I’m stuck with the original argument size.
(
~qp1=[0,1,2,3];
~qp2=[0,1,2,3,4,5];
SynthDef(\testArray,{
arg points=#[111,222,333,444,555,666,777];
points=points.multichannelExpandRef(1);
points.size.poll; // always 7
points[2].poll;
points[5].poll; // returns the default value if not provided in the arg
}).add;
)
z=Synth(\testArray,args: [\points,~qp1.asRef]);