Changing speed of [line] ramp in real time.

Jun 20, 2013 at 1:36am

Changing speed of [line] ramp in real time.

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.

#253395
Jun 20, 2013 at 3:44am

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>

#253404
Jun 20, 2013 at 5:22am

Genius. Thanks, mate.

#253409

You must be logged in to reply to this topic.