Apply video effect while serial in watcher message recieved
-
I have an Arduino communicating with Isadora using the serial in watcher.
I would like whenever a message is received to apply an effect to a video and to stop when the message stops receiving. What would be the best way to achieve this?For example, A video is playing through Isadora. When the sensor is being triggered on the Arduino, the video applies a kaleidoscope effect. When the sensor isn't being triggered the video continues playing as normal. -
There are sure many ways to do it in Isadora, I have attached one of them.
Best Michel
9b6f1b-serialeffecttrigger.izz -
Thanks a lot for your help!
I have tested this and it works great however it takes a while for it to "return to normal", a few seconds. Are there any alternative ways that are more responsive. -
Tap tempo was my first thought as well.
As for another approach, It sort of depends what your data stream looks like.Is there any indication the stream will end.. like a change in value?Changing Michels patch thresholds will also help. If you can be sure that your serial watcher sends at a high rate, you can increase the Inside range to 0/130 **OR** zero as low (doesn't hurt), and the High as high as you can that is below what you see in the 'tap tempo' when the serial in watcher is active. Also, increasing the pulse rate to 2 or 3 will cut the response time... it depends on the rate your serial data is being received. -
Like DusX is saying, change the frequency from the pulse generator to 3Hz and the inside range low to 0 and high to 180, that gives you a faster response and you can even try with higher values but it really depends what you input is.