HISE Logo Forum
    • Categories
    • Register
    • Login

    GUI for the Parametric EQ

    Scheduled Pinned Locked Moved General Questions
    58 Posts 9 Posters 6.7k 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.
    • Christoph HartC
      Christoph Hart
      last edited by

      This is on my roadmap for quite some time now. Unfortunately drawing a frequency response is not as easy as the dynamic meter (lot's of math wizardry with complex numbers involved), but I think about adding the curve eq plot as a floating tile.

      Dan KorneffD 1 Reply Last reply Reply Quote 2
      • orangeO
        orange
        last edited by

        it would be great, with a color, line shape (thickness, fill color...etc) customisation....

        develop Branch / XCode 13.1
        macOS Monterey / M1 Max

        1 Reply Last reply Reply Quote 0
        • Dan KorneffD
          Dan Korneff @Christoph Hart
          last edited by

          @christoph-hart Is there a simpler, fix band type eq that could be implemented more easily?

          1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff
            last edited by

            Or maybe a doc on Script FX? Is it possible to throw in an open source EQ script into that slot?

            1 Reply Last reply Reply Quote 0
            • Dan KorneffD
              Dan Korneff
              last edited by

              @Christoph-Hart I just realized that control over the EQ parameter knobs IS functional. ☺ Very exciting!
              If you have 2 different EQ points set in the parametric EQ, how can you differentiate the knob controls between each node? By default, they control node 0.

              1 Reply Last reply Reply Quote 0
              • Christoph HartC
                Christoph Hart
                last edited by

                Just multiply it with the band index :)

                inline function onBand2GainControl(component, value)
                {
                    // Use the BandOffset as multiplier to get the correct attribute index
                    local index = 1 * ParametriqEQ.BandOffset + ParametriqEQ.Gain;
                    ParametriqEQ.setAttribute(index, value);
                };
                

                Example patch:

                HiseSnippet 1123.3ocyW0rbaaCDFTxrSsRkSxL8A.imdPtM0gTx1wYxzIxR1tilFaqTk3o2RgHgjPLH.CInsUxjY5qg6o1GidKOJ8QHW6o1EjThjxJtRGZZvMr+gu8iK1ErafzgFFJCPF25Yi8oHiuvr2XgZT6QDl.0YejwZlGQB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wgmODpqQKAYltD2JeOl3KwS5Y7W6RiETu3KNEtMlUvVYBtSrKamuuiVvNoB9yu5k+drEOX1Xr6rBdX9fZT9ld7n8h+3QzOJiTLwviH.EoubArRO34uNT3ioPP4SImz8V58ZPziFSVIOlMUosduQpR6IJ+nbFdDm.4KbRlInqM97XIPdKhe79pveQ.6w1SFDn4CnIB6ENN550uEp0muG0WZOZrzdr0R6w1KsG6rzd7fk1icuAOz+3wdQJoWR2KD5e.56iySA
                
                Dan KorneffD 2 Replies Last reply Reply Quote 2
                • Dan KorneffD
                  Dan Korneff @Christoph Hart
                  last edited by

                  @christoph-hart 💕

                  1 Reply Last reply Reply Quote 0
                  • Dan KorneffD
                    Dan Korneff @Christoph Hart
                    last edited by

                    @christoph-hart is there a way to see the code associated with the WYSIWYG editor?

                    1 Reply Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart
                      last edited by

                      Not sure what you mean with " code associated with the WYSIWYG editor?"

                      Anyways, I have added a floating tile that shows the filter graph. It can be connected to either a parametriq EQ or to (mono / poly) filter effects:

                      0_1522687038383_Filter.PNG

                      It's just read only so you can't drag the curves, but this shouldn't be too much of a restriction...

                      O 1 Reply Last reply Reply Quote 3
                      • O
                        occultsamples @Christoph Hart
                        last edited by

                        @christoph-hart said in GUI for the Parametric EQ:

                        Not sure what you mean with " code associated with the WYSIWYG editor?"

                        Anyways, I have added a floating tile that shows the filter graph. It can be connected to either a parametriq EQ or to (mono / poly) filter effects:

                        0_1522687038383_Filter.PNG

                        It's just read only so you can't drag the curves, but this shouldn't be too much of a restriction...

                        hi im new to hise

                        can you expaln how to do the floating tile as the filter graph (i got the knobs connetected to a parametriq eq & got the floating tile connetected to the FilterDisplay but nothing is displayed in the floating tile.)

                        thanks

                        1 Reply Last reply Reply Quote 0
                        • Christoph HartC
                          Christoph Hart
                          last edited by

                          Hi there,

                          1. Add a floating tile
                          2. Set the ContentType property to FilterDisplay
                          3. Set the ProcessorId parameter to the name of the Parametric EQ module (by default Parametriq EQ) that you want to connect and press F5.
                          O 1 Reply Last reply Reply Quote 1
                          • O
                            occultsamples @Christoph Hart
                            last edited by

                            @christoph-hart Thanks ☺ ☺ ☺ ☺ ☺ ☺ ☺

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

                              Can someone save me some time with trial and error? Is this supposed to go like this for the Frequency and Q parameters?

                              local index = 0 * ParametriqEQ.BandOffset + ParametriqEQ.Gain;
                              local index = 1 * ParametriqEQ.BandOffset + ParametriqEQ.Frequency;
                              local index = 2 * ParametriqEQ.BandOffset + ParametriqEQ.Q;

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

                                This post is deleted!
                                1 Reply Last reply Reply Quote 0
                                • Dan KorneffD
                                  Dan Korneff
                                  last edited by

                                  @dustbro said in Stereo Effect Project. Example?:

                                  @duno I was wondering the same thing, so I decided to do a little test.
                                  By using the Console.print() command, I was able to see that ParametriqEQ.BandOffset is an Integer that is equal to 5. By doing the same with ParametriqEQ.Gain, I saw that was equal to 0.
                                  These are Index numbers that dictate which control you are scripting.
                                  Looking at the Module browser, I can see that each EQ has 6 Index points for each EQ node:
                                  0_1543578002280_Screen Shot 2018-11-30 at 6.38.19 AM.png
                                  The first 5 appear to be controls, and the BandOffset is just an index used to multiply.
                                  At EQ Node 0, the index is:
                                  0 - Gain
                                  1 - Freq
                                  2 - Q
                                  3 - Enabled
                                  4 - Type
                                  So what happens when you have another EQ node in the effect? The index list starts over at 5.
                                  5 - Gain
                                  6- Freq
                                  7 - Q
                                  8 - Enabled
                                  9 - Type
                                  And then the next node would start at 10.
                                  So what does it all mean?? lets do some math.

                                  {
                                      local index = 1 * ParametriqEQ.BandOffset + ParametriqEQ.Gain;
                                  	ParametriqEQ.setAttribute(index, value);
                                  };
                                  
                                  

                                  In the script above we're creating a local variable called index. This is used to gather an integer that is directly related to a specific index on the EQ.
                                  If we convert them to numbers, the equation looks like this:
                                  1 * BandOffset + Gain
                                  or
                                  1 * 5 + 0 = 5
                                  5 is now passed to the line of code below:

                                  ParametriqEQ.setAttribute(index, value);
                                  

                                  Which is the same as if we typed:

                                  ParametriqEQ.setAttribute(5, value);
                                  

                                  Looking at the chart above, we can see that Index 5 is the Gain of 2nd EQ node.

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

                                    @dustbro nice one man! That should help me lots!

                                    1 Reply Last reply Reply Quote 0
                                    • Christoph HartC
                                      Christoph Hart
                                      last edited by

                                      The formula is pretty simple: You take the band index that you want (starting with zero!), multiply it with ParametriqEQ.BandOffset and then just add the parameter enum you want to control.

                                      So:

                                      Frequency of the 14th band: 13 * Eq.BandOffset + Eq.Frequency

                                      Q of the 12049th band: 12048 * Eq.BandOffset + Eq.Q...

                                      Tod SlaughterT 1 Reply Last reply Reply Quote 1
                                      • Tod SlaughterT
                                        Tod Slaughter @Christoph Hart
                                        last edited by

                                        @Christoph-Hart Thanks Christoph

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

                                          Ok I built a 4 band eq into my project. It doesnt work after saving and reopening. I decided to isolate the issue. It crashes my hise on import. Does it crash yours?

                                          HiseSnippet 2000.3oc6Z0rcSaDEdTHhRLDHPomxRcXUfFBV1geZoTLIwFkCIAaLkS2AJRiimhrFizX.CGNvxtta5gth2.51tiscWOm9Bvi.uAzYzOVi9MiMIoYQ8Ncm67ouu6b0L2Y7zzAa.ccwN.oYt2v9PfzwjaOzlzckt5HavZqBjJIugtKA5T+wfkG1W20EZBjjNzsXsKMyz.uee7FKqaoaa.iLA.2GiLfqi5gHQVaV61HKqF5lv6g5w48R0Vy.auB1BOfxkCIWFzW23Q5aC2Tm41Tx.oCW2DQvNsI5DnK0mkwlCa2E+Tae+uOxEskEj8fJnMEHeyfU5hrLaFpSW.PZ5lQp9P9p9zxafLQirGo947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qdFPZtmsMzxa.cJVYA9OWN7zDZC8FfkkX6SLnQU1yRAMpF139x6nmtgC9AAG4MKU9HdVn5116NTNCMwk9rh5nyDQt7hkY0AgdfgA6CrKP+3L69TYB5S0InOKMA84RSPet7DzmqLA84pE1G1UK8lCH3d9S9RMzrt+gJHEtxCclEv+BFZPsJ
                                          NatanN Dan KorneffD 2 Replies Last reply Reply Quote 1
                                          • NatanN
                                            Natan @Tod Slaughter
                                            last edited by Natan

                                            @Tod-Slaughter Same here Win 10 X64 | hise 2.1.0

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

                                            48

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts