Scriptnode controls limit at 22?
-
Hey there i am currently not able to open a scriptnode that has more than 22 controls inside of the hardcoded master FX. I reduced them step by step to 22 which is working. Any option to have more than 22? I did not find anything about that in the forum :)
-
@Straticah my project for reference:
HiseSnippet 3356.3oc6c0zbaabFdokV8ocq8jzotW5ndyYlTM.K.H.mNcBijkhThoMqopmj1YJCDIjDh.AX..sDSZl31lL08Tu1iYldo+Lbu068VO4dqG8+fzcwmK.Ao..+xhFTWDVfWrOueru669fkf0MMZoXYYXBJs9Q86p.JcSXi951ms6Yxp5fCuOnzcgc5oYqdrrd6lVx18LksMLaxvA1oeWYKKk1fRkV5CHWco0WF374Uu2NxZx5sTBaB.dhgZKkGn1Q0Nr05U+HUMs8kaqbjZGpqlu5gsLz20PynGFYKAY.ckact7oJOTlbY2.BJsxdsUw.ogsrshEnzx6XzteiyLtP285ehpk5wZJjCXAMv2H2l22PqMAwjVA6dlpV659V.K.9tTOzdrjq83sg0TaqFzdnc41NmXqPInsGktQT3sTD3wRCOFJ3k.jJQAokcgzcfMZYp10N7LD7rI7PcaEySjwlcZn3dsfR+S3tF3KP2d6NxmqruI9f.AtmTEw2cKAFg24WrwI8zaYqZnukg9CMrUdj98dmM9xMVeiuZishepSNIwyQ5GSCMMEyDOMwUaNJAumduNGqX9ta8TYsdJAWHV+iZTgC2nR6ya4p1TWng9g5p1Opqh9vhD.d1JrC3tdnBeo1Nl+efm4uglZaESfJ1JuJ7izMNlC3.3vv3W9dfTKLebgeUFDVHhve2G7e+OYP3xiCrEGGgkFGgqjOgWyQXVl3R64ySmzriCviKb0utZ5EFES3m+2Gtv6zy11P2Q30gtGvlA0NAwQim3bim3YYHRBhKLdhWd7.u33Itz3Idk7o6a3G1vjutOPd1wTdzXJOWB5+u9v6KaKSlh0KYOdBftJl1pj4VJcekmhqWwcB20g2Ww5baitfR+rcM5z0PmL0PoadkyGbYPG9rpU6Gb.yEUOQUqikMVrC6fKqATZK3WV+wO5C2a2iZt+idv826wekUGYMslmiuOa2U+Tf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.PtxjcboPYVADtZcQg7AP9TBvfur8Skwcd26Q+.zhhjZSQjTKSH4foHRN3JQh2tvI3cReHVBeIpSsVpfWD7MF32rMPj0WEdkCHZZWJE8BvGdF9bPLvNFFm2Q14Mvct9Uodl79BuibKSildONchxslSK3IK0wVBBbpQNdqD9o9tiZa0lsZE8VMffn7JHWdEjOuBJjWAKmWAEyqfRWsf0vG6QJHIjGO9p9dta+uR6oSd6767p5G7+8Anp4O
-
@Straticah said in Scriptnode controls limit at 22?
By not working, do you mean that the widget connected to that parameter doesn't appear to send a value? If so, which one in your snippet?
-
@clevername27 The hardcoded master effect just crashes if it has to read a compiled scriptnode that has more than 22 controls in my case.
The scriptnode is called saturator in my example :)
-
@Straticah I know it's a pain, but if you send me a project, I'll it to see if it crashes on my end.
-
@Straticah here is a slightly optimized version that is using less parameters by using the branch container.
With the branch container you can choose a chain by a index which is handy for effect selectors.
HiseSnippet 3377.3oc6c07baabEeojV8ocicS5zzKcTu4LiqFr3CBvoSqokrTjRrrYMU8jzNSUfHfjfEH.C.nkXRyD2ljotm50dLG6eFt25kdp+C3i8n+OHcW7AwBRPJ7AonHMntHrXeX+89Xe6aeukf0rLanZaaZAJsxAcZoBJcCX8NFNmt0oxZFf8d.nz6Ca1V2Q6HYCkCskcZaI6XZcHCGXyNsjssUU.kJM+GR5coUV.394M2aSYcYiFpgMA.O0Tqg5C0Zp4D1Zsperlt9NxJpGn0jp27U2qgowVl5lswHadHCnkbiyjOQ8QxjtMGDTZwsUzv.otiripMnzBaZpzo9olma30+mpYqcjtJ4BDnN9A407Nl5JDDSZEr0oZ5J0Bj.1.7SoVn7XdO4w6A2WSQqa6gxka4di0CofVdTZtnva9HvCQCOFJ3ECjJQAoE7fzsg0aXo0xI7ND7rFbOCGUqikwhcZn30WPo+EbKSbGLb1no7Yp6XgunKA2Qph3cWWfQ3C9UqdbaiFNZlFqaZ7HSG0GabmOX0ub0UV8qVc8du0wGG68HiikottpUr2lnpsFFg2wncyiTst65OWVusZ2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kWCD9wQMP3m30.gOOwH2uVsHF4h3Y5sFH7S1Zfv91bMP7pZ.ZTWDDtIZQP3tlkQmBmUWqpRBZ7Wkjk8qRxjtHIK4kr8Ywbs6wZrytrF2rKqwWTfjoiBjDDdPQERd6rBIE69qvBYxTgjcKpPRgMURroFPVYuIjNRhTGtAJSoYXxGBx6Pqp8VA2627jb7hXyuauKjuL1zimqBGmPEQQrIXhdOrEedBh957qVzeic7eC4AhmYXGILi.CO6F7hBRHAjHBwKLVYF1HLyBd4eJ3GksKK4GQtHourO7ydUsn+Jt38nFHV1ebfkvCab5.ytiSvvlPvD7h9ZL.kdemZkF.kXEEwCt.GOuXEIIoJnxLHgxIDe88EcIM.b2z.PtxjiSiPYj.K1+hnP1.H+kCvEi7MRs+sn8adEkmjf1pFA1IeOao40xCFMCOioQw99Wqv99oB66dsB66lLrS8B4d3armBbwrbR7.tORS5pNzQuTK56O7tAyDyhn2W+DSTB4ikqlbAeF4iv2vN8L+0KcGCfAXu9w.rohA3t9v.cSW8.veFhKeSSyyZJ69hsNS+nNek7Z3tobCKyC8q2Gg4V1sEbj7FXw.AN6Std8X9kxtolh1gMZD8Q0GgrYkPtrRHeVITHqDVNqDJlUBktbB2Ges+dxIl534U01167IUZaCxK8d2Jt.9+Xs7VTI
-
I believe there is a pre-processor definition that affects this, but I can't remember what it is.
-
@d-healey There was a
NUM_MAX_HARDCODED_PARAMETERS
preprocessor, but based on popular demand I removed that limitation, so up to 16 parameters are allocated statically and if you need more they will be allocated dynamically when you load the effect.I can reproduce the crash and there was in fact an issue with the dynamic reallocated memory which caused a memory corruption. Should be fixed now.
-
@oskarsh oh that is a great idea! I have troubles assigning the "algo knob" back to the 4 radio buttons tho that i have on the ui. It was so simple to just go with the individual knobs instead.
But it seems to be fixed by Cristoph, will load the latest branch (maybe i find a way with your approach i find its more elegant to what i had before).
-
@Christoph-Hart ty!