Making Connection To Scriptnode Combobox? How
-
@iamlamprey For Example
How To Connect A Combo Box On Interface Designer To This:HiseSnippet 1513.3ocyXs0aaaCElJIpsVqdXCXOr8FmeYNqooVYYYAnqas4VQ1ZRMpS6JPWQAsDiMQjHEjnisWQ+Ou+AamCIkkbs2PP.5VMhSDO7b46bkToatJhWTnxIdMNaZFm3ca+dSk5g6OjIjjiOf38o9mvJz7bpkzdSyXEE7Xhm2pOFI30XMh4ye9y6wRXxHdEIB4EJQD+IhTgthZ2G9qhjjiXw7yDo03d6GdbjRtuJQMBvyp9cHYrnKXC3mxP1Vwm3ciCiEZUdOMSyK.d1SEOs2P0Xok+WHJD8S33hPROPQVxj8GJRh6V5qEDh2Zcq77Usd9W3ehHVLidUD3yLaPqjndLvak4gzZyAov5PpSMHcjJIFU.xxhviTCcqYQG.BU7nDlddjgo.2FB07YmikZtrPnmVOE8+Jb+b+tBczvki2UVBdgD0GZ75R9M8O77y4Q5Jvtl+Qu75loCWJTVZgn2hwt.+dQ4hLMXeDH21sjdzKCmCPVxjUZbCe58tG8rgb5.kJlpR9FZJafHhVjwSRZF.cUEZ5krbZbQF8AzCkCDR9lQ4bvSNnH6TtdrJ+h1sfsas98aFzLvnOQAMhkjPg+JRyT4ZlTSKTT8PlF9EmFoR6q5qlPGKP6.BctHmSEZqf8g12lAfR2rfqORkOlkGuuRpyUIEmo5xxg9ZXxRQ6yYIE7YF9wbq1yUJMUph4aV2EPpmBDA+.07.t1f6PGvqXTcInZVZVB7Gf4W85R8uuwuAGIkWiIikJniJDxAzeomMB1L3bUdaAH9V2mJn+3Cng6fO7s.g0aF71lAT3ScKsY1nhgsQjYCusaAHRCEU77Mq3qE8NfVtCs0jVaXe3kzm1q05nO7NGLOUM1FoGyoCYWxwXRJUHoL3m7b1zMvchfUBHHhdDpeCWVXqPlqisJDCp+QwwVMpUlncgXfjkPivF.magoMHKwk51kQ8MncPL5zQ+QZZeSEoyryDqrNssNeDelWUUWgELz97Err0iAFRAfGC9oZjzfSa5wl+.WFDkImhEffmMwrooZTHMCVLHaHGpEgPznBfYijYInIfFxR2rpZwZcaM0hYNytPpp0ISMSHbEayof9fzX0MDt1jECE5PuwdpIsaU9THnfvN3WT5n9XbpcKH4kVfpdqI+tba36tv2vclLyDBYBfA54ijQFWCOhzoPWyTaLLnjfg2.fRBDvqmnKampUIfQkwPyrkmDEzrRUPK4yKv1p5kLuxnu6F9ZWRuYPCw4sMDo+DTK.qAK0vYJFjqvDmc3fKeBYAGGFJ0JpblzUS0.JQZ.+3J8mqnFmBMW+LXIKqUkePfA5ekvLCvrPNG1+epKnwh0oJ5W+fxXfod0NMwjjbg48cizZuXFX86OK8jkyy.2Clukvl11ZzmANxFz9Pf9hdh+fudvaCZD7t.ZMgLGBrGxQaHLIk7jhEYCMrMiKGk1mmWltKYbgKHcyq1YTJ4wRg9oYbGay4CkjgqiUCkUTmApJRK4H2moFogIqmvz4hIDO+SGk1CtmWDeem2Bz7VgfhZV2AWi2.nGWFaV7WvG2lg3ZO2lgkaRbce3opNHAvQ6tOh8zxxDGQ.Gg9I9yxiDSfrTsD2IhlCncOCOgmF66CSHPpvDGh2sNhEAg6ocY5g38aduIFlyuuAJQHAb322UeBDGmir2pnZKuAr0+AHlhNEd+W2y+lHFMmu2F.G1J3mA0Y3soOon98o8VExAY7bsfi4.T4lK+5.Ohta4GtCd1CYNO4q7W1oVvToOvtg8lfKG1jpKL3H5bga5u6hdvWtTOX2ORcfsupNv1ej5.acUcfs93wAlawyO9.llUN5.TcM487NfeI7dr1qm2v+.dwEZUlgW2AuPa9UbPCN7yK.r3zxGRYFZXWq4x.36bu0jfsmDr6j.rm6+jgmornb0ahbWOGBD2xPAlfJMu9cC+Sv0zpQk9c1rCIEd032DEguuzcCIjkKyVWCY9tqgLaeMj46uFxry0Ple3ZHyt+qxf+WIdzHsJ09tz.gtGZJh87NTxfi4MukH4uA.DUBWA
-
Yeh not entirely sure. Might have something to do with this:
Content.setPropertiesFromJSON("ComboboxDSP", { "processor" : "dsp", "parameter" : "combobox" });
From this thread:
https://forum.hise.audio/topic/419/bug-scriptedparameters/7
But I can't seem to get it working
-
@iamlamprey Thank Man,
No Idea Why ComboBox NOT Showing Up On Interface List For
"processor" : "dsp",
"parameter" : "combobox"
:/ -
Also there's this:
const var dsp = Engine.createDspNetwork("dsp"); dsp.setForwardControlsToParameters(false);
From https://forum.hise.audio/topic/2659/accessing-function-in-another-script-from-interface/9
But Christoph said it isn't working currently. So maybe that's why, not sure
-
@iamlamprey Looks Like The Parameter Is Not Exist :/
And The Engine.createDspNetwork Does Nothing At All -
I think when you make a dspNetwork it "takes over" the way parameters work. So the regular ScriptFX stuff can't be accessed.
-
@iamlamprey HAHAH This Is The Most Stupid Thing I've Ever Seen :grinning_face_with_smiling_eyes: :grinning_face_with_smiling_eyes: :grinning_face_with_sweat:
I Just Added A Dummy Knob ( A Blank One ) On ScriptFX, And Guess What?
The Parameter For The Combobox Popped Up On Interface Designer's List:)))))))))))It Works At First Time, But By Saving And Opening The Project It Shows This Error:
Interface:! Line 75, column 24: API call with undefined parameter 0
Take A Look:
HiseSnippet 1770.3ocyX80bSaDDWJIhhcIcfY3g12t5Wpn3FrMooYFJEH+iIERvCNPYFJCyYoyw2Do6zHcN1FFdqed52o9MfG6as6d2IK4DC3wSgRHNn6t8+6d+1UtcpLfkkIScbqbz3Dli6k75LVn5uceJW3r+NNtek2AzLEKkX1ZqwIzrLVniq6x2G2vsxJN5ed6c1hFQEArhsbbdpjGvdHOlqJ1s8ce.OJZOZH6HdbIpW+t6GHEaKijC.6YYuFNIzfSnGyNjhjsjmi6E1MjqjocTTEKywcksjgi6zWNTXn+o7Ld2HFtnoSGPPls2SFEhVLtqy184Qgsy86LGPJsKhBKahBW06.dHex9EQiKqOfTvQ43g6RuOyqYYyqw7adtkLuULl2U75DjxSTEmf11W5su.RT8nPJnrYYn0Yo+10aaIPgPsVL8D1dovhIb32r0l0I2r00t0pUM+CxEYJxoTHyKi6J2RNpI41jbIbLSAamHEvB+Z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as "cb", but you tried to connect to it using "ScriptFX.ComboBox1", that might be the problem?
-
@ulrik Thank Ulrik For The Snippet, I Already Found That Using The Dummy Knob Let Us To Connect The Combo Box.
I Already Exported An Example, And It Works Just Fine, But What About This Error:
Interface:! Line 10, column 24: API call with undefined parameter 0
ALSO:
B Using This We Will Lose All The Parameter Connection Between Nodes :/
So Nothing Other Than The Combo Box Apperas On Parameter List On Interface DesignerUpdate: I Changed It To CB Instead Of Combobox1, Same Error Shows Up
HiseSnippet 1782.3ocyX80bSaDD+TRDE6R5.yvCsuc0uTkRHDGRSyLTJPbRXRgDxfCTlgxvbR5b7MQ5NMRmisgg25mm9cpeC3aP6t2IYIG6DRyLgRHNn6t8+6d+1Ud+TU.OKSkRbpcvvDNw4ZtsGJ0ca0kIjjc1j37Mt6xxz7TpcqMFlvxx3gDGmYeLtgSs4Hle93C1fEwjA7xsHjWpDA7mJhE5xc2+gOQDEsMKjefHtB0q9vcBTxVpHUOvdl0cYRBK3H1g78XHYy3RbtxVgBsJsslo4YDm41PENrcWUeok9WJxD9QbbQSRaPP1s2VEEhVLtKoUWQT39E9cFAjx9kQgYsQga5tqHTLZ+xnw0MGPK4nZ7vYlyx7ZV07V97adNULu4rl2MbaGjJRzkmf11W6tiDRTcXPJnpYYokLyGcbao.Jj5khYGw2NEVLhCulqr9hz6txB2a951+A4hLM8XFj4Uw9pMTCZRuOsPBGx0v1IJIrvqwHJZf7WxoU0a+JjSScEx2Vc5vC.lrGRgSaX0pPFIjbZmdx.sPIoXwPtbQ0lph7BJz4hf7i5wWX95ue950Fomkx35Go0oB+dZtW41s7WzROnnOf55S5Gnjx0ZKVTjOTJ5MoAgxqh8tmRyelzag5uuds5enN8jG0oyTOKWXQ7zodLdMI8rXzS1K1mmVDSJHDpWFufz8zKHqdeIvFapPnRtiTneVBWdZkoj7.JVvlaU.oZS450yKWKBdDQHVsNJVRLlcIPv0eH4E6rISyJDFHWPWI7Ts.cCmM4GCvJ16B0b2jmcjVkXnMOSBHEmS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DW6jeXyhC+OOa2bts7mxPc4cvLMTyeFdB6d55B2nwcADBfksYAPrY39LcWbdjSbC2zu8JHGMIf2dR+7oPpYrsclEEaw6UZcdvbiMyIBuUY9y+tHDUmqyh.E15umCEE3v26lU8sTwzTYaQbnHmYqLdJgfpy7hkV24pn8dU2lqgcOHi4aem6z56fCWd45X4yJMcy1ohYWyMGKk7IxI+ejHlt8SpjaNwhJN1W4t9joiucpoi0+rjMl473Mi4.qddcfU+B0AV475.q7kiCTcA7ZAEq..I6WAyl8hiG9DoxmrqP9xwg.IjcYCNwde7As07DrYCt26u4e83+9c+4CZeDuuMtTkxIX0.GK4ldNnwco9VyFPcyqDW29px1G9zul7miNTwrfT0aCxesEHBbUyNPaJo4KODvwv0zQeWCttKuzxjXQn3sAAnyc6lDxz4YkK.O28BvypW.d9oK.OqcA34mu.7r9YxC98n9ndZUr86X.1X+sLUuNNaIYvrOlVTj+Eveg8Ev
-
@Natan hm...that is strange, I see the same error, and if you set the attribute using number 0 it's working with no errors, like this
ScriptFX1.setAttribute(0, value);
I don't know why you get the error in the first place, it should work just as it does using the attribute "0"
-
@ulrik said in Making Connection To Scriptnode Combobox? How:
ScriptFX1.setAttribute(0, value);
Excellent Job, Yeah That Fixed The Error :)