• 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

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

    How To... ?
    4
    7
    1411
    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 Izzy Guru @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 STD 4.2 | USB 3.6 | + Beta
        MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
        Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
        A range of deployable older Macs

        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: 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

          bonemap 1 Reply Last reply Reply Quote 3
          • bonemap
            bonemap Izzy Guru @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 STD 4.2 | USB 3.6 | + Beta
            MBP 16” 2019 2.4 GHz Intel i9 64GB AMD Radeon Pro 5500 8 GB 4TB SSD | 14.5 Sonoma
            Mac Studio 2023 M2 Ultra 128GB | OSX 15.3 Sequoia
            A range of deployable older Macs

            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: https://support.troikatronix.com/support/tickets/new
              Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
              Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
              Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

              | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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