Debian Codegraph @

audience~-help.pd

raw
1 #N canvas 207 7 763 647 10;
2 #X text 370 378 * Width : graphical x size;
3 #X text 371 393 * Height : graphical y size;
4 #X text 358 456 bugs and comments @ [email protected] [-_-];
5 #X obj 91 492 *~ 1;
6 #X obj 177 491 *~ 1;
7 #X obj 134 458 / 100;
8 #X floatatom 134 428 5 0 0;
9 #X floatatom 174 129 5 0 0;
10 #X floatatom 254 128 5 0 0;
11 #X floatatom 332 128 5 0 0;
12 #X floatatom 405 128 5 0 0;
13 #X text 332 210 audience~ is a moving audience simulation;
14 #X text 334 236 within a 2d space;
15 #X text 332 223 Each sound input and each listener can be moved;
16 #X text 371 407 * Nb Listeners : number of listeners;
17 #X obj 129 523 dac~;
18 #X msg 42 89 attenuation 0;
19 #X msg 42 64 attenuation 0.1;
20 #X msg 42 40 attenuation 1;
21 #X obj 406 153 osc~ 10000;
22 #X text 8 14 Sound attenuation per meter ( default = 0.01 );
23 #X text 338 306 Example : audience~ 200 200 4 1 0.01 0;
24 #X text 339 349 (invoke with <right mouse>Properties );
25 #X text 342 339 You can set the following properties :;
26 #X text 341 527 Note : the number of inputs + outputs is limited to
27 10;
28 #X text 341 540 ( can be easily changed in the code );
29 #X obj 254 154 osc~ 500;
30 #X obj 331 154 osc~ 3000;
31 #X text 337 278 Constructor : audience~ <width> <height> <nbinputs>
32 <nblisteners> <attenuation> <apply delay flag> | audience~;
33 #X obj 175 155 osc~ 50;
34 #X obj 70 196 audience~ 200 200 4 2 0.01 0 0 0 193 188 126 118 145
35 72 20 182 10 0;
36 #X msg 165 66 delay 0;
37 #X msg 165 91 delay 1;
38 #X text 296 41 ( due to the distance between speaker and listener )
39 ;
40 #X text 163 40 Apply delay option;
41 #X connect 3 0 15 0;
42 #X connect 4 0 15 1;
43 #X connect 5 0 3 1;
44 #X connect 5 0 4 1;
45 #X connect 6 0 5 0;
46 #X connect 7 0 29 0;
47 #X connect 8 0 26 0;
48 #X connect 9 0 27 0;
49 #X connect 10 0 19 0;
50 #X connect 16 0 30 0;
51 #X connect 17 0 30 0;
52 #X connect 18 0 30 0;
53 #X connect 19 0 30 4;
54 #X connect 26 0 30 2;
55 #X connect 27 0 30 3;
56 #X connect 29 0 30 1;
57 #X connect 30 0 3 0;
58 #X connect 30 1 4 0;
59 #X connect 31 0 30 0;
60 #X connect 32 0 30 0;