HISE Logo Forum
    • Categories
    • Register
    • Login

    Modula

    Scheduled Pinned Locked Moved Scripting
    5 Posts 3 Posters 302 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.
    • andrei sA
      andrei s
      last edited by

      Hi!

      The Modulator.getCurrentLevel() value goes from 0 to 1 and returns back to 0.

      Is there a way to get normalized value of Modulator.getCurrentLevel() from 0 at the start of the cycle and 1 at the end?

      d.healeyD LindonL 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @andrei s
        last edited by d.healey

        @problema What about 1 - level? (that will invert that value)

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

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

          @problema
          df06bc66-2bad-4811-a094-76a2bb9d47f9-image.png

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 0
          • andrei sA
            andrei s
            last edited by

            Thanks for answer!
            Sorry, I forgot to indicate that I talk about sine wave cycle of LFO

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

              @problema said in Modula:

              Thanks for answer!
              Sorry, I forgot to indicate that I talk about sine wave cycle of LFO

              if you want a value to go from zero to one for each cycle you are not talking about a sine wave...

              HISE Development for hire.
              www.channelrobot.com

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

              12

              Online

              1.7k

              Users

              11.8k

              Topics

              102.3k

              Posts