HISE Logo Forum
    • Categories
    • Register
    • Login

    Smooth modulator with .getCurrentLevel();

    Scheduled Pinned Locked Moved Scripting
    4 Posts 2 Posters 198 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.
    • T
      tomekslesicki
      last edited by tomekslesicki

      Is there a way to smooth modulation data when using...?

      var lfoval = LFORouterGainMod.getCurrentLevel();
      

      I'm using it to route LFO to a few destinations in an FX plugin but even when I set the timer to a really low value, it still is a little steppy.

      LindonL 1 Reply Last reply Reply Quote 0
      • LindonL
        Lindon @tomekslesicki
        last edited by

        @tomekslesicki said in Smooth modulator with .getCurrentLevel();:

        Is there a way to smooth modulation data when using...?

        var lfoval = LFORouterGainMod.getCurrentLevel();
        

        I'm using it to route LFO to a few destinations in an FX plugin but even when I set the timer to a really low value, it still is a little steppy.

        well off the top of my head you could average the last few values....

        HISE Development for hire.
        www.channelrobot.com

        T 1 Reply Last reply Reply Quote 0
        • T
          tomekslesicki @Lindon
          last edited by

          @Lindon tell me more :-)

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @tomekslesicki
            last edited by

            @tomekslesicki in your timer call back:

            instead of using the LFO value - add the LFO value to an array (of say 5 values) and us the average of these 5 values

            Might work - might not but its pretty simple to build and try...

            HISE Development for hire.
            www.channelrobot.com

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

            43

            Online

            1.7k

            Users

            11.7k

            Topics

            101.9k

            Posts