question on line lineseg

nickv91's icon

Hi all!
I noticed that using line~ is possible to pass using messages some segments such as 0, 100 100 50 500 .
But i need to do it using line because i am controlling a gain using line and i am not able to do segments for the envelopes. how can i do? Thanks!

chrisoconnor's icon

I don't know if there is a 'proper' way of getting around this, but what I do is use multiple line objects, and connect the right outlet (bang when ramp has finished) to the message box in the next line object

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

-chris