Forums > MaxMSP

[line]: clean "turn around" before hitting final ramp value?

May 7, 2010 | 11:32 am

sorry to post a new thread for this, for this has definitely been answered a dozen times – but the search function didn’t bring me any luck in this (or I probably didn’t find the right key words..?)!

I’m using [line] for fade in/ fade out effects (on running clips in ableton live):

http://jonaswolf.com/fadein_fadeout.jpg

my problem: when hitting [toggle] before [line] having reached its predefined ramp value, [line] jumps to the final value it was heading for, before starting for the next ramp. (this does make sense, of course, for I told [line] to do so)

how can I make [line] "turn back" from the point I actually hit my [toggle] – let’s say it’s merely reached 100, thus heads back from 100 on..?

cheers!

-jonas

– Pasted Max Patch, click to expand. –

May 7, 2010 | 11:40 am

the solution appears very simple on the surface: remove the initial value from your off ramp, so instead of (127, 0 3000) just use (0 3000). Will that do?

Brendan


May 7, 2010 | 11:49 am

hehe, I guess it will. :) thanks, brendan!


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