try to use osc . it makes your program run on a protocol, and makes it modular more easily ( adress another machine on the network, for instance)
2015-12-30 17:27 GMT+01:00 Martin Peach <[email protected]>: > 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 <[email protected]> wrote: > >> he stated it is on windows…. >> >> On 30 Dec 2015, at 16:17, Antoine Rousseau <[email protected]> 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 <[email protected]>: >> >>> 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. >>> _______________________________________________ >>> [email protected] mailing list >>> UNSUBSCRIBE and account-management -> >>> http://lists.puredata.info/listinfo/pd-list >>> >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> >> >> _______________________________________________ >> [email protected] mailing list >> UNSUBSCRIBE and account-management -> >> http://lists.puredata.info/listinfo/pd-list >> >> > > _______________________________________________ > [email protected] mailing list > UNSUBSCRIBE and account-management -> > http://lists.puredata.info/listinfo/pd-list > >
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
