Forums > Jitter

Mood Ring

Dec 27 2011 | 2:41 am

This is my first Jitter patch. I was using jit.noise to get a lot of interpolated noise data for sound generation, and I thought jit.plur would look nice with some movement to it. I find it very soothing.


Needs a little work. Just a moment.

Dec 27 2011 | 2:56 am

Ok got it working. Comments welcome.

-- Pasted Max Patch, click to expand. --

Dec 27 2011 | 5:50 pm

Since you asked for comments, I had a look. A couple of things jump out at me. The 3rd input to jit.shade that mixes the two inputs is constant so it really has no effect. I’m guessing something was left out of the patch that is supposed to smoothly fade between successive frames.

The other thing that jumped out at me was your use of jit.spill + jit.fill. I couldn’t figure out why you needed to do this. You should be able to do everything you need to do and keep it in the matrix domain without having to convert matrices to lists and then convert back from lists to matrices. This is a really inefficient way of working with matrices that will not scale well. If you goal is to delay by one frame a matrix, you can simply use another matrix as a buffer with @thru 0 and then bang out the matrix when you need it. This will be similar to [zl reg] for lists.

It’s definitely very soothing :) Thanks for sharing!

Dec 27 2011 | 6:35 pm

Thanks Wesley. That gives me some insight into how matrices work. I am much more used to working in Max. Is it not shading smoothly? It does so on my system, but I don’t really understand how jit.shade works.

Dec 27 2011 | 7:12 pm

jit.shade uses the 3d input to crossfade per-pixel between the 1st and 2nd inputs. It’s the same as jit.xfade except it works per-pixel. If a pixel is white, it takes only the 2nd input. Black takes the 1st input. In between mixes the two.

I’ve modified your patch to use jit.xfade and setup the buffering so that it continuously fades between sucessive matrices:

-- Pasted Max Patch, click to expand. --

Viewing 5 posts - 1 through 5 (of 5 total)

Forums > Jitter