Linkwitz Multiband Comp Question...



  • @Christoph-Hart

    Thanks. Just tried this but when I add the split container into a fix_64 or fix_32 container it breaks the connection between the compressor and the filters gain. It doesn't seem to show up anymore in the connections list to re-connect it.

    Is there another way of connecting them back up once in the fix container?

    Screen Shot 2021-02-19 at 10.14.16.png

    Screen Shot 2021-02-19 at 10.14.05.png

    This is the ancient build I'm using btw, incase that makes a difference...

    Screen Shot 2021-02-19 at 10.23.50.png



  • @Christoph-Hart

    It's cool, I worked it out. I moved the compressor outside of the chain first so that is shows back up in the connections list to re-connect ☺



  • I'm wondering now if there is a way to have these on the front interface in floating tiles?

    Screen Shot 2021-02-19 at 10.50.43.png



  • @SteveRiggs

    • create a parameter in the main chain node
    • link the compressor to the parameter
    • read the parameter from your interface with a timer
    • do whatever you want with the value


  • @ustk

    Ahhh! Cheers. I've only really ever used timers for normal compressors. Never with anything inside scriptnode.

    Just trying to work out how the code would work for that and how to point it to the right things, but as usual... butchered it 🤣

    Any idea what I need to remove/add to get it to work?

    My dsp module is called Script FX2, the slider on the interface I'm testing it with is called CompTest, and the parameter in the top of scriptnode is called SN250Comp. I'll screenshot below after the code....

    (I already have 2 timers in the project btw, hence the t3)

    // Create Script FX2 Reduction Meter
    
    const var Script FX2 = Synth.getEffect("Script FX2");
    
    const var CompTest = Content.getComponent("CompTest");
    
    const var t3 = Engine.createTimerObject();
    t3.setTimerCallback(function()
    {
        var v = Script FX2.getAttribute(Script FX2.SN250Comp);
        
        v = Engine.getDecibelsForGainFactor(v);
        
        CompTest.setValue(v);
    });
    
    t3.startTimer(30);
    

    Screen Shot 2021-02-19 at 16.26.21.png

    Screen Shot 2021-02-19 at 16.26.13.png



  • @SteveRiggs Yes, this is the way to handle it, except that it is not recommended to use a timerObject as it is synchronous. For GUI stuff you should take a panelTimer.
    Also, the issue is probably because you have a space in your declaration. Script FX2 isn't good 😉



  • @ustk The space! 😵 That was it. Sorted. Thanks man.

    I've never used a panelTimer before. I'll take a look into those now.

    Thanks again! Finally getting somewhere now. I'm still a bit rusty after a few weeks off developing anything, but it's coming back slowly 🤣



  • @ustk Still tinkering... is it possible to get the filter display screen on the interface in a similar way so you can actually see the filter ducking? I've tried linking up a floating tile to ScriptFX2 and HISE just closes down as soon as you press F5, so I'm thinking not?

    Screen Shot 2021-02-19 at 17.57.13.png



  • @SteveRiggs Maybe in the new version of scriptnode we will be able to connect a filterDisplay, but in the waiting, I'd probably go with drawing my own panel...



  • Hmm, not sure about this one, the problem is that you are supposed to compile such a graph to a C++ node but then the filter is not accessible anymore because it's part of a opaque algorithm.

    What you could do in that case is to setup a dummy filter or EQ as HISE module, bypass it so that it doesn't eat up CPU, and then set the parameters from your script node patch to match the curve. Then connect the filtergtaph to this module.



  • @Christoph-Hart Cheers Christoph. The dummy EQ is a great idea.

    I've set one up now and have a floating tile on the interface thats linked to the dummy eq to test it.

    Ideally what I am trying to do is to link a parameter in the top of the script fx dsp window thats linked to the gain of the svf_eq so that triggers the knob to move. I'd like to link that to the gain of the dummy eq on the main interface so it shows the same amount of animated ducking on there through the floating tile.

    I've put a quick 1 min video below to explain it and show it a bit better....



  • ...also, does anybody know why the frequency knob at the top doesn't show the correct value compared to the one on the actual svf_eq when I connect them?

    Screen Shot 2021-02-22 at 17.35.13.png

    Screen Shot 2021-02-22 at 17.35.03.png

    Screen Shot 2021-02-22 at 17.34.50.png



  • @SteveRiggs I think it's a bug, I posted about it today and a restart of hise sorted it out. https://forum.hise.audio/topic/3673/script-fx-filter-knob/5



  • @DanH Cheers dude. Restarting doesn't work for me though unfortunately. I am on quite an old version of scriptnode so the bug must still be in this one ☹



  • @SteveRiggs said in Linkwitz Multiband Comp Question...:

    @Christoph-Hart Cheers Christoph. The dummy EQ is a great idea.

    I've set one up now and have a floating tile on the interface thats linked to the dummy eq to test it.

    Ideally what I am trying to do is to link a parameter in the top of the script fx dsp window thats linked to the gain of the svf_eq so that triggers the knob to move. I'd like to link that to the gain of the dummy eq on the main interface so it shows the same amount of animated ducking on there through the floating tile.

    I've put a quick 1 min video below to explain it and show it a bit better....

    Bump...



  • The skew factor of the chain parameter is still 1.0



  • @Christoph-Hart I tried changing it to 0.229905 to match the frequency but that makes it worse ☹



  • @Christoph-Hart Spoke to soon, I restarted after saving and now it works! 🙂 Cheers Christoph!

    Any idea how to get the svf_eq gain triggering the connected gain at the top though? I still can't work that bit out



  • @Christoph-Hart It would be really cool to be able to trigger the gain of the dummy eq so that it animates on the floating tile the same as on the filter screen on the svf_eq



  • @SteveRiggs I believe red wire means the Parameter controls the control, yellow wire means the control controls the Parameter. If that makes sense?

    You could probably fake the movement of it by just adding another Parameter, setting the ranges of it to match the Gain knob of the EQ (-18db to +18db), then controlling that Parameter with the same Compressor output.

    Example:

    https://i.gyazo.com/7a9c995a18415b69b4e9145ee6486abe.mp4

    Here's the compressor setup:

    7b94a134-9b60-40fb-94c4-77de1a2edade-image.png

    Make sure the EQ Gain Parameter matches the EQ Node.

    ec35ba86-f77d-4883-b28a-0a58f8489d5e-image.png

    56ff97c1-b825-4154-92e9-bdfa1617470d-image.png


Log in to reply
 

11
Online

1.0k
Users

3.6k
Topics

30.7k
Posts