HISE Logo Forum
    • Categories
    • Register
    • Login

    MPE Help

    Scheduled Pinned Locked Moved General Questions
    5 Posts 2 Posters 261 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.
    • C
      crd
      last edited by

      Is there a way to invert an MPE modulator similar to a normal CC modulator?

      1 Reply Last reply Reply Quote 0
      • C
        crd
        last edited by

        @Christoph-Hart There must be a way to do this via scripting that I am missing...

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

          @crd By grabbing a type table script reference of your MPE envelope modulator you should be able to perform the inversion directly on the table:

          const var MPEModulator1 = Synth.getTableProcessor("MPE Modulator1");
          
          inline function oninvertBtnControl(component, value)
          {
          	MPEModulator1.setTablePoint(0, 0, 0.0, value, 0.5);
          	MPEModulator1.setTablePoint(0, 1, 1.0, !value, 0.5);
          };
          Content.getComponent("invertBtn").setControlCallback(oninvertBtnControl);
          

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

          C 2 Replies Last reply Reply Quote 1
          • C
            crd @ustk
            last edited by

            @ustk Thank you. That looks like the nudge I needed. I will try to implement that now.

            1 Reply Last reply Reply Quote 0
            • C
              crd @ustk
              last edited by crd

              @ustk

              Success! Thank you

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

              26

              Online

              1.8k

              Users

              12.0k

              Topics

              104.2k

              Posts