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

Mar 2, 2012 at 6:36pm

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


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 2, 2012 at 7:39pm

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 2, 2012 at 7:50pm

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 3, 2012 at 12:55am

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 3, 2012 at 4:40pm

Thank you I will give it a try.


You must be logged in to reply to this topic.