GUI for the Parametric EQ



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



  • 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...



  • @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



  • 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.




  • 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;



  • This post is deleted!


  • @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.



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



  • 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...



  • @Christoph-Hart Thanks Christoph



  • 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.PZ5lQp9P9p9zxafLQirGo947ZPIpG7w.oohSooiQI07nTCrkIC.l0LnmDG8l1mdmTtsgCpOIpEF2Np7Z1zAlN5zvNOs78EL0wOk7JXpG1jE6o+HXCG5Ci5w7Wtb4ETtT4xm6ZyVZ1R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84RSPet7DzmqLA84pE1G1UK8lCH3d9S9RMzrt+gJHEtxCclEv+BFZPsJ


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



  • @Natanr thanks 🙂 Nice to know it's not just me



  • @Tod-Slaughter I'll check today



  • 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...



  • 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.anZg6ZGzBkam.tkgMxpkBYJfkVt8ELk7YfaXR5gg8k5n7HTEKxKC0XgUJTXQwqTnv4uV9b4yc4KSltItcaKrpX4cymiLyzyV7wJVh2xvrY4c217IUrP61GYnNPz645h93uCxdCyNcMMHurv7Q0Xd5nDCjDmKOpiDRVMhEUY7NsCCa5nFViDgMrCXzvxiYrt.5GUhrOizEP0HEGJOfYwglHfddFNDyjuLUDCawiFwgvEqMWWLzyHs45o39pOdPQ0HMeW8wyRSEt5ikc5nQDu158ssMM1tx5Hc8rgFqFgnleS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VOCqhtohM1Xm6gIaZ3NCwJpHqksHikAtkjmm00MRTCqSlM1D2qqtx.Pyc7+aJydrRkJ8dpJXaTm.oum7vKcIOwufJ1Y9SnDz4r7yObeoszl+GDGVDp4Wzo0sLzPOkH+hji0sG3IXM61CI5A+pTaD4Kuf+BjTy3bHiw9PAtjWiXbIu7HvjszKxnsk31hA7qlMiwIcTHR9UYz3heW5.x8x8NpMs8FNKKWlSZf4qykXro8M8rI5pap3lHcdKZ08YsHvpgsHxF0+IqEosdRVj6R1Yf4wjoR.CNf86HP2ibjOtziBnv9benbzi8QxIKguD59oh5GOaIB9T1OICncgdRAzjvg+ZMNZJlvhI.ojHmSpLYfbgywjYPawvuG9oheQRekYiK1P1W+ohf7YFmPT49ebYGLqIcyLlqwPu+4wRVJZXyaZY1u63OHgyLmYTtNynbvSOTiRnT2SvS+5mD6f.jFOSQNhovMJ+wfLLJGK6I+GLLOTmcWjKH0MHoQ5t6C+ykfttWvDjSCyBKanzTGoQx3Ix0cYNXUSs95J172DG5pndMPCsXuxKzq0hAIja.6rzGkqmSVo6Yf0v1psimuSECeIGa5iMe8trS4gt+V4.xNCrxOOo2ro3u3UEF0Ma5b9GDbi9VOFQhnbuQSAgKrz41863dPGZs2DnNLZ4DKvV2Fpfhr07hJXI1HcpfR7WeMCskC2iqvVDGpfUXq8EUvUCqxpgA86CDLmKw7oJ3ue64bkTjMAaGIQHawHrs3xQP9JrU4wQxJrI35H4prU9vQRDJWjiyBSyO8Oc1l9iI56tl8ompsphskS9IjYxFjCcphHAeFFHcmIzonIl39dA+Brz.4LACEnmX0qwhz2E7Zrnei+uLFcTTsLefWwuowxG2QBwtMbtrhyRhbIuKVbXYhfEtTAZlX3GnpR+B6hjuNiWmkl.cJMA5r7DnyUl.cVYBz4pSfNqlpNz6s4M5aa1wc0WhfZkcKugf+VOjUV.+Wwdv9e
    


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



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



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


Log in to reply
 

7
Online

491
Users

1.7k
Topics

12.9k
Posts