Wacom tablet XY data /lcd and jit.lcd object ..help
I am hoping that somebody can help me with two hurdles which I have encountered with my max patch.
I am using a wacom tablet for two specific tasks and am having some problems with extracting the data in a way that I can use it.
The first issue is that I want to extract different ranges of XY data which will be used to trigger different functions within my patch, dependent on where a user touches the wacom tablet. For example the XY location mapped for one function is if the user touches within these parameters: X5000 to X7000 and Y5000 to Y7000. The second function would be when the user touches within the range X7001 to X9000 and Y7001 to Y9000 and so on.
I have tried using both the if and multi-split objects but as far as I can see I can only use the range X5000 and Y5000 and not X to X and Y to Y. Can anybody suggest another object or another way of using the if and multi-split object to carry out the function.
My second hurdle is that I want a user to draw onto the tablet, I want what they are drawing to be replicated onto a screen. Initially I was using the lcd object and after a bit of tweaking I was able to get this to work, however I have a video playing at the same time and wish the video to stop when the drawing on the wacom tablet starts and for the screen to then flick to what is being drawn on the tablet. I tried the jit;lcd object and this was not successful because the video would stop but the frame image remained on the jit.lcd object and the drawing from the tablet was missing. Once the user has stopped drawing on the tablet I want the movie to start playing again from the pause position. Does anybody have any suggestions on any objects or what would be the best way to perform this function.
Any help or suggestions would be greatly appreciated as I have now been working on this particular issue for over two weeks with little success .. and a killer migraine.
Thanks in advance
for the range issue you might want to check out the ‘pack’ and ‘zl’ objects. You might want to look at the ‘peak’ object helpfile and look at where that takes you.
as for the jitter stuff. all that should be fairly straight forward using the mousestate info that comes out the right outlet. maybe you should go over the tutorials again. they are super handy.
Maybe you want to have jit.qt.movie and jit.lcd connected through jit.xfade?
Forums > MaxMSP