HISE Logo Forum
    • Categories
    • Register
    • Login

    Parametric EQ - Limit the amount of nodes?

    Scheduled Pinned Locked Moved General Questions
    14 Posts 5 Posters 635 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
      last edited by DanH

      Can we limit the number of bands the user can implement in the Parametric EQ?

      Or maybe prevent the user from being able to add any nodes in the EQ floating window, but be able to control existing nodes with the usual mouse functions...

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

      DanHD 1 Reply Last reply Reply Quote 0
      • 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++.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public 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
                                • First post
                                  Last post

                                32

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                102.0k

                                Posts