• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    Easy/beginner question - actor that matches an incoming value, outputs trigger?

    How To... ?
    3
    3
    1181
    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.
    • D
      davidcoll last edited by

      actor that allows you to match with an incoming value and it outputs a trigger? (I'd like to trigger an envelope generator at the moment of a specific value from 'position' in the movie player. (think 'sel' in max)

      DusX 1 Reply Last reply Reply Quote 0
      • DusX
        DusX Tech Staff @davidcoll last edited by

        @davidcoll

        'Comparator' is the actor you want. However, I suggest triggering not when a value == a specific value but rather when is greater than or less than.
        This will help ensure a trigger is sent. When comparing Decimal numbers it is possible the value jumps past without ever being tested at a time when it equals the value you are looking for.
        For example, the value from the envelope generator may be ramping up, and you want to send a trigger when the value is equal to 75.
        The values is getting close, its 74.85.... now on the next Isadora cycle the value is 75.1... Your test fails because the value never equals 75.
        So testing if the value is greater than 75 will ensure that it triggers.
        Another option, I sometimes use is to 'round' the incoming float to an Integer. You can be rather sure the Integer will occur during a cycle (although still a risk if its a very quickly changing value).
        Use 'Float to Integer' actor to convert a float to an integer (a number of conversion options are given, including Round)

        Troikatronix Technical Support

        • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
        • Isadora Add-ons: https://troikatronix.com/add-ons/
        • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

        Running: Win 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

        crystalhorizon 1 Reply Last reply Reply Quote 0
        • crystalhorizon
          crystalhorizon Beta Platinum @DusX last edited by

          @DusX interesting point about the cycles, I had that problem once and solved it with the float to integer actor and comparator set to equal.

          Alexander Nantschev | http://www.crystalhorizon.at | located in Vienna Austria

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