Forums > MaxMSP

variable send object

December 2, 2008 | 4:23 pm

I need to map lots of data from a jitter matrix in the form (x, y) + value, from two different outlets, and I’m trying to find a fast way to do it without using scripting commands to "thispatcher" -I guess, this would slow down the process-.
Is there a way to change the variable name of the send or value objects, in order to avoid having one send object per variable? In the objects it doesn’t seem to be a way to do this, but I guess that there must be a solution somewhere…
Thank you for your tips,

Alberto Bernal

December 2, 2008 | 5:12 pm

it works with javascript.

you can feed a variable in, f.e. via a [thispoly~] into a [sprintf %ld_mysend] to create an instance-specific send object from out of javascript then. i am working on this right now, already for myself. will be happy to post an example here soon, see other thread on javascript forum eventually.


December 2, 2008 | 5:35 pm

do you mean something like forward???

December 2, 2008 | 5:44 pm

Oh, I didn’t know from this object, that works for my purposes. Thank you very much for the tip,

December 2, 2008 | 5:46 pm

glad I could help :)

December 2, 2008 | 6:20 pm

MIB, no i meant a javascript generating the send objects with instance specific names


December 2, 2008 | 6:30 pm

personally, I know nothing about java scripting… one of these days maybe :)
I just thought forward would be a "native" solution that could work for alberto

December 2, 2008 | 7:55 pm

I’m sorry, forward can be the right way to do it, of course, as long as the receiving objects are named accordingly. i was thinking of data AND signal to be processed instead. i am working on something similar. i already have made it work with data only, though. but the routing can be changed on the fly.
The javascript tutorials within max 4.63 were of great help there, in any case.



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

Forums > MaxMSP