Parametric EQ - Limit the amount of nodes?
-
@Oli-Ullmann said in Parametric EQ - Limit the amount of nodes?:
For some reason, the broadcaster stops responding after the first reset.
I suspect you need to enable the queue
https://docs.hise.audio/scripting/scripting-api/broadcaster/index.html
-
@David-Healey
@HISEnberg
Yes,.setEnableQueue(true);fixed the bug. Thanks, Dave! :-) -
@ustk I made a simple source code change to add a
MaxBandsparameter.Is this what you mean? If so, I'll submit a PR.

-
@dannytaurus Much cleaner solution
-
@dannytaurus
Looks great! :-) -
@dannytaurus nice I was thinking of doing this myself, this is a really clean and ideal solution. The UX is precisely what I was after.
Thanks to all of you guys for your responses as well!
-
@dannytaurus Yeah exactly

I was working on it but you got there first! Thanks!
-
@David-Healey @Oli-Ullmann @HISEnberg @ustk Hmmm... maybe not as clean as I thought.
I think this would introduce a breaking change to any existing projects using the per-band indices to access and/or change values.
The docs page shows 6 attributes for the Parametric EQ, and I believe they are per-band, so band 1
Gainis index0, band 2Gainis index6, and so on.The
MaxBandsattribute I introduced here would be a new (and only) global attribute for the module, at index 0, which would shift all the per-band indices by 1.Thoughts?
-
@dannytaurus what about making it a floating tile property instead of a module attribute?
-
@David-Healey Here's the initial PR for reference: https://github.com/christophhart/HISE/pull/860
-
@David-Healey That'll work for the end-user UI but it won't stop the develop adding more bands in the module though, will it?
Although, that could actually be the desired behaviour?
Lemme see...
-
@dannytaurus
The idea with the floating tile sounds good.
We probably won't be able to implement the module variant, as this would certainly have a negative impact on many older projects. -
@David-Healey Yeah, works great
I'l submit a new PR and close the breaking one. -