Why wont my crossfade work?

May 11, 2011 at 12:57pm

Why wont my crossfade work?

Here is the sub-patch ive written based on the tutorials, though for some reason it wont work. I understand MaxMSP but when it comes to jitter I am useless; all i want to do is crossfade between two still jpegs…

– Pasted Max Patch, click to expand. –


May 11, 2011 at 1:23pm

Don’t worry too much about it, a couple of months ago I had the same kind of very basic issuesm just hang on and you’ll get it eventually.

The biggest problem is that you don’t have a metro/qmetro. A metro for movies typically has an argument between 30 and 40 to bang out frames in the movie. Try giving a high metro argument and you’ll get to know it.

Here’s a fixed version of your patch.

Maybe you could try to make a small GUI? Possibly with a slider rather than numbers.

Check out learn and video processing device. That will give you some jitter help.

– Pasted Max Patch, click to expand. –
May 11, 2011 at 1:25pm

Oh… Looked at it again. Your bang and your prepend xfade has no practical value either. Good luck with it!

– Pasted Max Patch, click to expand. –
May 11, 2011 at 1:28pm

You need to either constantly bang the respective image matrices and xfade object to generate a new resultant image – triggered by any change in the numerical xfade value OR use the more traditional approach of “polling” jitter matrices via a (q)metro as I’ve done here:

– Pasted Max Patch, click to expand. –

And once again, In the process of responding, I missed previous posts answering the question already 8-O

May 11, 2011 at 1:41pm

Ah brilliant, thats great; didnt realise it needed a constant bang to remind it to do something! Thanks!

May 12, 2011 at 8:52am

you don’t actually need the continuous bang…just add a bang after you send a new xfade value:

– Pasted Max Patch, click to expand. –

You must be logged in to reply to this topic.