HISE Logo Forum
    • Categories
    • Register
    • Login

    Parametric EQ - Limit the amount of nodes?

    Scheduled Pinned Locked Moved General Questions
    20 Posts 7 Posters 785 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.
    • DanHD
      DanH @DanH
      last edited by DanH

      @DanH EQComponent.cpp

      comment out lines 630-636 to prevent adding new nodes

      Potentially useful if you wish to create a (for example) 5 band EQ that has all the functionality of the Parametric EQ but removes the possibility of the user adding more nodes and therefore creating scripting issues if you wish to script controls for the 5 bands etc.

      You also need to remove the right-click menu (or item within) to disable 'Delete All Bands' as well as 'Delete Band'. To do this I've commented out lines:

      • 531
      • 553 - 558
      • 608 - 615

      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
      https://dhplugins.com/ | https://dcbreaks.com/
      London, UK

      ulrikU 1 Reply Last reply Reply Quote 2
      • ulrikU
        ulrik @DanH
        last edited by

        @DanH or add a property to the Parametric EQ

        .set("numNodes", 5);
        

        Hise Develop branch
        MacOs 15.3.1, Xcode 16.2
        http://musikboden.se

        DanHD 1 Reply Last reply Reply Quote 1
        • DanHD
          DanH @ulrik
          last edited by DanH

          @ulrik I tried

          ParametricEQ1.set("numNodes", 5);
          

          but get the error 'function not found'...

          EDIT: oh wait do you mean add this into the source code?

          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
          https://dhplugins.com/ | https://dcbreaks.com/
          London, UK

          ulrikU 1 Reply Last reply Reply Quote 0
          • ulrikU
            ulrik @DanH
            last edited by

            @DanH I mean that Christopher could add a property to the EQ

            Hise Develop branch
            MacOs 15.3.1, Xcode 16.2
            http://musikboden.se

            DanHD 1 Reply Last reply Reply Quote 1
            • DanHD
              DanH @ulrik
              last edited by

              @ulrik That would be nice @Christoph-Hart :)

              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
              https://dhplugins.com/ | https://dcbreaks.com/
              London, UK

              1 Reply Last reply Reply Quote 2
              • d.healeyD
                d.healey
                last edited by d.healey

                It might not be that hard to add that property yourself if you want to explore C++.

                Free HISE Bootcamp Full Course for beginners.
                YouTube Channel - Public HISE tutorials
                My Patreon - HISE tutorials

                ulrikU 1 Reply Last reply Reply Quote 0
                • ulrikU
                  ulrik @d.healey
                  last edited by

                  @d-healey I just bought a c++ course on Udemy, it will be my summer reading :)

                  Hise Develop branch
                  MacOs 15.3.1, Xcode 16.2
                  http://musikboden.se

                  1 Reply Last reply Reply Quote 1
                  • NatanN
                    Natan
                    last edited by

                    Is This Available Now?

                    DanHD 1 Reply Last reply Reply Quote 0
                    • DanHD
                      DanH @Natan
                      last edited by

                      Which bit?

                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                      https://dhplugins.com/ | https://dcbreaks.com/
                      London, UK

                      NatanN 1 Reply Last reply Reply Quote 0
                      • NatanN
                        Natan @DanH
                        last edited by

                        @DanH Latest Develop ๐Ÿ‘‹

                        DanHD 1 Reply Last reply Reply Quote 0
                        • DanHD
                          DanH @Natan
                          last edited by

                          @Natan you mean a function to limit the amount of nodes? I don't think so

                          DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                          https://dhplugins.com/ | https://dcbreaks.com/
                          London, UK

                          lalalandsynthL 1 Reply Last reply Reply Quote 0
                          • lalalandsynthL
                            lalalandsynth @DanH
                            last edited by

                            @DanH Is this by any chance possible now ?

                            https://lalalandaudio.com/

                            https://lalalandsynth.com/

                            https://www.facebook.com/lalalandsynth

                            https://www.facebook.com/lalalandsynth

                            DanHD 1 Reply Last reply Reply Quote 0
                            • DanHD
                              DanH @lalalandsynth
                              last edited by DanH

                              @lalalandsynth I donโ€™t think so. I reckon there must be a way to edit the mouse callback for adding nodes in the source code. My initial idea was to create the nodes you require and then edit the source to prevent users adding their own.

                              Failing that what you want to do might be possible using multiple EQ filters in scriptnode

                              DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                              https://dhplugins.com/ | https://dcbreaks.com/
                              London, UK

                              1 Reply Last reply Reply Quote 1
                              • ustkU
                                ustk
                                last edited by

                                Digging up quite an old one!

                                Is there a way to limit the number of nodes nowadays?
                                Only found interrogations...

                                Hise made me an F5 dude, browser just suffers...

                                DanHD Oli UllmannO 2 Replies Last reply Reply Quote 0
                                • DanHD
                                  DanH @ustk
                                  last edited by DanH

                                  @ustk I seem to remember being able to edit the data field but can't find an example. I did it in the source code. Do you want a fixed amount always visible or allow the user to add a max of x?

                                  DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                  https://dhplugins.com/ | https://dcbreaks.com/
                                  London, UK

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

                                    @DanH always visible and not able to edit the type. Iโ€™d prefer not to edit the source unless itโ€™s customisable for a pull request compatibility.

                                    But seeing my needs I might just end up with a panel based custom solution lol

                                    Hise made me an F5 dude, browser just suffers...

                                    DanHD 1 Reply Last reply Reply Quote 0
                                    • DanHD
                                      DanH @ustk
                                      last edited by

                                      @ustk you're good at those ๐Ÿ˜†

                                      DHPlugins / DC Breaks | Artist / Producer / DJ / Developer
                                      https://dhplugins.com/ | https://dcbreaks.com/
                                      London, UK

                                      1 Reply Last reply Reply Quote 1
                                      • Oli UllmannO
                                        Oli Ullmann @ustk
                                        last edited by

                                        @ustk
                                        I solved it using an EQ broadcaster. The value you get from the broadcaster is the index of the band.

                                        If the index is below my maximum value, e.g. 8, nothing happens except that I save the current status of the EQ in a variable (Effect.exportState()).

                                        If the index exceeds my maximum value, I show the user a message and reset the status of the EQ to the status I saved in the variable. It's actually pretty simple. :-)

                                        At least that works with HISE's internal EQ.

                                        ustkU 1 Reply Last reply Reply Quote 2
                                        • ustkU
                                          ustk @Oli Ullmann
                                          last edited by

                                          @Oli-Ullmann Mmm clever!

                                          Hise made me an F5 dude, browser just suffers...

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

                                          12

                                          Online

                                          2.0k

                                          Users

                                          12.8k

                                          Topics

                                          110.9k

                                          Posts