HISE Logo Forum
    • Categories
    • Register
    • Login

    How to Reset LFO to Start via script?

    Scheduled Pinned Locked Moved Solved Scripting
    2 Posts 1 Posters 119 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.
    • CyberGenC
      CyberGen
      last edited by

      Hi,

      I need a way to reset an LFO to the starting point of its oscillation, no matter where in the cycle it currently is. Ideally, I would like to do this via a script or control without relying on IgnoreNoteOn.

      I was going to request it as a feature, but I’m wondering if there’s already a way to force it back to its initial phase position. My goal is to achieve a clean LFO reset without affecting the rest of the synth or triggering unwanted sound events.

      I had posted about this a long time ago, but I can't find the post now.

      Has anyone managed to solve this issue or found a workaround to reliably reset the LFO in this manner?

      Any insights or suggestions would be greatly appreciated!

      Thanks!

      CyberGenC 1 Reply Last reply Reply Quote 0
      • CyberGenC
        CyberGen @CyberGen
        last edited by

        @CyberGen fortuitously discovered that setting the ignoreNoteOn to 1 acts as a reset signal. Whenever triggered, the LFO goes back to the start of it's cycle without having to play a note. You might sometimes need to set it back to 0 immediately (depending on what's required of the LFO) but it's a good workaround. :clinking_beer_mugs:

        1 Reply Last reply Reply Quote 0
        • CyberGenC CyberGen marked this topic as a question on
        • CyberGenC CyberGen has marked this topic as solved on
        • First post
          Last post

        43

        Online

        1.7k

        Users

        11.7k

        Topics

        101.9k

        Posts