Increase, Wait, Decrease a Number!

Brantiko's icon

Hi!
I want to a number that is counted from 0 to 255 within an adjustable peroid of time. After a while (for example 100ms) the number should count to zero again.

I need a very efficient solution because this should be done more than 40times at the same time.
What is the best solution for that problem?

Yours

Brantiko

AaronMButler's icon

Does this do what you need it too?

You can check the line help file for ways on how to get precise timings.

-Aaron

edit: That should be [sel 0]. My bad.

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

`