Hi Roman<div><br></div><div>Thanks for the help. Actually, I did not write the code in Max/MSP, but I think I will end up writing my own version of the application, because it does need a lot of tweaking. It is funny to realize how Max/MSP can be kind of agnostic towards that.</div>
<div><br></div><div>Well, I will try your patch. I hope it works. I&#39;m getting sick of my patch already :P</div><div><br></div><div>best,</div><div><br></div><div>Leandro<br><div><br><div class="gmail_quote">On Thu, Oct 21, 2010 at 11:07 PM, Roman Haefeli <span dir="ltr">&lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi again<br>
<br>
(I reply to the  list as well...)<br>
<br>
Yeah, I now remember that the OSC address must always be a multiple of 4<br>
bytes long. I also stumbled across this problem a while ago and wrote an<br>
abstraction back then that does pad the the address of the OSC message<br>
with zeros as needed. Insert it right after the [list prepend 47].<br>
<br>
Check attachment.<br>
<br>
Although this might work now, it&#39;s clearly the fault of your max/msp<br>
patch that obviously does not comply with the OSC standard.<br>
<font color="#888888"><br>
Roman<br>
</font><div><div></div><div class="h5"><br>
<br>
On Thu, 2010-10-21 at 22:45 +0200, Leandro da Mota Damasceno wrote:<br>
&gt; That solution sounded good, but this is the result I got:<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; unpackOSC: Packet size (257) not a multiple of 4 bytes: dropping<br>
&gt; packet<br>
&gt; unpackOSC: Packet size (41) not a multiple of 4 bytes: dropping packet<br>
&gt; unpackOSC: Packet size (281) not a multiple of 4 bytes: dropping<br>
&gt; packet<br>
&gt; unpackOSC: Packet size (41) not a multiple of 4 bytes: dropping packet<br>
&gt; unpackOSC: Packet size (281) not a multiple of 4 bytes: dropping<br>
&gt; packet<br>
&gt; unpackOSC: Packet size (41) not a multiple of 4 bytes: dropping packet<br>
&gt; unpackOSC: Packet size (281) not a multiple of 4 bytes: dropping<br>
&gt; packet<br>
&gt;<br>
&gt;<br>
&gt; and so on. Any ideas?<br>
&gt;<br>
&gt; On Thu, Oct 21, 2010 at 10:07 PM, Roman Haefeli &lt;<a href="mailto:reduzent@gmail.com">reduzent@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;         On Thu, 2010-10-21 at 19:39 +0100, Claude Heiland-Allen wrote:<br>
&gt;         &gt; On 21/10/10 18:26, Leandro da Mota Damasceno wrote:<br>
&gt;         &gt; &gt; So, the question is... Is there any workaround I could try<br>
&gt;         in PD?<br>
&gt;         &gt;<br>
&gt;         &gt;   |<br>
&gt;         &gt; [list split 1]<br>
&gt;         &gt;   |          |<br>
&gt;         &gt; &quot;/$1&quot;       |<br>
&gt;         &gt;   |          |<br>
&gt;         &gt; [list append ]<br>
&gt;         &gt;   |<br>
&gt;         &gt; [list trim]<br>
&gt;         &gt;   |<br>
&gt;<br>
&gt;<br>
&gt;         This would require to convert the byte list to strings and<br>
&gt;         then back to<br>
&gt;         a byte list again.<br>
&gt;<br>
&gt;         You could instead insert a [list prepend 47] (47 is the byte<br>
&gt;         value of a<br>
&gt;         &#39;/&#39;) right after the [udpreceive].<br>
&gt;<br>
&gt;         Roman<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;         _______________________________________________<br>
&gt;         <a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
&gt;         UNSUBSCRIBE and account-management -&gt;<br>
&gt;         <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div></div>