I’m trying to devise a way to automate loading simple jpg pictures into a (or several) jit.qt.movie object.
here’s the broader idea:
I’m using a photo camera that is equipped with an eye-fi SD card. Every time a picture is taken with it, that picture is automatically sent to a folder on my computer. with these pictures I’m creating a sort of "mosaic" type projection and I want to automate my patch so that every time a new picture appears into that folder it gets loaded into a jit.qt.movie object (replacing whatever was ther before), so that the camera on stage could be snapping away and picture automatically updating in the projections. Basically I’m trying to create a system akin to a "watchfolder" where max automatically updates whatever needs to be updated whenever a new file is dropped into the folder. I thought maybe using somesort of logic object combined with the filewatch or filedate object to detect new files, but I’m not too sure about that, and am not convinced it’s the best way to do it.
turns out the answer was already out there… I just hadn’t searched for the right keyword. this older thread turned out to be quite helpful http://cycling74.com/forums/topic.php?id=28192
a combination of filewatch, folder, and some ZL objects did just the trick.
cheers to the community!
C74 RSS Feed | © Copyright Cycling '74