Please help to create VU Meter
-
I try to make my own VU Meter following on this instruction (very detail) till step 11 (not working)
https://forum.hise.audio/topic/2222/vu-meter/2My script:
const var Dynamics1 = Synth.getEffect("Dynamics1");const var ScriptSlider1 = Content.getComponent("ScriptSlider1");
const var t = Engine.createTimerObject();
t.setTimerCallback(function()
{var reduction = Dynamics1.getAttribute(Dynamics1.CompressorReduction); reduction = Engine.getGainFactorForDecibels(reduction); ScriptSlider1.setValue(reduction);
});
Thank you! -
@liyan Post a snippet. Also what version of HISE are you using?
-
@d-healey i'm using 21.0 version, i follow your instruction and built it a few day ago. Sorry, am newbie and too less infom about script
-
Looks like you skipped #10
#10 - Start Timer
-
@dustbro Thank you Author's instruction post reply, no, i don't skip step 10.
But almost code i'm manually adding, i think it wrong here, because some steps following you, when press ESC button, nothing display.
Eg. var reduction = Dynamics1.getAttribute(Dynamics1.CompressorReduction);
I don't see the yellow entry like you : Dynamics1.Dynamics1.CompressorReduction (yellow colour)..![alt -
Thank you, i did it