Forum

    • Register
    • Login
    • Search
    • Categories

    Parametric EQ - Limit the amount of nodes?

    General Questions
    5
    14
    177
    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.
    • DanH
      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...

      DanH 1 Reply Last reply Reply Quote 0
      • DanH
        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
        ulrik 1 Reply Last reply Reply Quote 2
        • ulrik
          ulrik @DanH last edited by

          @DanH or add a property to the Parametric EQ

          .set("numNodes", 5);
          

          Hise Develop branch
          MacOs 13, Xcode 14.0.1
          http://musikboden.se

          DanH 1 Reply Last reply Reply Quote 1
          • DanH
            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?

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

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

              Hise Develop branch
              MacOs 13, Xcode 14.0.1
              http://musikboden.se

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

                @ulrik That would be nice @Christoph-Hart πŸ™‚

                1 Reply Last reply Reply Quote 2
                • d.healey
                  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

                  ulrik 1 Reply Last reply Reply Quote 0
                  • ulrik
                    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 13, Xcode 14.0.1
                    http://musikboden.se

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

                      Is This Available Now?

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

                        Which bit?

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

                          @DanH Latest Develop πŸ‘‹

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

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

                            lalalandsynth 1 Reply Last reply Reply Quote 0
                            • lalalandsynth
                              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

                              DanH 1 Reply Last reply Reply Quote 0
                              • DanH
                                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

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

                                5
                                Online

                                977
                                Users

                                6.6k
                                Topics

                                60.6k
                                Posts