Forums > MaxMSP

Changing speed of [line] ramp in real time.

June 20, 2013 | 1:36 am

Hi all,

I’m trying to create a ramp using the [line] object with which I can adjust the speed to change the rate of number flow in real time.

For example, here is my current patch:
<code>

– Pasted Max Patch, click to expand. –

</code>

My problem with this however, is that the patch doesn’t take the new speed value until the ramp is finished. I want to be able to change the speed at any point during the list.

Thanks for any help.


June 20, 2013 | 3:44 am

use counter instead of line to increase resolution to every step rather than every cycle (also use == instead of if to simplify):

<code>

– Pasted Max Patch, click to expand. –

</code>


June 20, 2013 | 5:22 am

Genius. Thanks, mate.


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