Forums > MaxMSP

Light fading up and down max msp

April 30, 2012 | 11:46 am

Hello! We newbies have a problem. We need to know how to repeat an action (we have two lights that should go from one value to another continuesly). So as you see in the patch, when you press the box the light (sliders) move, but we would like them to go up and down all the time by it self when its triggered, and if we can get help to make them fade as well we would be very happy.

– Pasted Max Patch, click to expand. –

April 30, 2012 | 12:34 pm

With the minimum of editing to your patch, it could be done like so:

– Pasted Max Patch, click to expand. –

May 1, 2012 | 7:45 am

Hello Robin. Thank you very much for your help with the patch, we actually figured out a way to make it work, but now our problem is that we dont know how to change the fading time (the time it takes to change from one value to another). This is probably pretty easy but we are newbies :(

Can you help us out?

This is the new patch we made:

– Pasted Max Patch, click to expand. –

May 1, 2012 | 9:36 am

Oh we allready fixed it :) But thanks anyway :) If your interested this is our new patcher:

– Pasted Max Patch, click to expand. –

May 1, 2012 | 10:15 am

you guys ike random?

notice that in my example i use the second outlet of the line object to trigger the counter. for every non zero output of the counter a new random destination value, as well as a random time i created.

j

– Pasted Max Patch, click to expand. –

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