syncing QT with midi

jsr_'s icon

hi forum,

i am building an installation with audio, video and sound. the sound is linked to the quicktime movie, so the sync is rock solid here. i am using midi signals to control the lights via DMX. the whole installation is described more in detail here: https://cycling74.com/forums/permanent-installation-advice-on-stability-needed

so far i have been playing the audio and midi from pro tools, doing the DMX parsing in max/msp.

i have recorded the midi data from pro tools within max using the 'seq' object, sending it 'record'. i send a midi note in the beginning of the timeline, and i use this to trigger the video in time.

now than i am trying to make everything run from max, the midi is drifting out of sync!

is there a way to link the video with the midi timecode? my original idea was having QT play back the midi, but i found that it is impossible to route this data out of QT -- i can only use the data to play music with the QT midi engine?!?

when i look at the movie tracks in the QT inspector, i can see i have an audio time code track right there. can i use this to control the seq object? how?

please help!

jsr_'s icon

ps: i have been looking at the jit.qt.movie documentation i can find the timecode command. but i am quite new to max and i don't really know how to treat (get) commands.... if this is the way to go, can someone please post an example patch for retrieving timecode from a QT? thanks!

jsr_'s icon
Max Patch
Copy patch and select New From Clipboard in Max.

ok, i made a simplified patch showing my setup. this might be easier to give feedback on. attached is a midi file. the midi file sends midi note 33 to trigger the movie start.

i am still lost. please help.

2397.singletrackexport.mid
mid