Are you sending a lot of messages into Pd? <div><br></div><div>I find it'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'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"><<a href="mailto:hagish@schattenkind.net" target="_blank">hagish@schattenkind.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">> YOu can use netreceive and then make a patch to distribute the messages.<br>
><br>
> Easiest way, although inefficient, is each time a mesage arrives, empty<br>
> out a message box, put in a semicolon ("addsemi" message) and then add<br>
> 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 "test123" 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>
> More sporting way is to use a [send] with no arguments, and then with<br>
> list and trigger magic get the first symbol to the right inlet and the<br>
> rest to<br>
> 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>
>> we try to integrate pd into a mobile game and plan to send data via<br>
>><br>
>> int libpd_bang(const char *destination)<br>
>> int libpd_float(const char *destination, float value)<br>
>> int libpd_symbol(const char *destination, const char *symbol)<br>
>><br>
</div><div class="im HOEnZb">>> For debugging purpose we want to be able to run a debug version of the<br>
>> game and a pd instance on a pc to see whats going on inside pd.<br>
>><br>
>> Is it possible to trigger these methods using pd-vanilla via network?<br>
>> Like a "more global" 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 -> <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>