• 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

    Confusion about Counter max limit (cannot go above 100)

    How To... ?
    4
    10
    3656
    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.
    • eight
      eight last edited by

      I am using a Counter actor to drive the subtitles (on the infamous Augmented Theatre App). The subtitle technician presses keyboard key, which increments the counter value, which then is sent to a javascript actor, who advances text to the next line, which goes into the OSC Multi Transmit. However, the Counter stops at 100 (so I can only show first 100 lines in the text). I was hoping to let it go above 100 by adjusting the MAX value in the "maximum", "cur value", "output" fields, but to no avail.

      Is it possible to increase the maximum count the Counter produces above 100 at all?
      Thanks.
      -8

      e4f604-screen-shot-2016-09-23-at-11.00.10-am.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
      • DusX
        DusX Izzy Guru last edited by

        @eight.

        You simply need to edit the 100 -> your larger number.
        Leave the scaling min max, as MIN and MAX.

        7e2adb-countabove100.jpg

        ๐ŸŽ›๏ธ TroikaTronix Professional Services
        https://troikatronix.com/professional-services

        ๐ŸŽซ Support Tickets
        https://support.troikatronix.com/support/tickets/new

        ๐Ÿ’ป Add-ons
        https://troikatronix.com/add-ons/?u=dusx

        ๐Ÿงช GitHub Projects
        https://github.com/rwebber

        ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

          @DusX

          I try this solution, it doesn't works, you edit to 1000 but when the counter reach 100, it stops.
          @eight
          I make a very lazy dirty quick solution. It works very well. I try with Javascript, I was stopped by the global variable problem but it's doable.
          @mark
          A counter ++ not limited to 100?

          5498e9-supercounter.png

          Jacques Hoepffner http://hoepffner.info
          GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
          MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
          MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
          MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

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

            @DusX and @jhoepffner โ€“โ€“ Thanks guys, your solutions work.

            --8

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

              @DusX

              You was right, I was directly to the inside limits

              Jacques Hoepffner http://hoepffner.info
              GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
              MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
              MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
              MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

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

                @jhoepffner What is the global variable problem?

                ๐ŸŽ›๏ธ TroikaTronix Professional Services
                https://troikatronix.com/professional-services

                ๐ŸŽซ Support Tickets
                https://support.troikatronix.com/support/tickets/new

                ๐Ÿ’ป Add-ons
                https://troikatronix.com/add-ons/?u=dusx

                ๐Ÿงช GitHub Projects
                https://github.com/rwebber

                ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

                  @DusX

                  I send you my try to do a counter with Javascript, the problem is I dont find the way to keep the value between two calculation. In my test I do it externally with Isadora Global Values actor.
                  Jacques

                  069b50-super-compteur.izz

                  Jacques Hoepffner http://hoepffner.info
                  GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                  MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                  MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                  MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

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

                    @jhoepffner

                    with this js you have an initialize option and the value stays in the java script actor
                    you loose the option to change the current value on the fly, but with some more if clauses and a buffer this could be implemented as well
                    best clemens
                    ---------------
                    function main()
                    {
                    var i = arguments[0]; //initialize value
                    main = function()
                    {
                    var j = arguments[1]; // 0-1 to add
                    var k = arguments[2]; // 0-1 to sub
                    var out = [];
                    if (j == 1){
                    i = i + 1;
                    }
                    if (k == 1){
                    i = i - 1;
                    }
                    out [0] = i;
                    return out;
                    }
                    }
                    ----------

                    avk4.net

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

                      As @m_theater has written. Returning a new main() function is a great method. You can also define vars before the main() and they will be global in scope. I have written a little something on this here: http://www.dusxproductions.com/blog/pro-tip-jstips-init/

                      ๐ŸŽ›๏ธ TroikaTronix Professional Services
                      https://troikatronix.com/professional-services

                      ๐ŸŽซ Support Tickets
                      https://support.troikatronix.com/support/tickets/new

                      ๐Ÿ’ป Add-ons
                      https://troikatronix.com/add-ons/?u=dusx

                      ๐Ÿงช GitHub Projects
                      https://github.com/rwebber

                      ๐Ÿ–ฅ๏ธ Win11 | i7 | RTX 4070 | 32GB RAM | Ontario, Canada

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

                        @DusX,ย @m_theater,

                        Thank you for the javascript lesson, it works.

                        Jacques Hoepffner http://hoepffner.info
                        GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
                        MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
                        MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
                        MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

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