Tonal Balance
-
Oh and BTW: no idea if it sounds good, I did this on my laptop without headphones. The curve looks alright though, but if you increase the knee width it will start acting like a noise gate (I think the knee width has to be relative to the threshold or it will nudge small values to zero real quick).
-
@Christoph-Hart Thank you so much mate, I really appreciate your help!
I know the theory well but don't have a deep C++ know-how as even 1/1000 of you. I woke up and saw your message and I've been on this for 3 hours with tons of tests, first code wasn't working well but your updated code sounds great!
Below is the dynamics test on the PluginDoctor. Like you said the Knee Width depends on the Threshold value (maybe I need to modify it with a pma node to fix the value), but if it is set, you can get awesome curves and tones.
Also even I put all of them into a frame2 block, the compiled network is incredibly fast and cpu effective! I've never seen this kind of thing, congrats Christoph, that is showing that you're a real Genius.
Maybe you can add this to the templates.
-
So Sweet! Thank you so much guys, it sounds GREAT.
-
@Christoph-Hart I've been waiting this for a long time, thank you very much!
-
@Fortune You don't need to split the signal, if ProcessSignal is deactivated, it can all flow just through the default chain container.
-
@Christoph-Hart The ProcessSignal of the Envelope follower, right? Ok Thank you it is good to know that.
One last thing, is it possible to display the gain reduction amount (in dB) with a knob?
I would follow this guide but don't know how to get the External Buffer from SNEX: https://forum.hise.audio/topic/6324/scriptnode-compressor-gain-reduction/2
-
@Fortune just send the mod output of the snex node to an add node in a modchain, put a peak node behind it and use that instead.
-
@Christoph-Hart I will do that, Thank you!
-
Oh and if you want to make the knee width relative to the threshold, don't use a pma node, but just this line in the beginning of the
handleModulation()
method:const double Wt = W * T * 2.0;
And then use this value in the
handleModulation
method instead ofW
. The 2.0 makes the knee a bit more noticeable but you can play around with values. -
Yesss, that's it!!! Knee Width can be adjustable sensitively, both hard and soft knee settings are available in one compressor
Thank you so much for your help mate!
By the way, I set the Release time of the envelope 10000 ms, it has a very smooth sound now :)
NOTE: Yellow flicking vertical slider is the reduction meter.
!
-
@Christoph-Hart @Fortune It's super useful, now the compressor sounds much better. Thank you!
-
This post is deleted!