Forums > MaxMSP

line- ramp time


o s
October 8, 2012 | 11:30 pm

How can I easily change the ramp time in the attached construction (for both line objects)?

thanks

os

– Pasted Max Patch, click to expand. –

October 9, 2012 | 6:19 am

This might not be the smartest way to do it but it works. Added the trough and peak section just to check I reached the min and max values.

– Pasted Max Patch, click to expand. –

October 9, 2012 | 6:53 am

Another solution using [line~] instead.

– Pasted Max Patch, click to expand. –


o s
October 9, 2012 | 12:58 pm

Thanks, perfect!



ak
October 9, 2012 | 12:59 pm

yet another way (without msp):

– Pasted Max Patch, click to expand. –


o s
October 9, 2012 | 4:51 pm

nice too, thanks!



o s
October 9, 2012 | 8:07 pm

ok, now I made a little patcher which generates random movement. After a while it stops and I don’t know why. It is may be something silly. Can someone please take a look (sometimes it takes a minute or two until it stops)?

thanks

os

– Pasted Max Patch, click to expand. –


ak
October 9, 2012 | 9:03 pm

you have just run out of unique random numbers… see help for ‘urn’ (esp. second outlet).

btw. what is ($1 $2) for? ^^



o s
October 10, 2012 | 9:29 am

I knew it was something that stupid, thanks! And you are right- the $-signs are obsolete- relict from former attempts :-)



o s
October 10, 2012 | 11:59 am

now I replaced urn with random but the stops are still there, see patch:

– Pasted Max Patch, click to expand. –


ak
October 10, 2012 | 4:45 pm

see line help "precise timing" tab. Maybe it’s not directly related, but if you decrease grain time it won’t stop. There is probably some quirk in how [line] decides if it finished. Maybe someone more knowledgeable can shed some light on this.

Minimal example:

– Pasted Max Patch, click to expand. –


o s
October 13, 2012 | 5:11 pm

ok, I set grain time to 5 and it works fine (now for several days), thanks for your help…


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