Linkwitz Multiband Comp Question...
-
@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?
-
@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?
-
@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:
Make sure the EQ Gain Parameter matches the EQ Node.
-
@iamlamprey Brilliant mate. Thank you! That works perfectly.
Now all I need to work out is how to get the 'GainTest' parameter to trigger the 'DummyEQgain' so that it animates the graph on the floating tile. The plot thickens!
-
@SteveRiggs You could do it with a timer, I don't think it's the best approach but it's what we have available at the moment.
const var t = Engine.createTimerObject(); t.setTimerCallback(function() { var dummyeqgain = ScriptFX1.getAttribute(ScriptFX1.GainTest); //Replace ScriptFX1 with whatever your scriptnode is called. You also have to reference it. DummyEQgain.setValue(dummyeqgain); //Make sure the slider on the interface also goes from -18db to +18db with a scale of 0.1. }); t.startTimer(30);
-
@iamlamprey Thanks mate :) That worked perfectly with a couple of small tweaks.
But, I did originally have the 'DummyEQgain' slider on the interface linked to the actual 'DummyEQ250' module I'm trying to control with it via the property editor, which is obviously a no no once its coded.
The code above now works for triggering the slider to move on the interface, but it's not controlling the 'DummyEQ250' module itself so the line on the floating tile still doesn't move yet.
So, I'm thinking now its better to maybe take the 'DummyEQgain' slider out of the equation entirely and just have the 'GainTest' from ScriptFX2 linked to the gain of the 'DummyEQ250' module directly, if that would be a cleaner way and it would work?
I tried the code below but I'm getting an error message in the console saying 'Unknown function 'setValue'
It's almost doing what I need it to now. Apologies for the 20 questions!! I really appreciate the help. This has been driving me barmy for days
// Trigger the 'DummyEQ250' modules Gain with 'ScriptFX2's 'GainTest' Parameter const var DummyEQ250 = Synth.getEffect("DummyEQ250"); const var t6 = Engine.createTimerObject(); t6.setTimerCallback(function() { var v = ScriptFX2.getAttribute(ScriptFX2.GainTest); DummyEQ250.Gain.setValue(v); }); t6.startTimer(30);
-
DummyEQ250.setAttribute(DummyEQ250.Gain, v);
-
@ustk said in Linkwitz Multiband Comp Question...:
DummyEQ250.setAttribute(DummyEQ250.Gain, v);
The final piece of the puzzle right there! Very much appreciated!
Thanks for your help fellas. Thats made my day :)