How to change SampleMap in ScriptNode Granulator via ComboBox
-
Hello all,
how can I control the Sample Map ComboBox in a ScriptNode Granulator via an external ComboBox on my user interface?
I would like to change the selected SampleMap via an external ComboBox.
Unfortunately I have no idea at all.
Many thanks for help
Oli -
@Oli-Ullmann Here's a snippet, You'll need to add the names of your samplemaps to the combobox (or find some other way to populate it).
HiseSnippet 1405.3ocwX8zaaTDEeV6roItETqDHAWPqxIW0Rjco7GUDpNwIoXANwpaHT3R0jcGGOxyNypcmMIlpJwQ3LeA36Bha7gfC7A.tvU38lYs200oItVooIWxad+627l2+1zKQEvRSUIDmU2eTLi3bCW+QR8f1CnbIoyVDm21sKMUyR7rGs4nXZZJKj33T8Q3ANqtDw7ye+vMoBpLfUbDgbfhGv9ZdDWWbZuVeEWH1gFx1mGUR562pSfR1VITY.dp51fDSCFROhsKEEqhKwY4sC4ZUhulpYoDG2MUgi7GnNQZk+.dJ+PACIZR7ACYOdGkHDQLd5dGyRNlyNo3rFDR6AbQXuwwhTBX4dEQlp1Hy631kGxmbdQD5lFFdEZTNF4TYZHWcJH27kA4y.RNkfzRVHcKW+fDdrtfChmq61QBOX8ovSQYnXkkT4Cp31VARH0qGQGx1IAHlnQ860nwc8Z1nws+7Z0fmiTs2wT3wWEcnZS0oM89BuwJeDSCGGqj.Q80lHwZSq4QITInjIqBUYirPtxmFEKXSfc80PoJoXpPoAkvSmnyNbAqtAV0pwkBtj40OSFn4JoGl1j6dDcIJQ8fwP6t.LDYraW6Y0PyttPQCM1Zsm8ju66evCrXoKM94q4cGuIpg9silEsO6Tc8aCt84fmuvq95oHGCBZSEhCgD35yBN7RTB66pzr8j0QDtZsmWy6EY0u+YxK2XBVxYxFKtRNOEqKyhNjkTJ9XDDxtlNkc44KkMvFaJInR1Qx06EyxoKWGNaBNIO3ho54HDDUaRzuYdh93.IgGh44ShqDyUnbuHx2zYKplN1XfcAeEyRzb7J4rE6XnwjsJZU2sXoC0pXir4upv0dNc8oEtciViJHZ0JhB7bcpBDbHSB76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