Send multiple values between User Actors with a single patch cord!
-
Looks really interesting. I still don't really understand Javascript properly. I need to spend more time with it.
-
Well if you are starting a big project. These 2 small scripts can save you hours of patching.. no need to learn any thing to gain here ;)
-
umbilical!
-
I have included these 2 scripts in a Javascript skeleton actor that I use now to start all JS based elements of my patches. . JS is proving very useful for video analysis (array sorting) in Izzy.. 'measure color' is my current favorite actor.
-
Performing some thread necromancy because I made an >>>EXAMPLE PATCH AND MACROS/USER ACTORS<<< for this wonderful concept.
All credit is due to DusX for the idea and the original tutorial though.
Best wishes,
Woland
-
@dusx very nice, but as Isadora is a node based system cant we have this as part of normal operations with actors? An user_input or user_output node for user actors that amalgamates signals?
-
@fred said:
@dusx very nice, but as Isadora is a node based system cant we have this as part of normal operations with actors? An user_input or user_output node for user actors that amalgamates signals?
All one would need to do is wrap it in a User Actor or Macro and it would be functionally the same as having a native actor; in some ways it would be even better because it has the potential to be more flexible.
At least that's my opinion.
Best wishes,
Woland
-
@woland Yes sure, that is true. One question, can I send video in one of the channels with this group actor?
-
-
@woland yes, I thought so, and I don't think it is possible with Javascript to do that, at least from this setup (comma separated fields). That is why I think it would be good to have this as a real user actor IO option.
-
@fred said:
That is why I think it would be good to have this as a real user actor IO option.
-
Agreed it would be cool to be able to bundle video. That said this is using standard JSON so it's useful for an number of things (web data etc..)
You can include a broadcast channel and pick it up on the other end to set a listener.. it works if you keep track of channels (namespacing would be better).
-
Don't forget that naming Javascript inputs and outputs is a feature coming in Isadora 3 ;)