Forums > Jitter

Trying to use sensor data to forward or reverse the direction of a video.

Mar 02 2012 | 6:36 pm


I am a beginner, thank you in advance for your help. I am trying to figure out how to get a potentiometer to control the speed and direction of a video.

I have seen it done here with a photoresistor:

and here with a linear potentiometer:

I just don’t know how to approach this in jitter but I believe this is the best program. Again any help or suggestions would be greatly appreciated.

Mar 02 2012 | 7:39 pm

Yes – this can easily be done with Jitter objects. The object has attributes for controlling both of these.

The main question is what kind of sensor do you want to use, and how do you plan on interfacing with Max? (Arduino, Wiimote, Kinect, etc.) If you can give me some more details on the project, I can help point you down the right path.

– Marc P.

Mar 02 2012 | 7:50 pm

Dear Marc P.,

I am using a hotPot potentiometer and arduino. I have the hotPot hooked up to a hand crank and I am trying to allow for the viewers to control the speed and direction of an animation via a hand crank. When the hand crank is forwarding, I can get a serial read and by how much (1 revolution =24 frames), and reversing creates a negative number. If the hand crank is idle, a zero is displayed.

Again thank you,

Mar 03 2012 | 12:55 am

OK – I think I get the basic idea of what you are trying to do here. (Cool concept.) Look at the incdec object. Use that in conjunction with the object. Specifically, use the incdec object to increase/decrease the value of the frame numbers. That should accomplish what you want to do.

Mar 03 2012 | 4:40 pm

Thank you I will give it a try.

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > Jitter