HISE Logo Forum
    • Categories
    • Register
    • Login

    Link animation speed to rate?

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 59 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.
    • M
      mjc123
      last edited by

      Say i have an animation that is looping constantly, linked to a time-based modulator such as an LFO.

      Can I link them together so that the animation speed/loop speed (no. of frames per second) increases in line with the LFO's speed/rate?

      And should I use being using lottie for this purpose or stick to usual HISE animations?

      Bit new to this still, thanks for your help!

      dannytaurusD 1 Reply Last reply Reply Quote 0
      • dannytaurusD
        dannytaurus @mjc123
        last edited by

        @mjc123 According to the docs, HISE doesn't have any built-in animation functionality.

        You have to set the animation rate yourself with a Timer.

        So it should be easy step to sync that Timer rate to a time-based modulator.

        Link Preview Image
        HISE | Scripting | ScriptPanel

        The ScriptPanel API methods

        favicon

        (docs.hise.dev)

        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

        M 1 Reply Last reply Reply Quote 1
        • M
          mjc123 @dannytaurus
          last edited by

          @dannytaurus Thank you for the guidance! I'll give it a go :)

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

          23

          Online

          1.9k

          Users

          12.4k

          Topics

          107.9k

          Posts