Forum

    • Register
    • Login
    • Search
    • Categories

    MPE Help

    General Questions
    2
    5
    104
    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
        • ustk
          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);
          

          I cannot help pressing F5 in the forum...
          Studio427 Audio - Audio Instruments & FX Plugins for music production. Website - Facebook

          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

              6
              Online

              977
              Users

              6.6k
              Topics

              60.6k
              Posts