HISE Logo Forum
    • Categories
    • Register
    • Login

    Replacing ScriptModulationMatrix.getModValue in the new HISE

    Scheduled Pinned Locked Moved General Questions
    1 Posts 1 Posters 14 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.
    • GoodflowG
      Goodflow
      last edited by

      While the relocation of modulation values to LAF objects is a welcome upgrade, the old ScriptModulationMatrix.getModValue(var component) granted access to modulation values from anywhere, which made animated displays a breeze. You could simply use Slider 1's "getModValue" in the LAF of Slider 2, and it would react to the manual+modulated values of Slider 1.

      Now I'm not sure what the best practice is for this sort of thing.

      • Linking two Sliders doesn't seem to cause any inheritance of modulation values

      • adding a matrixTargetId to Slider 2 doesn't make a difference; it can't pick up obj.modulationActive or the respective values unless it's directly assigned

      • I tried sending modulation values from Slider 1's LAF into a registered variable, then to Slider 2's LAF. No luck.

      Is there a way to safely grab modulation values outside of their dedicated LAF objects?

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

      33

      Online

      1.9k

      Users

      12.3k

      Topics

      107.3k

      Posts