Forums > Jitter

Fading Out

April 18, 2013 | 8:50 pm


I am studying one of Andrew Benson’s recipes. As you can see in the patch attached below, matrix data is on constant move. What I am trying to do is to fade them out gradually. I couldn’t seem to work this out.


– Pasted Max Patch, click to expand. –

April 18, 2013 | 11:45 pm

hi. would you add a bit more detail? might be able to assist more.
What is the object analyzer~ ? Its not part of the standard max distribution so yoru patch won’t run as is.
You want to fade…what…out? the sound? The whole mesh, one part of a mesh? What specifically do you want to fade?

April 20, 2013 | 1:10 pm

Sorry about my language if I was not clear enough.

Analyzer is a patch for analyzing audio and in my case it sends out a list with 25 different values.

When you feed audio through the patch it moves the data on the matrices. I want to change the transparencies of the points after the first row and give them a gradual fade effect.

I hope I expressed myself better this time.


April 20, 2013 | 10:56 pm

I’m not able to run your patch because part of it is still missing (the analyze part), Without that, I can only guess.

Transparency is controlled by the alpha component of a color. On the mesh object, you have set the color for everything to be .3,.9,.9,.9
That 0.9 at the end is the alpha.

With you can set the color PER VERTEX. You are feeding in all your vertices on the first inlet. On the 4th inlet, you can send a color matrix. Look at the reference documentation to see how. In short, you send a matrix of the same dimensions and having 4 planes. The 4 planes being the r,g,b,a color values. You will need to generate this color matrix in your patch and you can fade the alpha however you would like. 1.0 represents completely opaque. 0.0 represents fully transparent.

April 21, 2013 | 10:51 am

That helps a lot. I will work on it thank you very very much.

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