OSC + calculate highest number.

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

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

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

  • Hi @mark

    Yes I'm running 2.0, I'd really appreciate a Javascript example if you could that would be fantastic.