HISE Logo Forum
    • Categories
    • Register
    • Login

    How do I get an LFOs current "stage"?

    Scheduled Pinned Locked Moved General Questions
    4 Posts 3 Posters 165 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,
      How can get the current "stage" an LFO in real time?
      I don't mean the .getCurrentLevel function. Something that holds the stage from 0 to 1 regardless of the current level or curve.

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

        I think this is a job for global cables (but don't ask me how to use them)

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

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

          @d-healey I came up with a very impractical workaround involving a secondary LFO fixed in a saw shape, tied to the frequency of the original LFO. But for a project involving multiple LFOs, it creates more problems than it solves.

          I there a simpler way?

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

            @RastaChess Since the oscillator does not output its "position" I can't think of a solution to give you anything else than its current level... So the second oscillator with a saw shape is exactly what I would have done despite the apparent funkyness...

            Maybe it would be possible to add this as an output to the oscillator if it's useful for enough people, @Christoph-Hart ?

            Can't help pressing F5 in the forum...

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

            26

            Online

            1.7k

            Users

            11.8k

            Topics

            102.6k

            Posts