aboutsummaryrefslogtreecommitdiff
path: root/net/udpsend~-help.pd
blob: d08675db525ab85fef6a65504f5f0cd4158b243d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
#N canvas 415 49 859 803 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 12 668 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 -333 755 10 0 0 0 - - -;
#X floatatom -299 689 5 0 0 0 - - -;
#X floatatom -264 668 7 0 0 0 - - -;
#X floatatom -230 733 9 0 0 0 - - -;
#X obj -333 714 prepend set;
#X text -363 688 channels:;
#X text -379 754 format:;
#X text -279 732 bitrate:;
#X text -328 667 framesize:;
#X floatatom -195 690 9 0 0 0 - - -;
#X floatatom -161 668 9 0 0 0 - - -;
#X floatatom -126 711 5 0 0 0 - - -;
#X floatatom -92 690 5 0 0 0 - - -;
#X text -252 689 overflow:;
#X text -221 667 underflow:;
#X text -187 710 queuesize:;
#X text -140 689 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 -301 608 3 0 0 0 - - -;
#X floatatom -278 608 3 0 0 0 - - -;
#X floatatom -255 608 3 0 0 0 - - -;
#X floatatom -232 608 3 0 0 0 - - -;
#X floatatom -208 608 5 0 0 0 - - -;
#X obj -301 582 unpack 0 0 0 0 0;
#X text -338 607 from:;
#X obj -179 268 *~;
#X floatatom -164 150 5 0 0 0 - - -;
#X text -66 148 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 4 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 obj -398 570 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 -455 338 Based on: [netreceive~] and [netsend~]by Olaf Matthes
;
#X floatatom -57 733 9 0 0 0 - - -;
#X text -109 732 packets:;
#X text -50 177 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 -28 225 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 -43 560 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 -458 365 [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 -456 313 [udpreceive~] and [udpsend~];
#X text -256 540 receives 2 channels on port 8008 Same blocksize as
udpsend~;
#X floatatom -412 216 5 0 0 0 - - -;
#X obj -288 172 tgl 15 0 empty empty toggle_connection 17 7 0 10 -4034
-1 -1 0 1;
#X obj -333 631 route format channels framesize bitrate overflow underflow
queuesize average packets tag_errors;
#X floatatom -23 711 9 0 0 0 - - -;
#X text -89 710 tag errors:;
#X obj -268 562 tgl 15 0 empty empty empty 17 7 0 10 -4034 -1 -1 1
1;
#X text -455 326 Author: Martin Peach 2010/03/16;
#X text -250 560 1 = valid audio;
#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 70 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 61 0 86 0;
#X connect 62 0 10 0;
#X connect 62 1 57 0;
#X connect 64 0 65 0;
#X connect 64 1 65 1;
#X connect 64 2 88 0;
#X connect 64 3 52 0;
#X connect 64 4 91 0;
#X connect 68 0 69 0;
#X connect 69 0 62 1;
#X connect 70 0 54 1;
#X connect 70 0 69 1;
#X connect 80 0 64 0;
#X connect 87 0 62 0;
#X connect 88 0 28 0;
#X connect 88 1 25 0;
#X connect 88 2 26 0;
#X connect 88 3 27 0;
#X connect 88 4 33 0;
#X connect 88 5 34 0;
#X connect 88 6 35 0;
#X connect 88 7 36 0;
#X connect 88 8 72 0;
#X connect 88 9 89 0;
#X connect 88 10 8 0;