Easy, simple…JPEG display

Jun 16, 2006 at 2:07am

Easy, simple…JPEG display

Hello I am just learning Max/MSP and am kind of stuck. I’m sure that this is really simple but I can’t seem to find any mention of what I am trying to do in any of the Tutorials or Manuals. Any help is totally appreciated. Thanks in advance. I am experimenting with controlling video parameters with audio. I have built some things that do this in kind of cool ways with Movies in Jitter but I would like to try some things with just JPEGs. How do you display just a JPEG? I’d like to start with just having say, five different JPEG Images, each assigned to a certain range of frequency and I’d have a random pitch generator playing along with a corresponding JPEG.
Thanks a lot for your help.
-B

#26441
Jun 16, 2006 at 2:26am

You load it as you would any other movie, and
start banging the jit.qt.movie object. Think of it
as a movie with only one frame.

#79053
Jun 16, 2006 at 5:47pm

I display jpegs using the following JS:

var level = new JitterObject(“jit.qt.movie”);
level.read(homedir+”roundlevel_0″+levelarg+”.jpg”);
level.window = “water”;

060606 > Down with Serious Games,
a conference on serious games and play,
Tuesday, June 6, 2006, Moffitt Library, UC Berkeley, Center for New
Media

http://art.berkeley.edu/060606

#79054
Jun 17, 2006 at 4:38am

Thanks a lot for the advice! It’s a great start for me, I appreciate it. Java Script is way over my head right now but I’ll keep the code for when and if I can ever get to working with it.
Thanks again,
-B

#79055

You must be logged in to reply to this topic.