line- ramp time

Oct 8, 2012 at 11:30pm

line- ramp time

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

thanks

os

– Pasted Max Patch, click to expand. –
#64682
Oct 9, 2012 at 6:19am

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. –
#233330
Oct 9, 2012 at 6:53am

Another solution using [line~] instead.

– Pasted Max Patch, click to expand. –
#233331
Oct 9, 2012 at 12:58pm

Thanks, perfect!

#233332
Oct 9, 2012 at 12:59pm

yet another way (without msp):

– Pasted Max Patch, click to expand. –
#233333
Oct 9, 2012 at 4:51pm

nice too, thanks!

#233334
Oct 9, 2012 at 8:07pm

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. –
#233335
Oct 9, 2012 at 9:03pm

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

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

#233336
Oct 10, 2012 at 9:29am

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

#233337
Oct 10, 2012 at 11:59am

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

– Pasted Max Patch, click to expand. –
#233338
Oct 10, 2012 at 4:45pm

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. –
#233339
Oct 13, 2012 at 5:11pm

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

#233340

You must be logged in to reply to this topic.