aboutsummaryrefslogtreecommitdiff
path: root/net/udpsend~-help.pd
diff options
context:
space:
mode:
authorMartin Peach <mrpeach@users.sourceforge.net>2010-01-12 18:58:31 +0000
committerMartin Peach <mrpeach@users.sourceforge.net>2010-01-12 18:58:31 +0000
commitfcd21c7b86fa4f48db3b8273465861bfa73a2d1f (patch)
tree97600d6072c46c33013e447788e9a6a13fbe4d9d /net/udpsend~-help.pd
parentb7e8b9bc0bf7964833ddf0bc1513600df41f170c (diff)
Block size is settable by creation argument. Buffer size message is specified in frames. Info message gives some more info. Channels
transmitted can be set to zero. Cleaned up help patch. svn path=/trunk/externals/mrpeach/; revision=12968
Diffstat (limited to 'net/udpsend~-help.pd')
-rw-r--r--net/udpsend~-help.pd278
1 files changed, 158 insertions, 120 deletions
diff --git a/net/udpsend~-help.pd b/net/udpsend~-help.pd
index 76b90a7..e97aad8 100644
--- a/net/udpsend~-help.pd
+++ b/net/udpsend~-help.pd
@@ -1,120 +1,158 @@
-#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 <olaf.matthes@gmx.de>;
-#X text 204 123 receives 4 channels on port 8808;
-#X text 146 309 connect to <hostname> <port>;
-#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;
+#N canvas 308 59 838 769 10;
+#X obj -178 225 osc~ 440;
+#X msg -398 60 disconnect;
+#X msg -353 105 format float;
+#X msg -332 126 format 16bit;
+#X msg -311 147 format 8bit;
+#X msg -440 18 connect localhost 8008;
+#X text -244 103 float is the most expensive with the best resolution
+(32bit) \, default is 16bit;
+#X msg -419 39 connect 255.255.255.255 8008;
+#X obj 34 650 print udpreceive~;
+#X obj 224 369 print udpsend~;
+#X obj -178 320 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 1
+1;
+#X symbolatom -97 435 10 0 0 0 - - -;
+#X floatatom -44 369 5 0 0 0 - - -;
+#X floatatom 10 391 9 0 0 0 - - -;
+#X floatatom 63 411 9 0 0 0 - - -;
+#X symbolatom 117 390 10 0 0 0 - - -;
+#X obj -97 411 prepend set;
+#X obj 117 367 prepend set;
+#X text -102 368 channels:;
+#X text -152 442 format:;
+#X text 13 411 bitrate:;
+#X text -51 391 framesize:;
+#X text 98 389 to:;
+#X msg -216 242 info;
+#X symbolatom -311 720 10 0 0 0 - - -;
+#X floatatom -273 673 5 0 0 0 - - -;
+#X floatatom -235 650 7 0 0 0 - - -;
+#X floatatom -196 720 9 0 0 0 - - -;
+#X obj -311 696 prepend set;
+#X text -337 672 channels:;
+#X text -357 719 format:;
+#X text -248 719 bitrate:;
+#X text -299 649 framesize:;
+#X floatatom -158 674 9 0 0 0 - - -;
+#X floatatom -120 650 9 0 0 0 - - -;
+#X floatatom -81 696 5 0 0 0 - - -;
+#X floatatom -43 674 5 0 0 0 - - -;
+#X text -215 673 overflow:;
+#X text -182 649 underflow:;
+#X text -144 695 queuesize:;
+#X text -95 673 average:;
+#X msg -443 478 info;
+#X text -237 34 broadcast to everybody on your local subnet listening
+on the specified port;
+#X msg -463 458 reset;
+#X text -410 477 status info to rightmost outlet;
+#X text -415 241 status info to rightmost outlet;
+#X text -425 457 reset underflow & overflow counters;
+#X floatatom -268 591 3 0 0 0 - - -;
+#X floatatom -245 591 3 0 0 0 - - -;
+#X floatatom -222 591 3 0 0 0 - - -;
+#X floatatom -199 591 3 0 0 0 - - -;
+#X floatatom -175 591 5 0 0 0 - - -;
+#X obj -268 565 unpack 0 0 0 0 0;
+#X text -305 590 from:;
+#X obj -179 268 *~;
+#X floatatom -164 150 5 0 0 0 - - -;
+#X text -19 178 Framesize = (blocksize) X (number of channels) X (bytes
+per sample);
+#X obj -97 339 route format channels framesize bitrate ipaddr vecsize
+;
+#X floatatom 170 430 9 0 0 0 - - -;
+#X text 70 430 dsp vector size:;
+#X msg -258 200 channels \$1;
+#X obj -412 185 hradio 15 1 0 8 empty empty empty 0 -8 0 10 -4034 -1
+-1 1;
+#X obj -178 297 udpsend~ 2 512;
+#X text -88 296 sends 2 dsp-channels using 512-sample blocks;
+#X obj -397 541 udpreceive~ 8008 2 512;
+#X text -258 542 receives 2 channels on port 8808;
+#X obj -398 602 dac~ 1 2;
+#X text 68 448 (blocksize must be a multiple of this);
+#X text -160 318 1 = transmitting;
+#X obj -97 246 noise~;
+#X obj -98 268 *~;
+#X obj -164 170 / 100;
+#X text -456 310 Author: Martin Peach 2010/01/10;
+#X text -455 338 Based on: [netreceive~] and [netsend~]by Olaf Matthes
+;
+#X obj -311 613 route format channels framesize bitrate overflow underflow
+queuesize average packets;
+#X floatatom -5 718 9 0 0 0 - - -;
+#X text -57 717 packets:;
+#X text -20 204 Default blocksize is 2048 The number of samples per
+block must be an integer multiple of the number of samples in one signal
+vector.;
+#X text -23 248 Arguments: (1st required \, 2nd optional) 1:number
+of channels to send. 2:blocksize = number of samples per channel per
+frame. (Blocksize of sender and receiver must be the same.);
+#X text -98 558 To communicate \, a [udpreceive~] and [udpsend~] pair
+must have the same number of channels and the same blocksize. Also
+[udpsend~] must [connect( to the port on which [udpreceive~] is listening.
+;
+#X text -329 59 stop transmitting;
+#X text -355 76 format defines the resolution of the sent signal and
+may be changed on-the-fly;
+#X text -450 200 number of channels to transmit;
+#X msg -422 499 buffer 2;
+#X text -360 498 set number of frames to buffer before playback;
+#X text -456 373 [udpsend~] transmits dsp vectors ("audio") via UDP.
+UDP is a connectionless protocol \, so [udpsend~] will transmit even
+if nothing is receiving.;
+#X text -299 18 connect to <hostname> <port> and begin transmitting
+;
+#X text -455 294 [udpreceive~] and [udpsend~];
+#X connect 0 0 54 0;
+#X connect 1 0 62 0;
+#X connect 2 0 62 0;
+#X connect 3 0 62 0;
+#X connect 4 0 62 0;
+#X connect 5 0 62 0;
+#X connect 7 0 62 0;
+#X connect 16 0 11 0;
+#X connect 17 0 15 0;
+#X connect 23 0 62 0;
+#X connect 28 0 24 0;
+#X connect 41 0 64 0;
+#X connect 43 0 64 0;
+#X connect 52 0 47 0;
+#X connect 52 1 48 0;
+#X connect 52 2 49 0;
+#X connect 52 3 50 0;
+#X connect 52 4 51 0;
+#X connect 54 0 62 0;
+#X connect 55 0 71 0;
+#X connect 57 0 16 0;
+#X connect 57 1 12 0;
+#X connect 57 2 13 0;
+#X connect 57 3 14 0;
+#X connect 57 4 17 0;
+#X connect 57 5 58 0;
+#X connect 57 6 9 0;
+#X connect 60 0 62 0;
+#X connect 61 0 60 0;
+#X connect 62 0 10 0;
+#X connect 62 1 57 0;
+#X connect 64 0 66 0;
+#X connect 64 1 66 1;
+#X connect 64 2 74 0;
+#X connect 64 3 52 0;
+#X connect 69 0 70 0;
+#X connect 70 0 62 1;
+#X connect 71 0 54 1;
+#X connect 71 0 70 1;
+#X connect 74 0 28 0;
+#X connect 74 1 25 0;
+#X connect 74 2 26 0;
+#X connect 74 3 27 0;
+#X connect 74 4 33 0;
+#X connect 74 5 34 0;
+#X connect 74 6 35 0;
+#X connect 74 7 36 0;
+#X connect 74 8 75 0;
+#X connect 74 9 8 0;
+#X connect 83 0 64 0;