[chuck-users] OSC reception not working
Sciss
contact at sciss.de
Sun May 4 14:43:56 EDT 2008
hi,
i'm trying to send an OSC message from SuperCollider to chuck, which
doesn't work. no matter what i do, the OscEvent seems never to be
decoded...
ChucK:
OscRecv recv;
6449 => recv.port;
recv.listen();
recv.event( "/test, i" ) @=> OscEvent oe;
spork ~ pollOscEvent();
fun void pollOscEvent()
{
while ( true )
{
oe => now;
while( oe.nextMsg() )
{
<<< "LALA" >>>;
<<< oe.getInt() >>>;
}
}
}
SC:
NetAddr( "127.0.0.1", 6449 ).sendMsg( "/test", 33 );
what am i doing wrong? i tried other ports without success...
thanks, -sciss-
More information about the chuck-users
mailing list