Forums > MaxMSP

sequencing video challenge (sci/art collaboration)

November 28, 2006 | 3:05 pm

original topic http://www.cycling74.com/forums/index.php?t=msg&goto=86695&rid=4712&S=2a2a0d1efe4b56c2f91e3620f62d0f56#msg_86695
Doc Op you were right, as soon as I triggerd four imovie objects the whole thing went pear shaped. I was really dissapointed that even the MIDI went in and out of tempo. The videos drift in and out of sync. the MIDI does go back to the correct tempo (after a few seconds)

Having a look at sync~ but I have just realised that the imovie has no audio! doh

I thought this one was going to be simple but is proving a headache.

for anybody reading, this is the challenge. (simplified)

I want to trigger four videos (with audio) of different lengths. the lengths are related musically i.e video 1 is 8 beats video 2 is 9 beats and so on
they will all loop but be sequenced from the same tempo base. polyrhythmic video if you like.

A four track step-time sequencer that allows each track to be a different length and can loop indefinitely could use single note on for the triggering of each video. this is where I am stuck!

I could maybe generate this behavior using logic audio and a VJ app like Grid pro, leave the audio in Logic and trigger the video via MIDI. No doubt I could capture the result and show that , but I really want this to run in real time so that we can all hear (and see) what the generative permutations sound like after a few hours. The nature of the polyrhythms means that there is no repeat point in the music for hours and hours.
If I get to exhibit this I will credit all who helped! Looks like I am looking for a sci/art collaboration contact me off list if you are interested, I am in London.
Thanks for reading.


November 28, 2006 | 3:46 pm

Hi, I tried to understand what you’re after. Is it something like this?

Cheers,
Mattijs

#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P comment 330 98 63 196617 current beat;
#P comment 52 62 20 196617 On;
#P hidden newex 393 78 72 196617 loadmess 150;
#P user jit.pwindow 291 135 82 62 0 1 0 0 1 0;
#N vpatcher 373 401 682 693;
#P window setfont "Sans Serif" 9.;
#P newex 120 88 60 196617 loadmess 1;
#P newex 120 107 57 196617 qmetro 40;
#N comlet (matrix) movie out;
#P outlet 50 200 15 0;
#P newex 50 107 68 196617 prepend time;
#P number 188 174 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P newex 188 191 46 196617 / 1000.;
#P message 142 230 67 196617 gettimescale;
#P newex 50 88 35 196617 * 0.6;
#P newex 142 191 43 196617 zl nth 1;
#P newex 142 211 31 196617 sel 1;
#P newex 142 155 103 196617 route read timescale;
#P comment 224 174 52 196617 timescale;
#P flonum 50 70 49 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 161 498 525 717;
#P window setfont "Sans Serif" 9.;
#P newex 40 96 29 196617 * 0.;
#N comlet (int) b;
#P inlet 40 29 15 0;
#P window linecount 1;
#P newex 61 70 49 196617 !/ 1000.;
#P window linecount 0;
#P newex 61 49 34 196617 / 60.;
#N comlet (int) bpm;
#P inlet 61 29 15 0;
#N comlet (float , ms) metro interval;
#P outlet 40 118 15 0;
#P connect 4 0 5 0;
#P connect 5 0 0 0;
#P connect 3 0 5 1;
#P connect 1 0 2 0;
#P connect 2 0 3 0;
#P pop;
#P newobj 50 50 42 196617 p b2ms;
#B color 5;
#P newex 50 135 102 196617 jit.qt.movie @rate 1;
#P inlet 29 115 15 0;
#N comlet (int) current beat;
#P inlet 50 30 15 0;
#N comlet (int) movie bpm;
#P inlet 82 30 15 0;
#P connect 1 0 4 0;
#P connect 4 0 5 0;
#P connect 5 0 10 0;
#P connect 10 0 14 0;
#P connect 16 0 3 0;
#P connect 14 0 3 0;
#P connect 11 0 3 0;
#P connect 2 0 3 0;
#P connect 3 0 15 0;
#P connect 12 0 10 1;
#P connect 0 0 4 1;
#P connect 17 0 16 0;
#P connect 3 1 7 0;
#P connect 7 0 9 0;
#P connect 9 1 8 0;
#P connect 9 0 8 0;
#P connect 8 0 11 0;
#P connect 7 1 13 0;
#P connect 13 0 12 0;
#P pop;
#P newobj 292 115 45 196617 p movie;
#B color 5;
#P comment 330 61 63 196617 read movie;
#P message 293 61 30 196617 read;
#P number 293 79 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P comment 330 79 63 196617 source BPM;
#P comment 177 62 45 196617 restart;
#P newex 159 80 21 196617 t 0;
#P button 159 62 15 0;
#P number 290 388 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 290 314 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N counter 0 0 11;
#X flags 0 0;
#P newobj 36 229 77 196617 counter 0 0 11;
#P number 290 245 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P number 292 97 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 36 62 15 0;
#P hidden newex 78 42 72 196617 loadmess 120;
#P number 78 62 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#N vpatcher 161 498 289 638;
#P window setfont "Sans Serif" 9.;
#P window linecount 1;
#P newex 17 70 49 196617 !/ 1000.;
#P window linecount 0;
#P newex 17 49 34 196617 / 60.;
#N comlet (int) bpm;
#P inlet 17 30 15 0;
#N comlet (float , ms) metro interval;
#P outlet 17 92 15 0;
#P connect 1 0 2 0;
#P connect 2 0 3 0;
#P connect 3 0 0 0;
#P pop;
#P newobj 78 80 65 196617 p bpm2mspb;
#B color 5;
#N counter 0 0 10;
#X flags 0 0;
#P newobj 36 208 77 196617 counter 0 0 10;
#N counter 0 0 9;
#X flags 0 0;
#P newobj 36 187 71 196617 counter 0 0 9;
#N counter 0 0 8;
#X flags 0 0;
#P newobj 36 166 71 196617 counter 0 0 8;
#P newex 36 100 52 196617 metro 50;
#P comment 115 62 33 196617 BPM;
#P fasten 15 0 2 3 164 164 86 164;
#P fasten 15 0 3 3 164 185 86 185;
#P fasten 15 0 4 3 164 206 89 206;
#P fasten 15 0 11 3 164 227 89 227;
#P connect 1 0 2 0;
#P connect 1 0 3 0;
#P connect 1 0 4 0;
#P connect 1 0 11 0;
#P connect 4 0 12 0;
#P lcolor 13;
#P hidden connect 23 0 18 0;
#P connect 21 0 22 0;
#P hidden connect 19 0 21 0;
#P hidden connect 9 0 21 1;
#P hidden connect 18 0 21 2;
#P connect 14 0 15 0;
#P connect 11 0 13 0;
#P lcolor 13;
#P connect 3 0 10 0;
#P lcolor 13;
#P connect 2 0 9 0;
#P lcolor 13;
#P connect 8 0 1 0;
#P connect 5 0 1 1;
#P hidden connect 7 0 6 0;
#P connect 6 0 5 0;
#P window clipboard copycount 26;


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