• 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
FORUM

Navigation

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

    Automating a Picture Sequence

    How To... ?
    3
    6
    2152
    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.
    • L
      lpearse last edited by

      Searching for collected wisdom…

      There's probably something obvious I'm missing, but I keep running into trouble trying to find an efficient way of flipping through a sequence of pictures repeatedly and automatically. 
      When I try to use the Wave Generator and scale the output value to correspond to the appropriate media numbers on a Picture Player, the output is nothing until it reaches those numbers, and then the Picture Player stops after the range has been surpassed.  
      When I scale the Wave Generator, it is complex to get the correct value, say between Media number 35 and 48, when trying to determine what percentage of all the media the range should be, and then this gets screwed up when I add new media. 
       I understand how to do this via multiple scene changes, but I don't want to do that because I want to keep other images and video stages static. 
      Surely there must be a better way to do this, I just can't figure it out or find a tutorial or help file about it. 
      Essentially I just want a value that will run from a minimum to a maximum at a given speed.  This seems to be what the Wave Generator should do but maybe I'm approaching it incorrectly?

      www.lukaspearse.ca

      Isadora Core + USB,
      MBP 2008 2.6, 6 GB RAM, Mac Mini 2011 2.5 i7 16 GB RAM
      MAX/MSP-Jitter, Ableton LIve, NI Mate, Syphon, Synapse... also Logic, Pro Tools, Adobe CS, Sibelius

      1 Reply Last reply Reply Quote 0
      • eight
        eight last edited by

        How about using a javascript to integrate its input, which produces 1 at a given frequency?

        in javascript operator type this:

        var sum = 0;

        function main()

        {

        sum += arguments[0];

        return sum;

        }

        add if statement and initial value for the sum in javascript to control the output range.

        Cheers,

        --8

        1795c4-screen-shot-2015-01-15-at-9.05.44-pm.png

        Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
        Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
        Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
        MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

        1 Reply Last reply Reply Quote 0
        • L
          lpearse last edited by

          Wow thanks I've never looked at those actors.

          But I also know practically nothing about java, my scripting started with Logo and ended with Basic… 
          But I can get this working, as you kindly illustrated, but I am missing where I add the if statements to control the output range.  
          Will this cycle back to the initial value?

          www.lukaspearse.ca

          Isadora Core + USB,
          MBP 2008 2.6, 6 GB RAM, Mac Mini 2011 2.5 i7 16 GB RAM
          MAX/MSP-Jitter, Ableton LIve, NI Mate, Syphon, Synapse... also Logic, Pro Tools, Adobe CS, Sibelius

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

            I think you want to use a:
             'pulse' generator,
            a 'counter' (that will give you the range and loop abilities)
            and output the values to the picture player.

            The pulse should trigger the 'add' of the counter.

            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
            • L
              lpearse last edited by

              Thanks, DusX, I knew there had to be a simple solution that didn't involve scripting, powerful as it is.

              The Pulse Generator is my new best friend. 

              www.lukaspearse.ca

              Isadora Core + USB,
              MBP 2008 2.6, 6 GB RAM, Mac Mini 2011 2.5 i7 16 GB RAM
              MAX/MSP-Jitter, Ableton LIve, NI Mate, Syphon, Synapse... also Logic, Pro Tools, Adobe CS, Sibelius

              1 Reply Last reply Reply Quote 0
              • eight
                eight last edited by

                To control the output range add a second input to the javascript actor and pass it an upper limit of the range. Then change javascript to this:

                var sum = 0;

                function main()

                {

                if (sum < arguments[1]) {

                     sum += arguments[0];

                }

                return sum;

                }

                Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
                Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
                Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
                MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

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