Page 1 of 1

Parameter Definitions question

Posted: Thu Jun 22, 2017 2:37 pm
by misohoza
This script should print the names of all parameters of a zone.

Code: Select all

for i,parameter in ipairs(defs) do
And it does.
But for parameters that are organised in "subfolders"(like Filter.Cutoff,Filter.Resonance,...), only the subfolder is being printed.
Is this by design?
(59.6 KiB) Not downloaded yet

Re: Parameter Definitions question

Posted: Tue Jul 04, 2017 2:32 pm
by AposMus
I've run into this, but got busy with something else and kind of forgot about it.

It looks more like a bug, because you can see the dots of the parameter categories that have sub definitions. It only returns a string, so an additional for loop isn't even an option.

Definition types are still returned correctly though. So i guess that means the correct data is going to the function, but not printed properly.

Re: Parameter Definitions question

Posted: Wed Jul 05, 2017 2:31 pm
by misohoza
Hi AposMus.

Thanks for your reply.
In the end I got around this by using id instead of name.