Switch prob with video AND sound

flim's icon

hello!

i want to feed 1 single jit.pwindow with 3 different movies in random order, without triggering these videos from the beginning (without interrupting video run).

this works perfectly well up to now. i attached my patch to this thread.

but:
the sounds of all videos run permanently - although the jit.pwindow only shows 1 video at a time. how can i synchronize sound & video? (sound should simply stop when its video isn't shown)

i tried it with "decide" followed by "sel 0 1", but without success.. where's my misconception in this one?

cheers!

-jonas

FP's icon

maybe vps 4 tutotrial from andrew could be a really good start.

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

save as p-movie :

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

the patcher :

flim's icon

Ok, that somehow doesn't suite my idea, but thank you anyway! (I had the feeling my patch was getting close - yours looks quite "complicated" for a rather basic matter (ain't it?).

I'll try to work it out with jit.xfade & some sliders (used in a roughly manner, grin) and see what that does for me. And by that hope to manage the sound intervals as well!

Cheers!

Jonas

Rob Ramirez's icon

@vol 0 to qt.movie when you don't want to hear the sound.

flim's icon

Oh, I sure do!
Each sound to its own video! But up to now, the 3 videos change, while the sound of all 3 run all at once. Sound A doesn't disappear with video A - it just keeps running whilst the picture changes to video B...

Haven't found the solution yet, here my patch so far:

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

Any ideas?

Cheers...!

-Jonas

FP's icon

just as said rob you have to set vol to 0.
it's not because you switch the video signal, the signal (audio + video) doesn't play anymore.

i suggest you do some tutorials.

here's a patch (it's not well programmed but just to illustrate):

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

flim's icon

fp wrote on Wed, 18 November 2009 22:15
i suggest you do some tutorials.

i've done nothing else the past week, not much left of my [command] + H and [command] + R keys. must have missed out on that part...

thank you very much! (missing out on the last bit frustrates the most)

all the best

-jonas