FM carrier / modulator combo boxes setup,
-
Hi. I need help to make this FM setup work. I need comboboxes to list options available on the Synthgroup module (namely, 'Enable all synths', 'WG1' and 'WG2' on the Carrier combobox and "WG1' and 'WG2' on Modulator combobox)
I'm stuck and would aprecciate a hint, solution or link for a solution...
HiseSnippet 1200.3oc6YE0aaaCDlJNbMNoqMEHOrG0C6gTftBqr1tAzGhRriyLVchQbZy1CCELRmsIhDo.EUZLFFv9ozeJ6mv9IreB8evFojrEcpqilSJZVm8Sl2w63Gu632QI0Qv8f3Xt.YU83gQ.x5t3tCYxA0GPnLTqFHq6i6EZGCxjH6APPDZ2gQj3XvGYYUYe8jrptLJ8261dWR.g4AEhPnWwodvKngTYgzNt+HMHnIwGNlFZL6m31xiypyC3IJ.UAWCEQ7NizGNfnm1RXj0WrmOUxEckDIDirVdWt+vtC3ugkM+WQiomF.5ANntJGkItIOvWiXsTT8Az.+Ni13wHjEtSQXnRVXXCbapOcr7hvw5oJrKrvLdXszrfmiI7pMU3UaZvyx.dKmAuGf65InQxBMZrsFtESBhdDUJvDVYyEY8G35b0DXxGGRNCZJTCFavlOqVsGY+zZ0d3y6kv7jTNylyNfKgCYa9vU+0Uqt5usp8kU0q2T0oWFAOH.DSUsNqKlkgaxRBOEDOx9bRPBLdhps+jwW7GN9Zl98x10FSjyZwnxCi.1Gpn.kGpTw+J4nR8OYZz+d4Q+cSjRNCQ80g9lss2iQzqdJnMOCftrCVO2A04gmx2keQpKphqSDBJHtrCd21kyAqgay8SBHp.zTbwKa0fHI5xo7clZ2FABIUGHsZ.mqNmlUbUE2.hOSxiR25gQblNNXsRo17WLdQe6YtCGOv8WbeC0WNXr.aO2A.s+.CZgm6FMJAzR406f69yGb7On3.Dpi+pxTsvUwYqSy15n5XrcmREWKv1uepA1P9tgDkNrkdvUig6MxgsX9vEkFGlomBjXGafj258uCIqW3xbr79TEFywjESScmqPczaB5BMm.KlJGZV+bso1l5grRB2Gf6PkdClNdWZJ3UUl+wFu4MJ9R7d85AdxBvtLt4Ocy1U3pfx8mn089BdRTJRFUybCzxNpzsrGe9zviSbdwXwuT0agEtujQi4LdJT1Ijmvjl1kqsg5VIrIfdthtQBf3aZgF8cAET8ScY7Dk1UJc9wo7csW4VykJtNm7t9DEUJGbuh68TcDF6RCiBf8XmCAp1W4rCMfdjj.4XolfrspdHZ.mQ8LKTNBjBZ+9fvD5Sc+riTptDZgjMbOBB.RrQc2W69BJCHBUXBlyPgS4CEyJc8U3L3ZqOkZ+4A+dk+2yuOqP2cwYrf5j8U0U7SbVV0eJkW9VBT2HCpqgOgbNj14LEkX7I66LiVl+4MeKyC8jJHbrfvhi3wfiomujtsL0kk4cdeQSLK81qIWDZLuUbGIbKSgcHrIblZ7DdpM0nG8escVm9rtpGF6o1ro2s0HG1IIHFNQeueGSCKDuko3qce3a4Ob+m19vKHz+uAgttF7haAstOhmHor9sIpKJoejzCRB6pXr7.ETYLHP+5WrVRe49rw0F8XqcAle5f+V8KWoidrUtRmQJKIa7VKXiWvFufMdAa7B13OprwetrFgDOA+0dYux7zWESpDUrkk9cjphaqGa6L5sjiw0dbMTnhr40dd5JvuQkCltMaMG17sygMOYNr4oygMOaNr46lCa99YZilmemDIOL6LlRPm8R+ZEVVYs0ROtg9GfQhxV9
-
@musictop If you know how to control any module parameter by script (I'm talking about connecting it via the property editor), then it's easy.
I won't do it for you because I'm sure you can do it.In the property editor of the comboboxes, set the list items
create a script reference of the synth group
create a callback for each combobox
in their callbacks, set the synth group attribute for the two settings you want
You can find the attribute number/name in a ModuleBrowser tile you can display in HiseOnce you get either the attribute name or the corresponding number, use one of them to set the attribute value in the callback:
this should be something like this:
synthGroup.setAttribute(synthGroup.carrierIndex, value);
or
synthGroup.setAttribute(5, value);When you are looking for an attribute, the autocomplete is your friend to find it ;)
-
thanx. will do. :)