Hi!<br><br>Do you get anything at all, i.e., do you see LALA? If not maybe you could add a printout before the while(oe.nextMsg()) loop. <br><br>I&#39;ve fiddled around a little bit with OSC, but just in ChucK and in Java (using raw UDP). I tried looking a bit at the docs for PD and SC, but I didn&#39;t find anything on OSC right away (I don&#39;t know if the OSC acronymn was well-chosen - you get a lot of hits on &quot;oscillator&quot; when searching on synth sites). Are you sure that NetAddr().send() and the PureData stuff formats the OSC message according to &quot;/test, i&quot; properly, aligning the integer, inserting zeroes and so on? I don&#39;t see the &quot;, i&quot; part in the sender, could it mistake the argument for a float instead, thus needing people to listen for &quot;/test, f&quot; instead? I&#39;m guessing the senders in PD and SC don&#39;t want you to add the argument type list.<br>
<br>A basic sanity test could be to implement a sender in another ChucK program and use that to send to your existing listener. You could have some network config problem maybe. <br><br>Just some random guesses.<br><br>/Stefan<br>
<br><div class="gmail_quote">On Sun, May 4, 2008 at 8:43 PM, Sciss &lt;<a href="mailto:contact@sciss.de">contact@sciss.de</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br>
<br>
i&#39;m trying to send an OSC message from SuperCollider to chuck, which doesn&#39;t work. no matter what i do, the OscEvent seems never to be decoded...<br>
<br>
ChucK:<br>
<br>
OscRecv recv;<br>
6449 =&gt; recv.port;<br>
recv.listen();<br>
recv.event( &quot;/test, i&quot; ) @=&gt; OscEvent oe;<br>
spork ~ pollOscEvent();<br>
<br>
fun void pollOscEvent()<br>
{<br>
 &nbsp; &nbsp;while ( true )<br>
 &nbsp; &nbsp;{<br>
 &nbsp; &nbsp; &nbsp; &nbsp;oe =&gt; now;<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;while( oe.nextMsg() )<br>
 &nbsp; &nbsp; &nbsp; &nbsp;{<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;&lt;&lt; &quot;LALA&quot; &gt;&gt;&gt;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;&lt;&lt; oe.getInt() &gt;&gt;&gt;;<br>
 &nbsp; &nbsp; &nbsp; &nbsp;}<br>
 &nbsp; &nbsp;}<br>
}<br>
<br>
SC:<br>
<br>
NetAddr( &quot;<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>&quot;, 6449 ).sendMsg( &quot;/test&quot;, 33 );<br>
<br>
<br>
what am i doing wrong? i tried other ports without success...<br>
<br>
thanks, -sciss-<br>
<br>
_______________________________________________<br>
chuck-users mailing list<br>
<a href="mailto:chuck-users@lists.cs.princeton.edu" target="_blank">chuck-users@lists.cs.princeton.edu</a><br>
<a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users" target="_blank">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Release me, insect, or I will destroy the Cosmos!