clear all matrix
Hey guys!
I'm using a jit.grab for using the webcam of the computer. The toggle sets it on and off, but I want to clear the window from everything once I turn it off. Currently the picture stays from the last moment I turned it off.
The clear message isn't clearing.
Any ideas?
Thanks a lot :)
You have to make sure that your patch is doing the following in order:
Close the webcam connection;
Clear the internal matrix;
Make sure that the black matrix is output. For that effect, if your main metro is already turned off, you can send an explicit bang to jit.grab.
Max Patch
Copy patch and select New From Clipboard in Max.
Wonderful thank you Pedro