• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    Set and Get Global Values with triggers

    How To... ?
    5
    14
    2.4k
    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.
    • DusXD
      DusX Tech Staff
      last edited by DusX

      you can treat triggers as boolean.  (Which they are).

      1 = trigger

      0 = at rest (no trigger)

      I think a comparator will test a trigger against a value (not at my machine right now)

      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 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

      markM 1 Reply Last reply Reply Quote 0
      • markM
        mark @DusX
        last edited by

        @dusx said:

        you can treat triggers as boolean.  (Which they are).

         Well, that's not exactly true. A trigger always sends a '1'... it is the act of transmission that signals the trigger. A trigger will never send a 0. So a comparator won't actually work.

        That said, my tests show you can send triggers through the get/set global values actor. This setup works fine:

        Best Wishes,
        Mark

        Media Artist & Creator of Isadora
        Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

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

          Oops. I stand corrected. ☺

          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 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

          1 Reply Last reply Reply Quote 0
          • D
            dritter
            last edited by

            Thank you Mark, the problem I have is that an original pair of Set and Get actors will work, but if these actors are copied and their Set and Get names changed, such as triggertest being changed to triggertest2, the GetGlobal Values actor will not receive.  Please see attached.

            thank you

            Don

            getvalues-test.izz

            Izzy 2.6.1 USB | MBP (mid 2015) 2.8 GHz i7, 16GB, AMD Radeon R9 | OSX 10.11.6
            Corsair One, 3.7 GHz i7, 32GB, GTX1080 | Windows 10

            1 Reply Last reply Reply Quote 0
            • D
              dritter
              last edited by

              Mark, I just created a patch that sends triggers using Set and Get Values, but if I save and close the patch, it will not send triggers when it is reopened. This is only happening with triggers, but everything is fine with text and numbers.

              all the best,
              Don

              Izzy 2.6.1 USB | MBP (mid 2015) 2.8 GHz i7, 16GB, AMD Radeon R9 | OSX 10.11.6
              Corsair One, 3.7 GHz i7, 32GB, GTX1080 | Windows 10

              markM 1 Reply Last reply Reply Quote 0
              • SkulptureS
                Skulpture Izzy Guru
                last edited by

                Try and enter scene trigger actor. 

                Graham Thorne | www.grahamthorne.co.uk
                RIG 1: Windows 11, AMD 7 Ryzen, RTX3070, 16gig RAM. 2 x M.2 SSD. HD. Lenovo Legion 5 gaming laptop.
                RIG 2: Windows 11, Intel i19 12th Gen. RTX3070ti, 16gig RAM (ddr5), 1x M.2 SSD. UHD DELL G15 Gaming laptop.
                RIG 3: Apple rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                1 Reply Last reply Reply Quote 0
                • markM
                  mark @dritter
                  last edited by

                  @dritter said:

                  Mark, I just created a patch that sends triggers using Set and Get Values, but if I save and close the patch, it will not send triggers when it is reopened

                   Recreated and fixed for the v2.6 release, which is very soon.

                  Best,
                  M

                  Media Artist & Creator of Isadora
                  Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                  markM D 2 Replies Last reply Reply Quote 0
                  • markM
                    mark @mark
                    last edited by

                    @dritter 

                    Keep this important point in mind: while you can use the Set/Get Global Values actors like a Broadcaster/Listener pair, it's not a super good idea to do so. Every time you change even one value (and that includes the new trigger value), every item in the Set Global Values actor is sent to the any Get Global Values actor in the same scene. If you have a really long list of values, that might become computationally expensive.

                    Best Wishes,
                    Mark

                    Media Artist & Creator of Isadora
                    Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

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

                      @mark

                      Out of curiosity (for my own work) is sending a longish text string rather than numerous values likely to be less costly?

                      The text would be the values as json, so the length is related to the number of values.

                      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 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                      markM 1 Reply Last reply Reply Quote 0
                      • markM
                        mark @DusX
                        last edited by

                        @dusx said:

                        Out of curiosity (for my own work) is sending a longish text string rather than numerous values likely to be less costly?

                        No, it really wouldn't matter. And for most uses it's fine. It's just hooking up something like an Envelope Generator to a Set Global Values with 100 inputs wouldn't be a good idea.

                        Best,
                        M

                        Media Artist & Creator of Isadora
                        Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

                        1 Reply Last reply Reply Quote 1
                        • D
                          dritter @mark
                          last edited by

                          great, thank you Mark.

                          all the best,
                          Don

                          Izzy 2.6.1 USB | MBP (mid 2015) 2.8 GHz i7, 16GB, AMD Radeon R9 | OSX 10.11.6
                          Corsair One, 3.7 GHz i7, 32GB, GTX1080 | Windows 10

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