Multiple video files playback via MIDI

Oct 11, 2013 at 3:48am

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

– Pasted Max Patch, click to expand. –
#267748
Oct 13, 2013 at 6:09am

Making “UP” after total edit of theme.

#267914
Oct 15, 2013 at 11:34am

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.

– Pasted Max Patch, click to expand. –
#268148
Oct 16, 2013 at 6:57am

This should allow you to separe notes from a chord…

<code>

– Pasted Max Patch, click to expand. –

</code>

#268205
Oct 16, 2013 at 11:51am

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

– Pasted Max Patch, click to expand. –
#268225
Oct 19, 2013 at 5:47pm

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.

#268486
Oct 20, 2013 at 6:39am

Ernest, this is totally awesome! Thanks!

#268505

You must be logged in to reply to this topic.