HISE Logo Forum
    • Categories
    • Register
    • Login

    Getting a modulators value into my code

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 85 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.
    • LindonL
      Lindon
      last edited by

      I have a timer callback that is moving some position on my XY pad. I'd like to modulate this position with a (Global) Modulator LFO... so essentially I'd like to call:

      myGlobalModulator.getValue();

      But that (currently) doesnt exist, so is there some way I can evaluate the value of a modulator directly?

      HISE Development for hire.
      www.channelrobot.com

      Christoph HartC 1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @Lindon
        last edited by

        const var LFOModulator1 = Synth.getModulator("LFO Modulator1");
        
        Console.print(LFOModulator1.getCurrentLevel());
        
        LindonL 1 Reply Last reply Reply Quote 3
        • LindonL
          Lindon @Christoph Hart
          last edited by

          @Christoph-Hart thanks - damn it - t-shirt time again....

          HISE Development for hire.
          www.channelrobot.com

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

          19

          Online

          1.7k

          Users

          11.8k

          Topics

          102.5k

          Posts