Dynamic metro objects for multiple video players in JS
Hello!
I'm a bit stuck. I'm trying to playback multiple video files using midi. When a folder is loaded into the JS program, a jit.movie object is created for each video in the folder. The issue comes from how to play each video. I don't seem to be able to use timeouts with JS in max so I have a counter object in the patch to count through the frames of each video, however, I can only do this for one video at a time and can't play them back polyphonically.
Any hints or solutions would be fantastic!
Thanks :)
to keep your player exactly as is, (not using other means of playback
but keep that frame count)
you could count movies in the folder and create as many poly instances of
that frame counter.
And post frame count for each instance when loading movies.
It would be easier to transpose input notes to start with poly~ instance 1 = movie 1
instead of using -60 in js code ...