Change the EQ type through button and update the buttons if the EQ Floating tile band menu is used.
-
Hello Everyone,
I found a snippet of dynamic EQ from the forum and I'm trying to add buttons instead of combobox to display the EQ type and change it through it. I was able to use those buttons to change the Type but I'm confused updating the Broadcaster function so that if the EQ panel is changed from the Floating tile it should show the EQ type on the button (aka should show the type of filter chosen in the button state).
HiseSnippet 4541.3oc4c07aajjcuo8zis330imjAA4TPuDaPnGQS2eIIJ6MwTeP5Q6ZYIJI6cWX3nsE6hh8nlcS2cSaIOqC7hMGx+.4vdJCPtrAXOjq4lNDfbJ.Kv.jSAHCB1C4Vl+Cl7dU+U0MIa1j5iYhWJ.C1U8pW868pW8du5ildaG61DWWaGtBys2I8IbEtA+tmX40cstZFVbarNWg2ieOYtUOoulqKQmqPgq9PrlBy8dbzOe8CVUyTypMItHNtmZazl7HidFdwktc8ergoYSMcxdF8XnVs9FsssVy1zd.fhqxKx0Wq8QZGRdrFR1U34J79MzM7rc10Syi3BHZUa8S1sq8qr7o+oFtFGXRvGj31EXjewMsM0QDikxsVWCS8sCkVWNfKaGK6W0W1+X9MMzMhJOVGbKZEBwsfUeT3JIg2US.OIV3Ix.uQ.oBLP587gzGwuaaGi9dw0f34C32vxi3zQCT6rPwmVtqryeN+Z1.EVdU6ocDooC7PTKJurnXEA3et88KVDT8tdBuTyQnQKg+RA5Xe0CIdM5zgz1qboFsJgjERn0fda04w15DWf3Etew6dWgbxAexzbbzNgnu+1ZVDSf5m876WrisiPYC3Aw6KXH7CY5C344m+1BedQA3ShlVs+.2tkCkQn2VytWeaK3gxknDTRXdAiaCc7PM8YFOupK1.KOGay0zLMO.r2JaakfpfpAF7lzXGGXlMnisLKji0KNRji0LQfiDk.2i.3hAHG9PAuP1nethCACQ.GPaFsDr5.OOaKTDDEluz9klu7HEEwbIKhIDFCKSCKhPmAVs8LrsDFMskaGBlJfMo4.R3XfocaMSACKcxw.5SzzpzR2pSba8gLsc.ecsMggMGCp.t2iEDnCQXaXnym+d.+1HnO1VyA7f44X7hFs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oO3kxeHsJdkYHHkx6xAoTlgfTJuSFjR4BOHkxk1p4UxQPJknfTJRxYFjRY5hunji3KJ9wWjpJJlytMOwWTtXhunji3KJmg3Kp++l3KpyP7E0+PJ9h5LDeQ8c43KpyP7E02IiundgGeQ8RK9h5Diu7w7pwKBRVpVsrBvnNcAXTyQ.F0bb7ypSc.F0Kl.Lp4H.iZF6W7MGGzuIaIi8vHgOIAe8OaHvu5jByftv2bkc2qwNBMZw0w1xy+mK6OjeE7RhdmcHGNvTygVSRm6x0ok4chIcVcHgZ3KBdOeKBdSRGuTGrc5I00VPVd4kwakwv+nUeK9Ms0At5k72PaTeFTA5Ek8GtZ7GmZKv65IIt+tmW+vZmWH9Q7aa30t6nw3UFAF43tPvXvOG4eOd+WDX1eK1a9SuD9sG+OK75hu1.mWRZ7hf9FLzX66GOnm+ci0MzSI91qJx9tGgEHw9VPgEHyd24wBTR9qIuktJ605GKXA1WsFrfEYeIevBVh8U2AKnVZltbbAK6CLQ1W5BZIRru+GzRjYesNnkLDZkhgKmkeqVf88ZfVxhruhEzRVZH9LDjkhw7a8UDxhru5.zRjXeKFnkLjBVdHLKqx9Bizr4dA+b5PsotZtsojx1jdG6A3sNeSMOGL4.dvhYWvARaBXQaAdxnFNWAeGu7eVDeFwztDpgDeAH+huInRI74BAUJEV4kRezSqsi89s8eOMvIKWmVBH2VTmtywuI9rPzaQEOuXU7R0oare613Tm6HwwM51HOCsQYFZi5LzlElg1r3Lzlklg1TKy1f+20vJC7r646FGJX6F9ub.EXrz49+PlRq7E
Thanks
-
@Onik-Sisodiya I would really appreicate if anyone can help me here
-
@Onik-Sisodiya That code's quite hard to follow but I think you're only attaching to a mouse event there. You probably need to attach to the EQ events or possibly the context menu event.
https://docs.hise.dev/scripting/scripting-api/broadcaster/index.html#attachtoeqevents