HISE Logo Forum
    • Categories
    • Register
    • Login

    Please help to create VU Meter

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 346 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L
      liyan
      last edited by liyan

      vu-mt.png
      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/2

      My 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!

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @liyan
        last edited by

        @liyan Post a snippet. Also what version of HISE are you using?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        L 1 Reply Last reply Reply Quote 0
        • L
          liyan @d.healey
          last edited by liyan

          @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

          1 Reply Last reply Reply Quote 0
          • Dan KorneffD
            Dan Korneff
            last edited by

            Looks like you skipped #10

            #10 - Start Timer
            

            Dan Korneff - Producer / Mixer / Audio Nerd

            L 1 Reply Last reply Reply Quote 0
            • L
              liyan @Dan Korneff
              last edited by liyan

              @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 vu2.png

              1 Reply Last reply Reply Quote 0
              • L
                liyan
                last edited by

                Thank you, i did it

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                12

                Online

                1.7k

                Users

                11.8k

                Topics

                103.2k

                Posts