HISE Logo Forum
    • Categories
    • Register
    • Login

    knobs for different band of parametric eq

    Scheduled Pinned Locked Moved General Questions
    15 Posts 4 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      markmrak
      last edited by

      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?

      toxonicT ustkU 2 Replies Last reply Reply Quote 0
      • toxonicT
        toxonic @markmrak
        last edited by toxonic

        @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?

        1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @markmrak
          last edited by

          @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);

          Can't help pressing F5 in the forum...

          toxonicT M 2 Replies Last reply Reply Quote 1
          • toxonicT
            toxonic @ustk
            last edited by toxonic

            @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... ;-)

            ustkU 1 Reply Last reply Reply Quote 0
            • ustkU
              ustk @toxonic
              last edited by

              @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 ☺

              Can't help pressing F5 in the forum...

              1 Reply Last reply Reply Quote 2
              • toxonicT
                toxonic
                last edited by

                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.... ;-)

                ustkU 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @toxonic
                  last edited by

                  @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... 🙃

                  Can't help pressing F5 in the forum...

                  toxonicT 1 Reply Last reply Reply Quote 1
                  • toxonicT
                    toxonic @ustk
                    last edited by

                    @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

                    1 Reply Last reply Reply Quote 0
                    • M
                      markmrak
                      last edited by

                      ok, thanks guys, I'll try it that way then! :)

                      1 Reply Last reply Reply Quote 0
                      • M
                        markmrak @ustk
                        last edited by

                        @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 😁

                        d.healeyD 1 Reply Last reply Reply Quote 0
                        • d.healeyD
                          d.healey @markmrak
                          last edited by

                          @markmrak In the control callback.

                          Libre Wave - Freedom respecting instruments and effects
                          My Patreon - HISE tutorials
                          YouTube Channel - Public HISE tutorials

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            markmrak @d.healey
                            last edited by

                            @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 😀

                            1 Reply Last reply Reply Quote 1
                            • M
                              markmrak
                              last edited by

                              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?

                              d.healeyD 1 Reply Last reply Reply Quote 0
                              • d.healeyD
                                d.healey @markmrak
                                last edited by

                                @markmrak

                                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.

                                Libre Wave - Freedom respecting instruments and effects
                                My Patreon - HISE tutorials
                                YouTube Channel - Public HISE tutorials

                                1 Reply Last reply Reply Quote 0
                                • M
                                  markmrak
                                  last edited by

                                  @d-healey sorry, I was to anxious, I'm watching now!

                                  1 Reply Last reply Reply Quote 1
                                  • First post
                                    Last post

                                  31

                                  Online

                                  1.7k

                                  Users

                                  11.8k

                                  Topics

                                  102.5k

                                  Posts