view scene demo/wireSource.pd @ 110:572caafc3904

New model created. To be create - a number of sources along the wire, with tolerence, and different sources along the wire, different azimuths and slightly different frequencies.
author Rod Selfridge <r.selfridge@qmul.ac.uk>
date Tue, 28 Jul 2015 23:04:35 +0100
parents
children 431b12b60f0c
line wrap: on
line source
#N canvas 298 250 781 398 10;
#X obj -159 50 inlet;
#X obj -159 72 s \$0_wDel;
#X obj 128 183 wirePosition;
#X obj 40 245 freqCalcCyl2D3;
#X obj -65 176 r \$0_wDel;
#X obj 40 268 outlet;
#N canvas 855 500 450 215 Tolerance 0;
#X obj 178 73 inlet;
#X obj 178 153 outlet;
#X obj 242 25 loadbang;
#X obj 315 29 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 242 51 random 500;
#X floatatom 301 126 8 0 0 0 - - -;
#X obj 242 134 *;
#X floatatom 244 159 8 0 0 0 - - -;
#X obj 178 129 +;
#X obj 242 72 - 250;
#X floatatom 111 154 8 0 0 0 - - -;
#X floatatom 136 100 5 0 0 0 - - -;
#X obj 242 94 * 0.0001;
#X obj 135 61 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 299 72 +/- 2.5% Tolerence;
#X connect 0 0 6 1;
#X connect 0 0 11 0;
#X connect 0 0 8 0;
#X connect 2 0 4 0;
#X connect 3 0 4 0;
#X connect 4 0 9 0;
#X connect 6 0 7 0;
#X connect 6 0 8 1;
#X connect 8 0 1 0;
#X connect 8 0 10 0;
#X connect 9 0 12 0;
#X connect 12 0 5 0;
#X connect 12 0 6 0;
#X connect 13 0 8 0;
#X restore 11 176 pd Tolerance;
#X obj -86 45 r WirX;
#X obj 4 45 r WirZ;
#X obj -41 45 r WirY;
#X obj 50 45 r WirLY;
#X obj 155 44 r WirLZ;
#X obj 102 44 r WirLX;
#X obj 314 45 r WirRZ;
#X obj 262 45 r WirRX;
#X obj 208 45 r WirRY;
#X text -81 325 A single source on the horizontal wire;
#X connect 0 0 1 0;
#X connect 2 0 3 5;
#X connect 2 1 3 6;
#X connect 2 2 3 3;
#X connect 2 3 3 4;
#X connect 3 0 5 0;
#X connect 4 0 3 0;
#X connect 6 0 3 1;
#X connect 7 0 2 0;
#X connect 8 0 2 2;
#X connect 9 0 2 1;
#X connect 10 0 3 2;
#X connect 10 0 2 3;
#X connect 11 0 2 5;
#X connect 12 0 6 0;
#X connect 12 0 2 4;
#X connect 13 0 2 8;
#X connect 14 0 2 7;
#X connect 15 0 2 6;