GUI for the Parametric EQ
-
Ok so the cause of the crash was the name of the main container which was the same as the EQ
I simplified your code, you don't need the
local index
since you can directly put the band offset calculation in thesetAttribute
.
Also, anif(value)
statement is mandatory if you want your EQ to reflect the buttons at compile time (otherwise the last callback will always be taken into account, no matter the state of the buttons)HiseSnippet 2094.3ocyZ0sbSaDEdURVJwfgPKcJW0QMyzYBz.XGGBokgFQRrQYHFrwTldGHKsNdKxRNxx.FlLPuquAc3NdCn216xscF5Lcl9BjGAdCn6per1U+YYGnDcmN6d91uyYOZ2ydzVyxTE0qmoEPX16MnKBHbRXiAF1s2nsB1.r0l.gOCVSwp7tf0GzUoWOjFPPX5aRaTX1Y.NOuas0UzULTQAh.f6ahUQai6fsCjVS5VXc8JJZn6g6vz6kk1R0zXCScy9DhLMr.nqh5iT1AcaEZ2lBBDNVYMrsoUCaEaTOfvLqapMnQaymX31+6i6gapinuTDzf.jq3Jl5ZTFSkB1nMVWqluA2CPPoVf4Osq4eVXUrFdn7.2vbNMHFnAq+PXpznWQV5UH6zSfgdy3Ruy.anZg6ZGzBkam.tkgMxpkBYJfkVt8ELk7YfaXR5gg8k5n7HTEKxKC0XgUJTXQwqTnv4uV9b4yc4KSltItcaKrpX4cymiLyzyV7wJVh2xvrY4c217IUrP61GYnNPz645h93uCxdCyNcMMHurv7Q0Xd5nDCjDmKOpiDRVMhEUY7NsCCa5nFViDgMrCXzvxiYrt.5GUhrOizEP0HEGJOfYwglHfddFNDyjuLUDCawiFwgvEqMWWLzyHs45o39pOdPQ0HMeW8wyRSEt5ikc5nQDu158ssMM1tx5Hc8rgFqFgnleSMZizaMVf4nQrnIO1TSNYpIO1TSlgZQwqpROx5mk2M634qQD.iCJe.c1KlBW4VsPpDr76bQOXbWxVrbcOd0iJfch5R8nbwv1xTeCEc8ljMVWfzR4s2di0oPfMzwFHwV8MTswlFh9ssfpqRKR3ndez4ym644yQIEtk3Bth7DPe7oEcztgMYuil8sQKLTJcyqEEWlNdzduW9b6wxSGGc7Dsgb4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.x8x8NpMs8FNKKWlSZf4qykXro8M8rI5pap3lHcdKZ08YsHvpgsHxF0+IqEosdRVj6R1Yf4wjoR.CNf86HP2ibjOtziBnv9benbzi8QxIKguD59oh5GOaIB9T1OICncgdRAzjvg+ZMNZJlvhI.ojHmSpLYfbgywjYPawvuG9oheQRekYiK1P1W+ohf7YFmPT49ebYGLqIcyLlqwPu+4wRVJZXyaZY1u63OHgyLmYTtNynbvSOTiRnT2SvS+5mD6f.jFOSQNhovMJ+wfLLJGK6I+GLLOTmcWjKH0MHoQ5t6C+ykfttWvDjSCyBKanzTGoQx3Ix0cYNXUSs95J172DG5pndMPCsXuxKzq0hAIja.6rzGkqmSVo6Yf0v1psimuSECeIGa5iMe8trS4gt+V4.xNCrxOOo2ro3u3UEF0Ma5b9GDbi9VOFQhnbuQSAgKrz41863dPGZs2DnNLZ4DKvV2Fpfhr07hJXI1HcpfR7WeMCskC2iqvVDGpfUXq8EUvUCqxpgA86CDLmKw7oJ3ue64bkTjMAaGIQHawHrs3xQP9JrU4wQxJrI35H4prU9vQRDJWjiyBSyO8Oc1l9iI56tl8ompsphskS9IjYxFjCcphHAeFFHcmIzonIl39dA+Brz.4LACEnmX0qwhz2E7Zrnei+uLFcTTsLefWwuowxG2QBwtMbtrhyRhbIuKVbXYhfEtTAZlX3GnpR+B6hjuNiWmkl.cJMA5r7DnyUl.cVYBz4pSfNqlpNz6s4M5aa1wc0WhfZkcKugf+VOjUV.+Wwdv9e
-
I didn't think the name would have made a difference but that does open here. Many many thanks!
-
@Tod-Slaughter Hise stopped crashing the very moment I changed the master container's name...
Glad it works -
@Tod-Slaughter I just noticed there's still a mistake in the Low and LowMid Q
-
@ustk It's not working in my project. I'm just checking if you changed the knob ranges too
-
No the knob ranges are the same
-
@ustk Just spotted that too
-
@Tod-Slaughter if it's not working, have a look at the IDs (eq, master container...) in your project too, and be sure they correspond to the script definitions
-
Fixed the q
-
@Tod-Slaughter again it was an error in the callback definition:
HiseSnippet 2115.3ocyZ0sa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doxjCxEOGSlAsKC+d76K9kH8UlCtXCYey6KBxmYrfnxid2xNXdS5lYL2jgd+6mp3nYfsuqi8nAy9fDOyblQ41LixIO+TMJwRcWfm9MOK0AAnLalhZBSgaT94w4XTNW9S9OZXdrI6oHetxfnjFomtO4OuDLv+Mlf7ZXYXcKsNlHCRFOIdwKq.2y1XjolK+iwgtKZPCzPK1W8B8ksXQB4FyNK8N4E5jW5dQXSrqduz46BovWx0ldWy2f26TQn++rbDYWB13am2G2T5u8pRS6wMc4vKBt0HmmhHQT9OponvEV5b+Q88unCs1aRTGFsbhkXqaCUPY1ZdQETgs.FTAU4eAaVFavtVfJ3ZABdEsHNTAWms1WTA2fsfFTA2LNn+0HAq3SrPpB9WGeYeIkYSv1SRk3TobB1VdiDHeM1p73I45rI35I4FrU9vSRBJWliyRKxO8uX9l9SI56qsGQuU6dZtNd4mPlIaStzoNhD7YYgL8lPWflXh+2kBKvRaj2DLThdi0fFKS+VJnwxgM96xXzWS2w96BJ9MMV9C7jPraKu2q3xjHWx2xkmTlHXoqVhlIF96z0oqv9Bxpyz0oxbnS04PmMlCct1bny0mCctwbnyMyTG5S27Nibs66u6KQPy59k2PJ7nGxNKf+OvXab+7
-
It doesn't matter what i do this is what happens when I load:
My knobs drop off the set ranges and crash the eq
-
@Tod-Slaughter Hard to tell from that...
I already have the same issue, because I connected the freq knob to the gain, or vice versa... If the nodes are out of range, it simply means you sending them over there one way or the other.
Sometimes it could come from the fact you are converting a value to be handled later by the module (like normalizedPercentage to something else)... -
Band 3 weirdly stays in range.
-
I replaced my code with yours but I just get the same result
-
Same problem here:
https://forum.hise.audio/topic/1308/parametric-eq-keeps-breaking-bad/12
-
@Tod-Slaughter said in GUI for the Parametric EQ:
I replaced my code with yours but I just get the same result
so the problem shouldn't be the code...
My guess is the range and/or default value of the knobs in your project -
@ustk said in GUI for the Parametric EQ:
@Tod-Slaughter said in GUI for the Parametric EQ:
I replaced my code with yours but I just get the same result
so the problem shouldn't be the code...
My guess is the range and/or default value of the knobs in your projectThey're the same as the snippet
-
@Christoph-Hart can you shed some light?
HiseSnippet 2046.3ocyZ0zbSaDFdURDkXvkjV5TNpISODngfkcHjVFHhjXixjOvFSY5MPVZc7VjkbjkShgICza8ePatk+Azq8Vt1Y3Pmo+AxOA9GP2UeXs5SKamThuo2cee1m2O1ce20aYCcYX615F.lIeV2VP.yUYq1UyrwpMjPZf0WCv7ErkkLJtKXktsjZ2Fp.XXF+wjFYlbBf0uOt7JRpRZxPOQ.vy0QxvMQMQldRKKrARUsjjB7YnlT8dAg0k00VUWUuClHiylCzRR9UR6.2VhzswXALWpnBxT2npojIrMfYhUzU5Vsg99Z18+4n1nZpPxG7fpXfrEWRWUgvXhTvpMPpJkcM31.LJk8L+wsM+qytERA0StmaXJqF37zf1evLVRzimld4RO8Xnn2D1zaZ1pxFnVldsP31UXWWyDZTWBGBnokceAiswzrqpi6gl47MkdErjA9idZL6h4xMG2cyk6l2OalrYtycvgara2z.IyUb2rYvQl1lb6IYvsgldsh6to99kLf61ApI2ky42C3bweGn4p5Maoqg+X1YBqwLjQIBHwNW+n1WHo0HRTEQ6zHHrIiZPMhE1fNf9CqeLizEPlTwQ+qut.hFI3P8CXZbnwBnimwGhoxWlHhAs39iXO3hzlqvE3Wes4JI39pLXPQzHIeWkAyRSDtJCjcZoQHu1JcLM001rzJPU0zgFsFAnlaSUa.UqOPfYoQjnINvTSLdpINvTSjhZgwaKo130OKta5wyUiP.FETt.ZsWLAth0qCkwX41YdGXrWxlqXEGd0lHfNPMeaBWzLMzUWURUsFdi0YwsTbyMWcEBDHMUjFjqdGMYSjtFmaayJaqzbXNp1AdyrYdS1LDRgpyMqsHGAjetzhLZOxDu2QsNlvY6Ikr40bbKPFORuOLalCo4okiNZhVUr3lkhioNMdNP07QSUwXcohI3REOCcoE3tkWKqHoo7j50wcf664RmyVLdmsXRNawyRmcpMhBAMBqjchFb4HeDt9hnyhJ8zhUhKIxtsHLKx3lMSeRWHCrqN2uGI8sCczT5wOZ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u7yE+BUCK0FWzorG+4hf9KONlrxSNeYGaZq7lZLWlhd+ydBFRJH8Gan2o0fOHAKMmZTd.0nb5AiznDn18X7zGuejCBPXvLEwPlhuQ4O6lhQ4Rou5eug4kpz6hbKgVdUMR1cuWUifV1OzDnUCSxVTSplJTAWwSnm8xTraoqzQUxz+KxgrJpSCjTK5m9B44sngS45RGkNWdlNoktSyVFYJ2HZ9NVD7Eetoya957nmxxZ+2K6Q1IXK8yC6KbJ5GfUt98Bmtg6IAWsiwdPbFk8KaxKcglNa2oo8IcHW.GCwgQtSwbzWdCQ.O84uHBxSmoSDTv+yXSSYAOASY0i6RGQHBVjtLehf6EDzkBB5ODDT9bAQkmmt.aKIgHKeH1xGht7g3K+hzE3ZIIDi4CQYdeblYb+g+wSW3Ohrump2gbr1sjLMrpOAGIqhO0oLDm7ooAUsBniQJLw96bjuIjnJzJ.yxPNxpSi7juYbZj2sw+WFilRxF5uv4FvI4xW1RB1t0rdzhShybweyw6duHrr4lOGoRLzKjkIyvtMd1Yz5jeHzovPnyBCgN2cHzYwgPm6MD5rTh5Pd+lOpiodS6UewBJWz99MXb25AuxB3+POHG9G
-
Your snippet works as expected here.
Try to remove the eq module then insert another one, with same ID and number of nodes of course...
When working for a complex EQ project I had to do this a lot, because errors were cumulating fast in this module, I never figured out why... Also, when moving the nodes manually, it's just doing crapy erratic movements... -
@ustk said in GUI for the Parametric EQ:
Your snippet works as expected here.
Try to remove the eq module then insert another one, with same ID and number of nodes of course...
When working for a complex EQ project I had to do this a lot, because errors were cumulating fast in this module, I never figured out why... Also, when moving the nodes manually, it's just doing crapy erratic movements...Seriously thinking of adding 4 filters instead. Low shelf, 2 peaks and a high shelf!