[chuck-users] OSC reception not working

Sciss contact at sciss.de
Mon May 5 08:32:32 EDT 2008


thanks volker and eduard!

that solved it. i thought if i spork a function it will "survive" the  
parent code, obviously that was wrong ;-)

ciao, -sciss-



Am 05.05.2008 um 14:23 schrieb volker böhm:
> hi sciss,
> your script works fine, if you add
>
> while(true)
>     1::second=>now;
>
> at the end to keep your program running.
>
> volker.
>
>
> On 04 May 2008, at 20:43, Sciss wrote:
>> 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-
>>
>
> _______________________________________________
> chuck-users mailing list
> chuck-users at lists.cs.princeton.edu
> https://lists.cs.princeton.edu/mailman/listinfo/chuck-users



More information about the chuck-users mailing list