• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

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

    Set and Get Global Values with triggers

    How To... ?
    5
    14
    4011
    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.
    • DusX
      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
      • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
      • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

      Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

      mark 1 Reply Last reply Reply Quote 0
      • mark
        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

        DusX 1 Reply Last reply Reply Quote 0
        • DusX
          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
          • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
          • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

          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

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

                Try and enter scene trigger actor. 

                Graham Thorne | www.grahamthorne.co.uk
                RIG 1: Custom-built PC: Windows 11. Ryzen 7 7700X, RTX3080, 32G DDR5 RAM. 2 x m.2.
                RIG 2: Laptop Dell G15: Windows 11, Intel i9 12th Gen. RTX3070ti, 16G RAM (DDR5), 2 x NVME M.2 SSD.
                RIG 3: Apple Laptop: rMBP i7, 8gig RAM 256 SSD, HD, OS X 10.12.12

                1 Reply Last reply Reply Quote 0
                • mark
                  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

                  mark D 2 Replies Last reply Reply Quote 0
                  • mark
                    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

                    DusX 1 Reply Last reply Reply Quote 0
                    • DusX
                      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
                      • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
                      • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

                      Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                      mark 1 Reply Last reply Reply Quote 0
                      • mark
                        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