view SwordSounds/thisPosition.pd @ 121:fc6aff2a2493

angleCalcN added and Mach effects added to the dipole source.
author Rod Selfridge <r.selfridge@qmul.ac.uk>
date Tue, 04 Aug 2015 17:28:43 +0100
parents c64c81777e76
children 11f39050c282
line wrap: on
line source
#N canvas 574 52 917 541 10;
#X obj -11951 -141 r~ currentElev;
#X obj -11639 -26 r~ currentAzim;
#X obj -11951 -117 /~ 360;
#X obj -11951 -94 sin~;
#X obj -11951 -51 *~;
#X obj -11654 -139 r~ currentElev;
#X obj -11654 -115 /~ 360;
#X obj -11654 -49 *~;
#X obj -11654 -92 cos~;
#X obj -11639 19 cos~;
#X obj -11639 -2 /~ 360;
#X obj -11654 44 *~;
#X obj -11798 -22 r~ currentAzim;
#X obj -11813 -135 r~ currentElev;
#X obj -11813 -111 /~ 360;
#X obj -11813 -45 *~;
#X obj -11798 2 /~ 360;
#X obj -11813 48 *~;
#X obj -11813 -88 cos~;
#X obj -11798 23 sin~;
#X text -11683 -163 Z position of source;
#X obj -12001 -9 sig~;
#X obj -11951 17 -~;
#X obj -11856 93 sig~;
#X obj -11813 115 -~;
#X obj -11698 88 sig~;
#X obj -11654 112 -~;
#X obj -11698 65 r Zobs;
#X obj -11951 46 *~;
#X obj -11813 140 *~;
#X obj -11654 137 *~;
#X obj -11893 156 +~;
#X obj -11547 196 +~;
#X obj -11547 220 sqrt~;
#X text -11961 -164 Y position of source;
#X text -11820 -162 X position of source;
#X obj -11856 70 r Xobs;
#X obj -12001 -32 r Yobs;
#X text -12041 201 Distance between the observer as a point in 3D space
and the sound source.;
#X obj -11547 243 outlet~;
#X obj -11508 -190 inlet~;
#X obj -11508 -166 s~ \$0_myScrCnt;
#X obj -11639 -72 r~ \$0_myScrCnt;
#X obj -11798 -68 r~ \$0_myScrCnt;
#X obj -11936 -74 r~ \$0_myScrCnt;
#X obj -11632 72 outlet~;
#X obj -11793 77 outlet~;
#X obj -11919 -19 outlet~;
#X obj -11435 192 +~;
#X obj -11435 216 sqrt~;
#X obj -11435 239 outlet~;
#X connect 0 0 2 0;
#X connect 1 0 10 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 4 0 22 1;
#X connect 4 0 47 0;
#X connect 5 0 6 0;
#X connect 6 0 8 0;
#X connect 7 0 11 0;
#X connect 8 0 7 0;
#X connect 9 0 11 1;
#X connect 10 0 9 0;
#X connect 11 0 26 1;
#X connect 11 0 45 0;
#X connect 12 0 16 0;
#X connect 13 0 14 0;
#X connect 14 0 18 0;
#X connect 15 0 17 0;
#X connect 16 0 19 0;
#X connect 17 0 24 1;
#X connect 17 0 46 0;
#X connect 18 0 15 0;
#X connect 19 0 17 1;
#X connect 21 0 22 0;
#X connect 22 0 28 0;
#X connect 22 0 28 1;
#X connect 23 0 24 0;
#X connect 24 0 29 0;
#X connect 24 0 29 1;
#X connect 25 0 26 0;
#X connect 26 0 30 0;
#X connect 26 0 30 1;
#X connect 27 0 25 0;
#X connect 28 0 31 0;
#X connect 29 0 31 1;
#X connect 29 0 48 0;
#X connect 30 0 32 1;
#X connect 30 0 48 1;
#X connect 31 0 32 0;
#X connect 32 0 33 0;
#X connect 33 0 39 0;
#X connect 36 0 23 0;
#X connect 37 0 21 0;
#X connect 40 0 41 0;
#X connect 42 0 7 1;
#X connect 43 0 15 1;
#X connect 44 0 4 1;
#X connect 48 0 49 0;
#X connect 49 0 50 0;