HISE Logo Forum
    • Categories
    • Register
    • Login

    GUI for the Parametric EQ

    Scheduled Pinned Locked Moved General Questions
    58 Posts 9 Posters 6.8k 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.
    • Tod SlaughterT
      Tod Slaughter @Natan
      last edited by

      @Natanr thanks :) Nice to know it's not just me

      1 Reply Last reply Reply Quote 1
      • Dan KorneffD
        Dan Korneff @Tod Slaughter
        last edited by

        @Tod-Slaughter I'll check today

        Dan Korneff - Producer / Mixer / Audio Nerd

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

          I found some issues in your snippet, like the name of the MasterEq that is, in fact, MasterEq1
          Some callbacks have a wrong name (same name used twice or more)
          Bad band offset...

          But despite these corrections, it still crashes...

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

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

            Ok so the cause of the crash was the name of the main container which was the same as the EQ

            I simplified your code, you don't need the local index since you can directly put the band offset calculation in the setAttribute.
            Also, an if(value) statement is mandatory if you want your EQ to reflect the buttons at compile time (otherwise the last callback will always be taken into account, no matter the state of the buttons)

            HiseSnippet 2094.3ocyZ0sbSaDEdURVJwfgPKcJW0QMyzYBz.XGGBokgFQRrQYHFrwTldGHKsNdKxRNxx.FlLPuquAc3NdCn216xscF5Lcl9BjGAdCn6per1U+YYGnDcmN6d91uyYOZ2ydzVyxTE0qmoEPX16MnKBHbRXiAF1s2nsB1.r0l.gOCVSwp7tf0GzUoWOjFPPX5aRaTX1Y.NOuas0UzULTQAh.f6ahUQai6fsCjVS5VXc8JJZn6g6vz6kk1R0zXCScy9DhLMr.nqh5iT1AcaEZ2lBBDNVYMrsoUCaEaTOfvLqapMnQaymX31+6i6gapinuTDzf.jq3Jl5ZTFSkB1nMVWqluA2CPPoVf4Osq4eVXUrFdn7.2vbNMHFnAq+PXpznWQV5UH6zSfgdy3Ruy.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U9vQRDJWjiyBSyO8Oc1l9iI56tl8ompsphskS9IjYxFjCcphHAeFFHcmIzonIl39dA+Brz.4LACEnmX0qwhz2E7Zrnei+uLFcTTsLefWwuowxG2QBwtMbtrhyRhbIuKVbXYhfEtTAZlX3GnpR+B6hjuNiWmkl.cJMA5r7DnyUl.cVYBz4pSfNqlpNz6s4M5aa1wc0WhfZkcKugf+VOjUV.+Wwdv9e
            

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

            1 Reply Last reply Reply Quote 0
            • Tod SlaughterT
              Tod Slaughter
              last edited by

              I didn't think the name would have made a difference but that does open here. Many many thanks! ☺

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

                @Tod-Slaughter Hise stopped crashing the very moment I changed the master container's name...
                Glad it works 😉

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

                Tod SlaughterT 1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk
                  last edited by

                  @Tod-Slaughter I just noticed there's still a mistake in the Low and LowMid Q

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

                  Tod SlaughterT 1 Reply Last reply Reply Quote 0
                  • Tod SlaughterT
                    Tod Slaughter @ustk
                    last edited by

                    @ustk It's not working in my project. I'm just checking if you changed the knob ranges too

                    1 Reply Last reply Reply Quote 0
                    • Tod SlaughterT
                      Tod Slaughter
                      last edited by

                      No the knob ranges are the same

                      1 Reply Last reply Reply Quote 0
                      • Tod SlaughterT
                        Tod Slaughter @ustk
                        last edited by

                        @ustk Just spotted that too

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

                          @Tod-Slaughter if it's not working, have a look at the IDs (eq, master container...) in your project too, and be sure they correspond to the script definitions

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

                          1 Reply Last reply Reply Quote 0
                          • Tod SlaughterT
                            Tod Slaughter
                            last edited by Tod Slaughter

                            Fixed the q

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

                              @Tod-Slaughter again it was an error in the callback definition:

                              HiseSnippet 2115.3ocyZ0saa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oxjCxEOGSlAsKC+d76K9kH8UlCtXCYey6KBxmYrfnxid2xNXdS5lYL2jgd+6mp3nYfsuqi8nAy9fDOyblQ41LixIO+TMJwRcWfm9MOK0AAnLalhZBSgaT94w4XTNW9S9OZXdrI6oHetxfnjFomtO4OuDLv+Mlf7ZXYXcKsNlHCRFOIdwKq.2y1XjolK+iwgtKZPCzPK1W8B8ksXQB4FyNK8N4E5jW5dQXSrqduz46BovWx0ldWy2f26TQn++rbDYWB13am2G2T5u8pRS6wMc4vKBt0HmmhHQT9OponvEV5b+Q88unCs1aRTGFsbhkXqaCUPY1ZdQETgs.FTAU4eAaVFavtVfJ3ZABdEsHNTAWms1WTA2fsfFTA2LNn+0HAq3SrPpB9WGeYeIkYSv1SRk3TobB1VdiDHeM1p73I45rI35I4FrU9vSRBJWliyRKxO8uX9l9SI56qsGQuU6dZtNd4mPlIaStzoNhD7YYgL8lPWflXh+2kBKvRaj2DLThdi0fFKS+VJnwxgM96xXzWS2w96BJ9MMV9C7jPraKu2q3xjHWx2xkmTlHXoqVhlIF96z0oqv9Bxpyz0oxbnS04PmMlCct1bny0mCctwbnyMyTG5S27Nibs66u6KQPy59k2PJ7nGxNKf+OvXab+7
                              

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

                              1 Reply Last reply Reply Quote 0
                              • Tod SlaughterT
                                Tod Slaughter
                                last edited by

                                It doesn't matter what i do this is what happens when I load:

                                My knobs drop off the set ranges and crash the eq

                                alt text

                                alt text

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

                                  @Tod-Slaughter Hard to tell from that...
                                  I already have the same issue, because I connected the freq knob to the gain, or vice versa... If the nodes are out of range, it simply means you sending them over there one way or the other.
                                  Sometimes it could come from the fact you are converting a value to be handled later by the module (like normalizedPercentage to something else)...

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

                                  Tod SlaughterT 1 Reply Last reply Reply Quote 0
                                  • Tod SlaughterT
                                    Tod Slaughter
                                    last edited by

                                    Band 3 weirdly stays in range.

                                    1 Reply Last reply Reply Quote 0
                                    • Tod SlaughterT
                                      Tod Slaughter @ustk
                                      last edited by

                                      @ustk

                                      I replaced my code with yours but I just get the same result

                                      ustkU 1 Reply Last reply Reply Quote 0
                                      • Tod SlaughterT
                                        Tod Slaughter
                                        last edited by

                                        Same problem here:

                                        Link Preview Image
                                        Parametric EQ keeps breaking bad

                                        @d-healey thansk Davve, I removed all teh EQ code and re added it slowly (one widget call back at a time - and it worked - but I will do as you point out. Th...

                                        favicon

                                        Forum (forum.hise.audio)

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

                                          @Tod-Slaughter said in GUI for the Parametric EQ:

                                          @ustk

                                          I replaced my code with yours but I just get the same result

                                          so the problem shouldn't be the code...
                                          My guess is the range and/or default value of the knobs in your project

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

                                          Tod SlaughterT 1 Reply Last reply Reply Quote 0
                                          • Tod SlaughterT
                                            Tod Slaughter @ustk
                                            last edited by

                                            @ustk said in GUI for the Parametric EQ:

                                            @Tod-Slaughter said in GUI for the Parametric EQ:

                                            @ustk

                                            I replaced my code with yours but I just get the same result

                                            so the problem shouldn't be the code...
                                            My guess is the range and/or default value of the knobs in your project

                                            They're the same as the snippet

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

                                            28

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.2k

                                            Posts