audience~-help.pd 1.9 KB
Newer Older
Ivica Ico Bukvic's avatar
Ivica Ico Bukvic committed
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
#N canvas 207 7 763 647 10;
#X text 370 378 * Width : graphical x size;
#X text 371 393 * Height : graphical y size;
#X text 358 456 bugs and comments @ ydegoyon@free.fr [-_-];
#X obj 91 492 *~ 1;
#X obj 177 491 *~ 1;
#X obj 134 458 / 100;
#X floatatom 134 428 5 0 0;
#X floatatom 174 129 5 0 0;
#X floatatom 254 128 5 0 0;
#X floatatom 332 128 5 0 0;
#X floatatom 405 128 5 0 0;
#X text 332 210 audience~ is a moving audience simulation;
#X text 334 236 within a 2d space;
#X text 332 223 Each sound input and each listener can be moved;
#X text 371 407 * Nb Listeners : number of listeners;
#X obj 129 523 dac~;
#X msg 42 89 attenuation 0;
#X msg 42 64 attenuation 0.1;
#X msg 42 40 attenuation 1;
#X obj 406 153 osc~ 10000;
#X text 8 14 Sound attenuation per meter ( default = 0.01 );
#X text 338 306 Example : audience~ 200 200 4 1 0.01 0;
#X text 339 349 (invoke with <right mouse>Properties );
#X text 342 339 You can set the following properties :;
#X text 341 527 Note : the number of inputs + outputs is limited to
10;
#X text 341 540 ( can be easily changed in the code );
#X obj 254 154 osc~ 500;
#X obj 331 154 osc~ 3000;
#X text 337 278 Constructor : audience~ <width> <height> <nbinputs>
<nblisteners> <attenuation> <apply delay flag> | audience~;
#X obj 175 155 osc~ 50;
#X obj 70 196 audience~ 200 200 4 2 0.01 0 0 0 193 188 126 118 145
72 20 182 10 0;
#X msg 165 66 delay 0;
#X msg 165 91 delay 1;
#X text 296 41 ( due to the distance between speaker and listener )
;
#X text 163 40 Apply delay option;
#X connect 3 0 15 0;
#X connect 4 0 15 1;
#X connect 5 0 3 1;
#X connect 5 0 4 1;
#X connect 6 0 5 0;
#X connect 7 0 29 0;
#X connect 8 0 26 0;
#X connect 9 0 27 0;
#X connect 10 0 19 0;
#X connect 16 0 30 0;
#X connect 17 0 30 0;
#X connect 18 0 30 0;
#X connect 19 0 30 4;
#X connect 26 0 30 2;
#X connect 27 0 30 3;
#X connect 29 0 30 1;
#X connect 30 0 3 0;
#X connect 30 1 4 0;
#X connect 31 0 30 0;
#X connect 32 0 30 0;