variable send object

Dec 2, 2008 at 4:23pm

variable send object

Hello,
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

#41143
Dec 2, 2008 at 5:12pm

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.

http://www.cycling74.com/forums/index.php?t=msg&th=36932

jrp

#146272
Dec 2, 2008 at 5:35pm

do you mean something like forward???

#146273
Dec 2, 2008 at 5:44pm

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

#146274
Dec 2, 2008 at 5:46pm

glad I could help :)

#146275
Dec 2, 2008 at 6:20pm

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

jrp

#146276
Dec 2, 2008 at 6:30pm

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

#146277
Dec 2, 2008 at 7:55pm

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.

:)

jrp

#146278

You must be logged in to reply to this topic.