[PD] link between C++ and PD

Martin Peach chakekatzil at gmail.com
Wed Dec 30 17:27:51 CET 2015


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.

Martin

On Wed, Dec 30, 2015 at 10:50 AM, Simon Iten <itensimon at gmail.com> wrote:

> he stated it is on windows….
>
> On 30 Dec 2015, at 16:17, Antoine Rousseau <antoine at metalu.net> wrote:
>
> Hi,
>
> 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 ?
>
> 2015-12-30 15:29 GMT+01:00 <jma at jeanmarie-adrien.net>:
>
>> Hello C natives
>>
>> 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 :
>> what names for fonctions (procedures) in C, and what objects in PD
>> (netreceive ? dumposc ?), all of this on windows...
>> Tks
>> JM
>>
>>
>>
>> PS
>> 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.
>> _______________________________________________
>> Pd-list at lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> http://lists.puredata.info/listinfo/pd-list
>>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
>
> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20151230/45568fa9/attachment.html>


More information about the Pd-list mailing list