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

Navigation

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

    [ANSWERED] How to have LeapMotion watcher trigger a video at random

    How To... ?
    4
    7
    539
    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.
    • R
      RollinLikeThunda last edited by mark

      Sorry for the clumsy wording, let me see if I can explain what I mean:

      I'm trying to link the LeapMotion Watcher's "tap" parameter to the movie player loaded with 7 videos.  I want each "tap" to trigger one of those movies to play at random.  Using a combination of the random actor and value limiter, I've made it so that the max value that can be output is 7.  However, it seems that when tap is triggered, the video output stays on 7 and will not go any lower.  So the limiter is doing what it's supposed to, but I need other videos to play besides 7.  For this situation, should I instead be using 7 movie players (1 for each video) and try to make "tap" trigger one movie player at random instead?  I appreciate solutions!  Screenshot of my basic setup below:

      bonemap 1 Reply Last reply Reply Quote 0
      • bonemap
        bonemap @RollinLikeThunda last edited by bonemap

        @rollinlikethunda said:

        the limiter is doing what it's supposed to

         Hi,

        The limiter is not doing what you need it to do. Because you have the incoming 'limit min' and 'limit max' set to 1 - 7, the Limit-Scale Value is ignoring all of the values greater than 7 that are being generated by the Random. The correct setting for this is for 'limit min' to be set to 0, and 'limit max' to be set to 100. You could also introduce a Float to Integer actor before the Movie Player.


        Best wishes

        Russell

        http://bonemap.com | Australia
        Izzy 3 STD/USB 3.2.6 | + Beta
        MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 12.6.3 Monterey
        Mac Studio 2022 M1 Max 32GB | OSX 13.3.1 Ventura

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

          I think the shuffle actor may also help.

          That way it never plays the same video twice without playing the remaining 'seeded' videos.

          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

          bonemap 1 Reply Last reply Reply Quote 3
          • bonemap
            bonemap @Skulpture last edited by

            @skulpture said:

            the shuffle actor may also help

             Yes, I think you are right about that!

            Best wishes

            http://bonemap.com | Australia
            Izzy 3 STD/USB 3.2.6 | + Beta
            MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 12.6.3 Monterey
            Mac Studio 2022 M1 Max 32GB | OSX 13.3.1 Ventura

            1 Reply Last reply Reply Quote 2
            • Woland
              Woland Tech Staff last edited by Woland

              You don't even need the Limit Scale Value actor (also adding a Get Media Count actor makes your life a bit easier)

              TroikaTronix Technical Support
              New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
              TroikaTronix Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              TroikaTronix Add-Ons Page: https://troikatronix.com/add-ons/

              | Isadora 2.6.1 + 3 | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s | Macbook Pro (Retina, 15", Mid 2015), macOS 10.11.4, 2.8GHz Intel Core i7, 16GB RAM, Intel Iris Pro 1536 MB |

              1 Reply Last reply Reply Quote 1
              • R
                RollinLikeThunda last edited by

                Thank you @Skulpture @bonemap and @Woland!  This is just what I needed; I see why it wasn't working for me before.  I tried both solutions, and they are both working as planned.  Good point also, about making sure the same video doesn't play twice--I hadn't thought of that, but it's definitely not the behavior I want--so I will be using shuffle in my setup for sure.  

                Much appreciated!!

                Skulpture 1 Reply Last reply Reply Quote 2
                • Skulpture
                  Skulpture Izzy Guru @RollinLikeThunda last edited by

                  @rollinlikethunda said:

                  Thank you @Skulpture @bonemap and @Woland!  This is just what I needed; I see why it wasn't working for me before.  I tried both solutions, and they are both working as planned.  Good point also, about making sure the same video doesn't play twice--I hadn't thought of that, but it's definitely not the behavior I want--so I will be using shuffle in my setup for sure.  
                  Much appreciated!!

                   Welcome. I use random a lot and the random actor is great but when the same video or audio plays two or three times i can often feel wrong or broken. Then I discovered shuffle! #gamechanger 

                  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 1
                  • First post
                    Last post