Forums > MaxMSP

line

December 10, 2010 | 1:29 am

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.


December 10, 2010 | 2:05 am

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


December 10, 2010 | 2:27 am

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.


December 10, 2010 | 8:39 pm

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. –

December 11, 2010 | 1:44 am

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!*


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