line

Dec 10, 2010 at 1:29am

line

Hello.

I am confused trying to use message command for line object.
I was going to make a change for 4 values by message inputs to each line objects, when it bangs to one value then only that value going up and others going down by using message command..
but how can I change already changed value using line?
value has to be in float number.

#53842
Dec 10, 2010 at 2:05am

how can I make patcher in code?
I want to upload it here.

#193788
Dec 10, 2010 at 2:27am

check the Sticky “Max Arcana”, it will tell you how to upload etc. It’s Edit–>Copy Compressed, then paste that here. But it’s a good thread to read for other things too.

[line] can be a little tricky at first. I found the easiest way is to just send it pairs of values, like “1. 1000″ which will ramp to 1. (from wherever it’s currently at) over 1000 msec. Though you can also specify start and end points like “0., 1. 1000″. Note the floating points in there as well as the comma. In this way, you’re sending two consecutive messages: first 0. which will make line jump to 0. immediately, then you’re telling it to ramp to 1. over 1000 msec.

#193789
Dec 10, 2010 at 8:39pm

Okay! got it.

I would like to use line for routing signals,
If one signal counts goes up, then all other output numbers should goes down to minimum if there’s any up or counting.
so, I used message command to not assigning counting start point. but it seems not working maybe because output is not initialized?
anyone can help me?

– Pasted Max Patch, click to expand. –
#193790
Dec 11, 2010 at 1:44am

if you want to route signals, better to use the signal version line~ but you can easily mod this patch for the regular version, too:

– Pasted Max Patch, click to expand. –

but matrix~ is also good for this kind of thing:

– Pasted Max Patch, click to expand. –

hope it helps.

________________________________
*Never fear, Noob4Life was never here!*

#193791

You must be logged in to reply to this topic.