• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    OSC + calculate highest number.

    How To... ?
    2
    5
    1.4k
    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.
    • simonS
      simon
      last edited by

      Hello,

      1\. I need to recieve 16 values each of which relates to a string (each has a single letter A-P) over OSC and then calculate which has the highest value and then trigger the string relating to that value. I can see how to do this with 16 osc listeners linked to the maximum actor and then 16 comparators that trigger text trigger actors (the text string in each of these updated by another 16 o/c listeners) if they match the output of the maximum actor but is there a better way of doing this more efficiently? (see attached image)
      2\. I want to add up 16 values sent to a single OSC channel, is the attached method of using a counter reliable? It seems to work fine but just wanted to check I wasn't missing something.
      Thanks for any suggestions/comments,
      Simon
      Mac / Isadora 2

      e03498-screen-shot-2015-03-23-at-23.59.36.jpg 9f0301-screen-shot-2015-03-24-at-00.05.28.jpg

      1 Reply Last reply Reply Quote 0
      • simonS
        simon
        last edited by

        1 Reply Last reply Reply Quote 0
        • simonS
          simon
          last edited by

          fb399f-screen-shot-2015-03-23-at-23.59.36.jpg

          1 Reply Last reply Reply Quote 0
          • markM
            mark
            last edited by

            Dear @simon,

            Are you running 2.0? The input part of your question would be the kind of thing that can be much more easily accomplished in the new Javascript actor.
            If you're running 2.0, I can try to make an example for you.
            Best Wishes,
            Mark

            Media Artist & Creator of Isadora
            Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

            1 Reply Last reply Reply Quote 0
            • simonS
              simon
              last edited by

              Hi @mark

              Yes I'm running 2.0, I'd really appreciate a Javascript example if you could that would be fantastic.
              Best
              Simon
              1 Reply Last reply Reply Quote 0
              • First post
                Last post