Are you sending a lot of messages into Pd? <div><br></div><div>I find it&#39;s simpler to just make a dummy abstraction in the patch that mimics the functionality and messaging system of the app and make sure it&#39;s not available when building on the phone. </div>

<div><br></div><div>Obviously depends on your setup, but in this way I can work in parallel with the app side development.</div><div><br></div><div>Cheers,</div><div>Joe</div><div><br><div class="gmail_quote">On 5 July 2012 14:41, Sebastian Dorda <span dir="ltr">&lt;<a href="mailto:hagish@schattenkind.net" target="_blank">hagish@schattenkind.net</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">&gt; YOu can use netreceive and then make a patch to distribute the messages.<br>
&gt;<br>
&gt; Easiest way, although inefficient, is each time a mesage arrives, empty<br>
&gt; out a message box, put in a semicolon (&quot;addsemi&quot; message) and then add<br>
&gt; the incoming message (using [list prepend add] adn [list trim].<br>
<br>
</div>It took my a while to figure this out but now it works.<br>
Thanks for the hint.<br>
<br>
Now I use a netreceive with an empty message box.<br>
To send a bang to &quot;test123&quot; I transmit the following via tcp from the game.<br>
<br>
set;                  // clears the box<br>
addsemi;              // just adds a ;<br>
add test123 bang;     // adds my message: test123 bang;<br>
bang;                 // trigger rerouting and transmits bang to test123<br>
<br>
Just in case somebody encounters the same problem.<br>
<div class="im"><br>
&gt; More sporting way is to use a [send] with no arguments, and then with<br>
&gt; list and trigger magic get the first symbol to the right inlet and the<br>
&gt; rest to<br>
&gt; the left.<br>
<br>
</div>Currently the above solution works good enough for us. So I did not try<br>
this one.<br>
<div class="im HOEnZb"><br>
<br>
<br>
&gt;&gt; we try to integrate pd into a mobile game and plan to send data via<br>
&gt;&gt;<br>
&gt;&gt; int libpd_bang(const char *destination)<br>
&gt;&gt; int libpd_float(const char *destination, float value)<br>
&gt;&gt; int libpd_symbol(const char *destination, const char *symbol)<br>
&gt;&gt;<br>
</div><div class="im HOEnZb">&gt;&gt; For debugging purpose we want to be able to run a debug version of the<br>
&gt;&gt; game and a pd instance on a pc to see whats going on inside pd.<br>
&gt;&gt;<br>
&gt;&gt; Is it possible to trigger these methods using pd-vanilla via network?<br>
&gt;&gt; Like a &quot;more global&quot; netreceive.<br>
<br>
<br>
</div><div class="HOEnZb"><div class="h5">_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Follow me on Twitter @diplojocus<br>
</div>