Multiple video files playback via MIDI

IvnOs's icon

Hi.
At first sorry for my bad Eng.
At this moment i'm working on a video player (not actually video, because i'm using pictures).
I'm a little bit noob with jitter.

Well... My idea is to make a patch that can playback multiple video files at the same time by triggers that are made by MIDI notes.
Of course i understand that to make a multiple playback, i should use multiple [jit.qt.movie].
I've already made a patch that can play one file, but i need a solution wich will filter my MIDI messges from chords.

For example i have 3 [jit.qt.movie] which are connected with [note in] and made a chord 60, 63, 67; so my players are playing videos that are mapped to that numbers.
And here comes the firs problem...
I can't really understand how to make a summation and separation of notes from chord to make players play different files. I understand that it is a good idea to firstly form a list from them by the order i pressed notes, than separate this list (unpack may be?). But how to make a list from coming MIDI notes, i can't really remember.
Also i need some sort of append function to list of note numbers with some kind of "steal oldest" function, to remoove only old one notes.
Any tips will be really helpful, because at this moment i'm totally stuck.

Also here is what i have for now

Max Patch
Copy patch and select New From Clipboard in Max.

IvnOs's icon

Making "UP" after total edit of theme.

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

After some manipulations i made something like this to form a list of notes but
1) List forming a little bit strange (one note repeating twice)
2) I still do not understand how to make output of the list any time a new note is pressed. And i really don't need to output the whole list, i just need to made it possible to remove last pressed note by newly pressed one...
A really need some help here, because i think that i'm doing it not the pimpliest way.

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

This should allow you to separe notes from a chord...

IvnOs's icon

Cool! Thanks =)
I really made a stupid way, here is what i've done before your answer

Max Patch
Copy patch and select New From Clipboard in Max.

Ernest's icon

It's for exactly such needs I made polyvoice, which I posted to the toolbox yesterday. The video files can then play as many as needed in poly~ units. I am working on a more advanced design, here it is.

IvnOs's icon

Ernest, this is totally awesome! Thanks!