Multiple video files playback via MIDI
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
Making "UP" after total edit of theme.
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.
This should allow you to separe notes from a chord...
Cool! Thanks =)
I really made a stupid way, here is what i've done before your answer
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.
Ernest, this is totally awesome! Thanks!