HISE Logo Forum
    • Categories
    • Register
    • Login

    How to invert constant modulator? (Solved)

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 275 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.
    • nouslouN
      nouslou
      last edited by nouslou

      Hi everyone! Is there is a way to invert constant modulator? What I need: I have a knob on my interface which is control the start position of samples. And I managed to connect it via script to the constant modulator and it works great, but right now when Knob on the interface and Const. Modulator are on minimum value - samples starts at the maximum modulation points. And when Const. Modulation and Knob are on maximum - samples start as normal (like without SampleStartMod). Maybe I'm doing something wrong? I am hope for your help :)

      Right now my script looks:

      inline function onKnob11Control(component, value)
      {
      	Constant1.setIntensity(value);
      	Constant2.setIntensity(value);
      };
      
      Content.getComponent("Knob11").setControlCallback(onKnob11Control);
      
      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        1 - value

        nouslouN 1 Reply Last reply Reply Quote 2
        • nouslouN
          nouslou @Christoph Hart
          last edited by nouslou

          @Christoph-Hart Ahh )) Thank's a lot!!

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

          16

          Online

          1.7k

          Users

          11.8k

          Topics

          102.6k

          Posts