Hi James, Javascript is the answer, I've used it quite a bit and works
fine, you can see an example in use at http://www.memo.tv/webcam_piano
(in the iterator, just before the OSC Sender)
but in summary you want to do something like (JavaScript):
function (__structure outputFloats) main (__number float1, __number
float2, __number float3)
{
var result = new Object();
result.outputFloats = new Array();
result.outputFloats[0] = float1;
result.outputFloats[1] = float2;
result.outputFloats[2] = float3;
// etc.
return result;
}
Memo (Mehmet S. Akten)
www.memo.tv
[EMAIL PROTECTED]
+44 (0) 7958 783 832
+44 (0) 20 8123 9986
29 Ironworks
Dace Rd
London E3 2NX, UK
On 25 Jun 2008, at 12:06, James Sheridan wrote:
Hi All,
I'm using an OSC sender inside an iterator and need to be able to
send multiple parameters (an id and a value) within one message (to
a supercollidrer OSCResponderNode)
I'm guessing I can do this with the array of floats type on the osc
sender node but how do I create this to pass to it? I've tried
messing around with a javascript patch to no avail
Thanks in advance - James
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected]
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/memo%40memo.tv
This email sent to [EMAIL PROTECTED]
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [EMAIL PROTECTED]