Forums > MaxMSP

Rotary Encoder + Arduino + Controlling Rate of QT in Jitter

April 23, 2008 | 4:53 am

I’m an graduate animation student, and perhaps I have no business posting to this forum as I’m really really new to this whole interactive realm, but I got a deadline for a project coming up, and wondered if there existing sources for code to do the following:

I made an animation of sexy ladies doing sexy things, and I’m trying to make a replica of a "Cail O Scope" which is an old motion picture device that allowed the user to "play" a series of stereo images by turning a crank.

I have an arduino, I have a rotary encoder that provides "Up to 24 full quadrature outputs per revolution"

I have a super simple jitter patch that has a rate control setting for a stereo quicktime clip.

What I don’t have is the proper code for an arduino sketch to output data that could be translated into rotation speed by jitter. I also don’t have a clue how to translate the arduino data to read the speed of rotation and connect it to the rate of quicktime player.

Any leads would be greatly appreciated, in return, I could offer collaborator credits when the piece is exhibited.

Thank you for your time,
Melissa


April 23, 2008 | 8:19 am

hi Melissa
You could try this:

http://www.mdhosale.com/md_arduino/
MD Arduino is a collection of sample code showing how to get the
Arduino Diecimila to communicate with Max/MSP and Processing. The
collections includes examples of how to receive input from the
Arduino Diecimila, controlling servos, and combine the two on the
same board.

this solution relies heavily on the js javascript object to work.
If have any questions, please feel free to email me on or off list.
Also, if it works out then I wouldn’t need collaborator credit, but
if you want to cite the source that would be okay.

to be democratic and helpful (and not just self promoting), there are
other solutions listed here on the Arduino playground (excellent
source if you don’t know it yet):

http://www.arduino.cc/playground/Interfacing/MaxMSP

cheers-
MarkDavid

On Apr 22, 2008, at 9:53 PM, Melissa Bouwman wrote:

>
> I’m an graduate animation student, and perhaps I have no business
> posting to this forum as I’m really really new to this whole
> interactive realm, but I got a deadline for a project coming up,
> and wondered if there existing sources for code to do the following:
>
> I made an animation of sexy ladies doing sexy things, and I’m
> trying to make a replica of a "Cail O Scope" which is an old motion
> picture device that allowed the user to "play" a series of stereo
> images by turning a crank.
>
> I have an arduino, I have a rotary encoder that provides "Up to 24
> full quadrature outputs per revolution"
>
> I have a super simple jitter patch that has a rate control setting
> for a stereo quicktime clip.
>
> What I don’t have is the proper code for an arduino sketch to
> output data that could be translated into rotation speed by jitter.
> I also don’t have a clue how to translate the arduino data to read
> the speed of rotation and connect it to the rate of quicktime player.
>
> Any leads would be greatly appreciated, in return, I could offer
> collaborator credits when the piece is exhibited.
>
> Thank you for your time,
> Melissa


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