knobs for different band of parametric eq
-
Hello! :)
is there any way to assign sliders to different bands of parametric eq without coding? I read an older thread about this and it had involved only a few lines of code, but I was wondering if in 2.0 this is possible in the property editor? -
@markmrak
i just tried it and it seems not to work.
although in the Hise docs
https://docs.hise.audio/hise-modules/effects/list/curveeq.html
there is parameter 3 ("Enabled") stated as "state of the filterband", which sounds promising.
but when you connect a button to the second "Enabled" parameter via the property editor (confusing, that the "Enabled" entry appears twice there, by the way), it immediatly reconnects to the first "Enabled" parameter (which sets the module on or off), after closing the property editor. i wonder if this is a bug? -
@markmrak @toxonic Using the property editor behaves weirdly somehow (the band offset even moves the gain of node 1) It's better to code it IMHO.
For this you'll need a simple formula:
setAttribute(bandNb * 5 + parameter, value);
So for band 3 frequency (freq = param 1):
setAttribute(3 * 5 + 1, value);
-
@ustk said in knobs for different band of parametric eq:
@markmrak @toxonic Using the property editor behaves weirdly somehow (the band offset even moves the gain of node 1) It's better to code it IMHO.
For this you'll need a simple formula:
setAttribute(bandNb * 5 + parameter, value);
So for band 3 frequency (freq = param 1):
setAttribute(3 * 5 + 1, value);
uhh? where to get such informations? i'm feeling weak somehow... ;-)
-
@toxonic Bear in mind the documentation (I mean the new and updated one) is very new, so it might still miss some info here and there. For long, the forum has been the first reference place for such info. So I encourage you to still use the search function thoroughly along with the doc, you'll find treasures
-
you are certainly right, but for i'm a complete noob, i often don't know , what i'm really searching for or what are the terms, i should look for... ;-) i'll do my very best, not to ask too many silly questions, but most of the time, i don't seem to be able to hack it out by my own. :-/ and i'm very curious.... ;-)
-
@toxonic No worries, that's what we all do ;) I was a noob a year ago when I began, now I like to think I'm half a noob
Not knowing the environment at the beginning, I agree it's not easy to even search or formulate what you want, and sometimes I don't even know what I want... -
@ustk said in knobs for different band of parametric eq:
....it's not easy to even search or formulate what you want, and sometimes I don't even know what I want...
yeah, that's me! :-D
-
ok, thanks guys, I'll try it that way then! :)
-
@ustk said in knobs for different band of parametric eq:
@markmrak @toxonic Using the property editor behaves weirdly somehow (the band offset even moves the gain of node 1) It's better to code it IMHO.
For this you'll need a simple formula:
setAttribute(bandNb * 5 + parameter, value);
So for band 3 frequency (freq = param 1):
setAttribute(3 * 5 + 1, value);
Where do i put this code? In the code editor? I'm sorry, i know this is a total newb question, but i haven't used anything but the property editor up until now
-
@markmrak In the control callback.
-
@d-healey said in knobs for different band of parametric eq:
@markmrak In the control callback.
awesome, thanks!i guess this is today's lecture for me
-
so for instance if i put this in the control callback -
function onControl(number, value) { setAttribute(0 * 5 + 1, value); setAttribute(1 * 5 + 1, value); setAttribute(2 * 5 + 1, value); setAttribute(3 * 5 + 1, value); }
this should be the freq parameters for 4 bands? how do i then connect them to the sliders on the interface?
-
so for instance if i put this in the control callback -
No. You haven't specified what you are setting the attribute of. Keep watching the video.
how do i then connect them to the sliders on the interface?
Watch the part of the video about control callbacks.
-
@d-healey sorry, I was to anxious, I'm watching now!