From 3c3500f54d678cc423d6a7ee82504766b41033d7 Mon Sep 17 00:00:00 2001 From: Martin Peach Date: Mon, 11 Jan 2010 14:27:31 +0000 Subject: help patch for udpsend~ and udpreceive~ svn path=/trunk/externals/mrpeach/; revision=12954 --- net/udpsend~-help.pd | 120 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 net/udpsend~-help.pd (limited to 'net') diff --git a/net/udpsend~-help.pd b/net/udpsend~-help.pd new file mode 100644 index 0000000..76b90a7 --- /dev/null +++ b/net/udpsend~-help.pd @@ -0,0 +1,120 @@ +#N canvas 579 96 701 749 10; +#X obj 85 160 dac~ 1; +#X obj 110 183 dac~ 2; +#X obj 138 160 dac~ 3; +#X obj 164 183 dac~ 4; +#X obj 242 478 osc~ 440; +#X obj 260 499 osc~ 880; +#X obj 280 520 osc~ 990; +#X obj 299 541 osc~ 220; +#X text 313 563 sends 4 dsp-channels to localhost:8008; +#X msg 47 351 disconnect; +#X msg 68 372 format float; +#X msg 89 393 format 16bit; +#X msg 110 414 format 8bit; +#X text 181 361 format defines the resolution of the sent signal; +#X text 365 540 the signals to send; +#X text 260 584 status: 1 = connected 0 = disconnected; +#X msg 5 309 connect localhost 8008; +#X text 244 21 written by Olaf Matthes ; +#X text 204 123 receives 4 channels on port 8808; +#X text 146 309 connect to ; +#X text 201 435 change number of channels; +#X text 174 375 float is the most expensive with the best resolution +(32bit) \, default is 16bit; +#X msg 130 434 channels 2; +#X msg 26 330 connect 255.255.255.255 8008; +#X msg 60 81 buffer 0.25; +#X msg 81 102 print; +#X obj 85 123 udpreceive~ 8008 4; +#X obj 242 563 udpsend~ 4; +#X text 17 -2 udpreceive~/udpsend~; +#X obj 535 183 print udpreceive~; +#X obj 572 685 print udpsend~; +#X obj 242 586 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 1 1 +; +#X obj 299 605 route format channels framesize bitrate ipaddr; +#X symbolatom 299 701 10 0 0 0 - - -; +#X floatatom 353 635 5 0 0 0 - - -; +#X floatatom 408 657 9 0 0 0 - - -; +#X floatatom 462 686 9 0 0 0 - - -; +#X symbolatom 517 656 10 0 0 0 - - -; +#X obj 299 677 prepend set; +#X obj 517 633 prepend set; +#X text 294 634 channels:; +#X text 253 700 format:; +#X text 410 686 bitrate:; +#X text 346 657 framesize:; +#X text 496 655 to:; +#X msg 152 456 info; +#X symbolatom 190 253 10 0 0 0 - - -; +#X floatatom 233 206 5 0 0 0 - - -; +#X floatatom 276 183 9 0 0 0 - - -; +#X floatatom 319 206 9 0 0 0 - - -; +#X obj 190 229 prepend set; +#X text 169 205 channels:; +#X text 144 252 format:; +#X text 267 205 bitrate:; +#X text 214 186 framesize:; +#X obj 190 146 route format channels framesize bitrate overflow underflow +queuesize average; +#X floatatom 362 229 9 0 0 0 - - -; +#X floatatom 405 183 9 0 0 0 - - -; +#X floatatom 448 206 9 0 0 0 - - -; +#X floatatom 491 229 9 0 0 0 - - -; +#X text 305 228 overflow:; +#X text 343 186 underflow:; +#X text 385 205 queuesize:; +#X text 439 228 average:; +#X msg 39 60 info; +#X text 17 16 based on [netreceive~] and [netsend~]; +#X text 146 3 by Martin Peach 2010/01/10; +#X text 208 325 broadcast to everybody on your local subnet listening +on the specified port; +#X msg 19 40 reset; +#X text 72 59 status info to rightmost outlet; +#X text 184 456 status info to rightmost outlet; +#X text 57 39 reset underflow & overflow counters; +#X text 136 81 set buffer to one-quarter of 16 frames; +#X text 304 98 one frame is 1024 samples; +#X connect 4 0 27 0; +#X connect 5 0 27 1; +#X connect 6 0 27 2; +#X connect 7 0 27 3; +#X connect 9 0 27 0; +#X connect 10 0 27 0; +#X connect 11 0 27 0; +#X connect 12 0 27 0; +#X connect 16 0 27 0; +#X connect 22 0 27 0; +#X connect 23 0 27 0; +#X connect 24 0 26 0; +#X connect 25 0 26 0; +#X connect 26 0 0 0; +#X connect 26 1 1 0; +#X connect 26 2 2 0; +#X connect 26 3 3 0; +#X connect 26 4 55 0; +#X connect 27 0 31 0; +#X connect 27 1 32 0; +#X connect 32 0 38 0; +#X connect 32 1 34 0; +#X connect 32 2 35 0; +#X connect 32 3 36 0; +#X connect 32 4 39 0; +#X connect 32 5 30 0; +#X connect 38 0 33 0; +#X connect 39 0 37 0; +#X connect 45 0 27 0; +#X connect 50 0 46 0; +#X connect 55 0 50 0; +#X connect 55 1 47 0; +#X connect 55 2 48 0; +#X connect 55 3 49 0; +#X connect 55 4 56 0; +#X connect 55 5 57 0; +#X connect 55 6 58 0; +#X connect 55 7 59 0; +#X connect 55 8 29 0; +#X connect 64 0 26 0; +#X connect 68 0 26 0; -- cgit v1.2.1