<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">… thanks for these elements.<div>basically, my patches are on MacOs since decades (...), and for a specific experiment I’ve to collaborate with a guy working in C on windows, who (this person) does not know anything about pd :</div><div>so the question was</div><div>- is there a function / procedure / .exe somewhere in C whose name i could pronounce to this guy so that he gets a way into the subject, and, on my side, by the way, to which object would the data be sent in pd .. all this for a low control rate from C to pd approx vector 10 floats 80 ps.</div><div>but maybe things are not so simple :) and maybe i can juste say to send from C to the « network » or kind of internal machine bus (no hint how this works on windows though !)</div><div>hmm</div><div>:)</div><div>jm</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br><div><div>Le 30 déc. 2015 à 17:27, Martin Peach <<a href="mailto:chakekatzil@gmail.com">chakekatzil@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr"><div>The source for pdsend is in src/u_pdsend.c in any vanilla pd setup. The easiest thing would be to incorporate that into your program by replacing the argument list with a buffer containing a string with the values to be sent.<br><br></div>Martin<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 30, 2015 at 10:50 AM, Simon Iten <span dir="ltr"><<a href="mailto:itensimon@gmail.com" target="_blank">itensimon@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">he stated it is on windows….<div><div class="h5"><br><div><blockquote type="cite"><div>On 30 Dec 2015, at 16:17, Antoine Rousseau <<a href="mailto:antoine@metalu.net" target="_blank">antoine@metalu.net</a>> wrote:</div><br><div><div dir="ltr"><div>Hi,<br><br></div>you could send your data to stdout, then pipe it through command "pdsend", and finally get it back in Pd with [netreceive] ; but are you working on a Unix-like sytem ?<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-12-30 15:29 GMT+01:00  <span dir="ltr"><<a href="mailto:jma@jeanmarie-adrien.net" target="_blank">jma@jeanmarie-adrien.net</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello C natives<br>
<br>
What is the most straightforward way to have a running C program send data (global variables) to a PD patch for real time control (say a vector of ten floats, 80 times per second), means :<br>
what names for fonctions (procedures) in C, and what objects in PD (netreceive ? dumposc ?), all of this on windows...<br>
Tks<br>
JM<br>
<br>
<br>
<br>
PS<br>
Although i wrote thousands of lines of C++ in my young age, i dont remember ANYTHING about it now, except semi columns and {braces} or so.<br>
_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</blockquote></div><br></div>
_______________________________________________<br><a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.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></blockquote></div><br></div></div></div><br>_______________________________________________<br>
<a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" rel="noreferrer" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br></div>
_______________________________________________<br><a href="mailto:Pd-list@lists.iem.at">Pd-list@lists.iem.at</a> mailing list<br>UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list">http://lists.puredata.info/listinfo/pd-list</a><br></blockquote></div><br></div></body></html>