[chuck-users] dynamic string issue
mail at larsullrich.de
Thu Nov 25 12:11:21 EST 2010
I need to set up eight OSC receivers for passing file paths. If it's possible, I don't want to repeat eight times the same structure.
So the idea is to do something like this:
" path " => string F1;
recv.event( "file1, s" ) @=> OscEvent @ sam1;
fun void receiveString(int i)
while( true )
sam+i => now;
sam+i.getString() => F+i;
for (0 => int i; i < 8; i++)
spork ~ receiveString(i);
This will not work, but maybe someone has an solution for this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the chuck-users