hi, if i understood correctly, you want to send data from PD to an external application.
this is how i do it: (see attached file) i use the OSCX library (get it via deken) to do the job best oliver cristiano piatti wrote:
Good morning, i receive osc data through netreceive into pd. How can i netsend these data outside from pd ? Could someone please make me an example ? Thanks a lot. _______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
--- Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. https://www.avast.com/antivirus
#N canvas 656 336 541 300 10; #X obj 16 250 sendOSC, f 10; #X floatatom 16 273 5 0 0 0 - - -, f 5; #X msg 124 250 disconnect; #X floatatom 73 273 5 0 0 0 - - -, f 5; #X obj 15 10 loadbang; #X obj 16 226 r \$0-osc; #X obj 15 54 s \$0-osc; #X obj 124 271 s \$0-osc; #X obj 16 175 s \$0-osc; #X obj 16 132 list prepend send; #X obj 16 153 list trim; #X obj 239 84 s \$0-osc-cmd; #X obj 16 111 r \$0-osc-cmd; #X floatatom 240 41 5 0 0 0 - - -, f 5; #X obj 346 82 s \$0-osc-cmd; #X floatatom 347 39 5 0 0 0 - - -, f 5; #X msg 346 59 /vvvv/2 \$1; #X msg 239 61 /vvvv/1 \$1; #X obj 242 241 s \$0-osc-cmd; #X floatatom 242 135 5 0 0 0 - - -, f 5; #X obj 242 191 pack 0 s 0; #X symbolatom 281 135 10 0 0 0 - - -, f 10; #X floatatom 352 136 5 0 0 0 - - -, f 5; #X obj 352 155 t b f; #X obj 281 157 t b s; #X obj 371 232 list prepend set; #X msg 371 273 /mylist 7 symbol 0; #X obj 371 253 list trim; #X msg 242 215 /mylist \$1 \$2 \$3; #X msg 15 33 connect localhost 8888; #X text 80 9 connect to a port; #X text 15 91 format lists for sendOSC:; #X text 14 207 finally send it:; #X text 364 212 this is the full list:; #X text 236 3 some example messages that are sent into an external application (VVVV):, f 38; #X text 239 116 a list:; #X connect 0 0 1 0; #X connect 0 1 3 0; #X connect 2 0 7 0; #X connect 4 0 29 0; #X connect 5 0 0 0; #X connect 9 0 10 0; #X connect 10 0 8 0; #X connect 12 0 9 0; #X connect 13 0 17 0; #X connect 15 0 16 0; #X connect 16 0 14 0; #X connect 17 0 11 0; #X connect 19 0 20 0; #X connect 20 0 28 0; #X connect 21 0 24 0; #X connect 22 0 23 0; #X connect 23 0 20 0; #X connect 23 1 20 2; #X connect 24 0 20 0; #X connect 24 1 20 1; #X connect 25 0 27 0; #X connect 27 0 26 0; #X connect 28 0 18 0; #X connect 28 0 25 0; #X connect 29 0 6 0;
_______________________________________________ [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
