Mercurial > hg > aeolianharp
comparison MechAeolianD3.pd @ 0:12b68fb81455
Demo patch for Aeolian Harp synthesis model
author | Rod Selfridge <r.selfridge@qmul.ac.uk> |
---|---|
date | Wed, 23 Nov 2016 12:24:24 +0000 |
parents | |
children | 432a4398d556 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:12b68fb81455 |
---|---|
1 #N canvas 88 41 1370 784 10; | |
2 #X obj 223 63 inlet; | |
3 #X text 408 248 Reynolds Number; | |
4 #X text 359 284 Strouhal Number; | |
5 #X obj 388 61 inlet; | |
6 #X obj 230 86 s \$0-diameter; | |
7 #X obj 120 85 s~ \$0-windSpeed; | |
8 #X obj 348 166 r~ \$0-windSpeed; | |
9 #X obj 348 313 s~ \$0-myFreq; | |
10 #X obj 120 65 vd~ varwind; | |
11 #X obj 311 595 *~; | |
12 #X obj 411 231 s~ \$0-myRey; | |
13 #X obj 636 57 inlet; | |
14 #X floatatom 581 126 8 0 0 0 - - -; | |
15 #X text 345 342 Calculates the frequency; | |
16 #X text 346 354 based on the physics of; | |
17 #X obj 77 422 r~ \$0-windSpeed; | |
18 #X obj 117 484 r \$0-diameter; | |
19 #X obj 460 60 inlet; | |
20 #X obj 534 59 inlet; | |
21 #X floatatom 388 108 0 0 0 0 - - -; | |
22 #X floatatom 460 106 0 0 0 0 - - -; | |
23 #X floatatom 535 103 0 0 0 0 - - -; | |
24 #X text 63 385 Calculates the gain of the dipole source; | |
25 #X text 459 37 Azimuth; | |
26 #X text 641 39 Pan; | |
27 #X text 533 41 Elevation; | |
28 #X text 384 42 Distance; | |
29 #X text 218 42 Diameter; | |
30 #X text 133 41 Wind Speed; | |
31 #X obj 315 60 inlet; | |
32 #X floatatom 315 104 5 0 0 0 - - -; | |
33 #X text 311 41 Length; | |
34 #X floatatom 223 107 0 0 0 0 - - -; | |
35 #X obj 311 664 throw~ l; | |
36 #X obj 338 642 throw~ r; | |
37 #X obj 325 83 s \$0-leng; | |
38 #X obj 393 84 s \$0-dist; | |
39 #X obj 170 349 s~ \$0-dragDiGain; | |
40 #X obj 83 370 s~ \$0-liftDiGain; | |
41 #X obj 64 403 r~ \$0-str; | |
42 #X obj 103 462 r \$0-leng; | |
43 #X obj 130 505 r \$0-dist; | |
44 #X obj 64 598 s~ \$0-liftNoiseGain; | |
45 #X obj 379 269 s~ \$0-str; | |
46 #X obj 636 126 s \$0-thisPan; | |
47 #X obj 311 451 r~ \$0-liftNoiseGain; | |
48 #X obj 338 595 r \$0-thisPan; | |
49 #X obj 803 39 inlet; | |
50 #X obj 746 39 inlet; | |
51 #X text 292 425 Noise spectrum calculation; | |
52 #X obj 326 543 hip~; | |
53 #X obj 326 498 rpole~ 0.99; | |
54 #X obj 91 181 r~ \$0-windSpeed; | |
55 #X obj 109 220 r \$0-diameter; | |
56 #X obj 83 160 r~ \$0-str; | |
57 #X obj 101 201 r \$0-leng; | |
58 #X obj 126 259 r \$0-dist; | |
59 #N canvas 205 88 1238 721 GoldfreqGain 0; | |
60 #N canvas 759 125 286 294 pow6 0; | |
61 #X obj 47 67 *~; | |
62 #X obj 76 67 *~; | |
63 #X obj 76 35 inlet~; | |
64 #X obj 47 163 outlet~; | |
65 #X obj 136 184 snapshot~; | |
66 #X obj 136 159 metro 100; | |
67 #X obj 136 137 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 | |
68 1; | |
69 #X floatatom 136 211 10 0 0 0 - - -; | |
70 #X obj 216 210 outlet; | |
71 #X obj 136 111 loadbang; | |
72 #X obj 106 67 *~; | |
73 #X obj 47 93 *~; | |
74 #X obj 47 118 *~; | |
75 #X obj 372 202 *; | |
76 #X obj 372 228 *; | |
77 #X obj 382 22 hsl 128 15 0 10 0 0 empty empty empty -2 -8 0 10 -262144 | |
78 -1 -1 0 1; | |
79 #X floatatom 374 288 10 0 0 0 - - -; | |
80 #X obj 303 20 t f b; | |
81 #X floatatom 455 55 5 0 0 0 - - -; | |
82 #X obj 372 260 *; | |
83 #X obj 400 202 *; | |
84 #X msg 303 -4 6; | |
85 #X obj 434 201 *; | |
86 #X connect 0 0 11 0; | |
87 #X connect 1 0 11 1; | |
88 #X connect 2 0 0 0; | |
89 #X connect 2 0 0 1; | |
90 #X connect 2 0 1 1; | |
91 #X connect 2 0 10 0; | |
92 #X connect 2 0 10 1; | |
93 #X connect 2 0 1 0; | |
94 #X connect 4 0 7 0; | |
95 #X connect 4 0 8 0; | |
96 #X connect 5 0 4 0; | |
97 #X connect 6 0 5 0; | |
98 #X connect 9 0 6 0; | |
99 #X connect 10 0 12 1; | |
100 #X connect 11 0 12 0; | |
101 #X connect 12 0 4 0; | |
102 #X connect 12 0 3 0; | |
103 #X connect 13 0 14 0; | |
104 #X connect 14 0 19 0; | |
105 #X connect 15 0 13 0; | |
106 #X connect 15 0 13 1; | |
107 #X connect 15 0 18 0; | |
108 #X connect 15 0 20 0; | |
109 #X connect 15 0 20 1; | |
110 #X connect 17 0 13 0; | |
111 #X connect 17 0 13 1; | |
112 #X connect 17 0 20 0; | |
113 #X connect 17 0 20 1; | |
114 #X connect 17 0 22 0; | |
115 #X connect 17 0 22 1; | |
116 #X connect 17 1 13 0; | |
117 #X connect 17 1 20 0; | |
118 #X connect 17 1 22 0; | |
119 #X connect 19 0 16 0; | |
120 #X connect 20 0 14 1; | |
121 #X connect 21 0 17 0; | |
122 #X connect 22 0 19 1; | |
123 #X restore 219 150 pd pow6; | |
124 #X obj 173 140 *~; | |
125 #X obj 219 176 *~; | |
126 #X obj 411 161 *; | |
127 #X text 587 13 Distance; | |
128 #X floatatom 567 73 5 0 0 0 - - -; | |
129 #X text 724 548 Calculates Drag Dipole gain; | |
130 #X text 48 531 Calculates Lift Dipole gain; | |
131 #X obj 173 100 inlet~; | |
132 #X obj 219 13 inlet~; | |
133 #X text 328 170 Diameter; | |
134 #X obj 291 169 inlet; | |
135 #X obj 567 29 inlet; | |
136 #X obj 219 590 outlet~; | |
137 #X obj 758 523 outlet~; | |
138 #X obj 240 263 inlet; | |
139 #X text 278 258 Length; | |
140 #X obj 219 289 *~ 1; | |
141 #X obj 234 469 /~ 360; | |
142 #X obj 234 518 *~; | |
143 #X obj 219 541 *~; | |
144 #X obj 868 30 inlet; | |
145 #X obj 967 32 inlet; | |
146 #X obj 1063 35 inlet; | |
147 #X floatatom 868 77 5 0 0 0 - - -; | |
148 #X floatatom 967 78 5 0 0 0 - - -; | |
149 #X floatatom 1064 79 5 0 0 0 - - -; | |
150 #X text 864 11 X Rotation; | |
151 #X text 961 13 Y Rotation; | |
152 #X text 1058 16 Z Rotation; | |
153 #X obj 873 53 s \$0-this_rotaX; | |
154 #X obj 974 54 s \$0-thisrotaY; | |
155 #X obj 1071 58 s \$0-thisrotaZ; | |
156 #X text 74 100 Strouhal number; | |
157 #X text 149 37 Wind speed; | |
158 #X text 266 211 Corr Length; | |
159 #X obj 219 348 *~ 2.50663; | |
160 #X obj 219 238 *~ 1.225; | |
161 #X text 93 234 Mass Density of Air; | |
162 #X text 145 343 Sqrt(2xpi); | |
163 #X obj 332 470 /~ 360; | |
164 #X obj 332 516 *~; | |
165 #X obj 332 492 cos~; | |
166 #X obj 219 567 *~; | |
167 #X obj 411 191 * 4.05513e+07; | |
168 #X text 362 210 Speed of Sound to power 3; | |
169 #X obj 411 244 * 32; | |
170 #X obj 525 213 cos~; | |
171 #X obj 525 236 *~; | |
172 #X obj 473 237 sig~ 1; | |
173 #X obj 510 267 -~; | |
174 #N canvas 1150 227 286 289 pow4 0; | |
175 #X obj 47 67 *~; | |
176 #X obj 76 67 *~; | |
177 #X obj 76 35 inlet~; | |
178 #X obj 47 163 outlet~; | |
179 #X obj 136 184 snapshot~; | |
180 #X obj 136 159 metro 100; | |
181 #X obj 136 137 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 | |
182 1; | |
183 #X floatatom 136 211 10 0 0 0 - - -; | |
184 #X obj 216 210 outlet; | |
185 #X obj 136 111 loadbang; | |
186 #X obj 47 93 *~; | |
187 #X connect 0 0 10 0; | |
188 #X connect 1 0 10 1; | |
189 #X connect 2 0 0 0; | |
190 #X connect 2 0 0 1; | |
191 #X connect 2 0 1 1; | |
192 #X connect 2 0 1 0; | |
193 #X connect 4 0 7 0; | |
194 #X connect 4 0 8 0; | |
195 #X connect 5 0 4 0; | |
196 #X connect 6 0 5 0; | |
197 #X connect 9 0 6 0; | |
198 #X connect 10 0 3 0; | |
199 #X connect 10 0 4 0; | |
200 #X restore 510 290 pd pow4; | |
201 #X obj 411 272 sig~; | |
202 #X obj 411 322 *~; | |
203 #X obj 219 385 /~; | |
204 #X obj 133 375 s~ \$0-aGainG; | |
205 #X obj 872 246 r~ \$0-aGainG; | |
206 #X obj 758 498 *~ 0.1; | |
207 #X obj 723 340 +~ 90; | |
208 #X obj 723 363 /~ 360; | |
209 #X obj 723 409 *~; | |
210 #X obj 723 385 sin~; | |
211 #X obj 773 359 /~ 360; | |
212 #X obj 773 405 *~; | |
213 #X obj 773 381 cos~; | |
214 #X obj 758 436 *~; | |
215 #X text 763 12 Azimuth; | |
216 #X text 662 14 Elevation; | |
217 #X obj 665 32 inlet; | |
218 #X obj 767 30 inlet; | |
219 #X floatatom 665 79 5 0 0 0 - - -; | |
220 #X floatatom 767 79 5 0 0 0 - - -; | |
221 #X obj 773 294 r \$0-this_azim; | |
222 #X obj 670 55 s \$0-this_elev; | |
223 #X obj 774 55 s \$0-this_azim; | |
224 #X obj 525 129 r \$0-this_elev; | |
225 #X obj 574 51 s \$0-thisDist; | |
226 #X obj 887 268 r \$0-thisDist; | |
227 #X obj 411 135 r \$0-thisDist; | |
228 #X obj 887 292 *; | |
229 #X obj 887 317 * 4.05513e+07; | |
230 #X text 892 335 Speed of Sound to power 3; | |
231 #X obj 887 370 * 32; | |
232 #X obj 887 398 sig~; | |
233 #X obj 872 423 /~; | |
234 #X text 595 191 Remember - Goldstein moves cylinder; | |
235 #X obj 525 194 /~ 360; | |
236 #X obj 758 475 *~; | |
237 #X obj 478 51 s~ \$0-thisColL; | |
238 #X obj 270 150 r~ \$0-thisColL; | |
239 #X obj 270 190 *~ 1; | |
240 #X obj 219 210 *~; | |
241 #X obj 478 28 inlet~; | |
242 #X obj 234 495 sin~; | |
243 #N canvas 801 264 426 401 aveTimeCal 0; | |
244 #X text 224 38 Elevation; | |
245 #X obj 226 56 r \$0-elev; | |
246 #X floatatom 240 81 5 0 0 0 - - -; | |
247 #X obj 205 17 r~ MY_MACH; | |
248 #X obj 226 135 cos; | |
249 #X obj 226 107 * 0.01745; | |
250 #X obj 205 158 *~ 1; | |
251 #X obj 161 131 sig~ 1; | |
252 #X obj 161 185 -~; | |
253 #X obj 121 104 r~ \$0-myFreq; | |
254 #X obj 106 82 sig~ 6.28318; | |
255 #X obj 106 128 /~; | |
256 #X obj 106 219 *~; | |
257 #X obj 36 204 r myMet; | |
258 #X obj 106 242 snapshot~; | |
259 #X obj 106 263 * 44100; | |
260 #X obj 106 292 outlet; | |
261 #X floatatom 158 291 0 0 0 0 - - -; | |
262 #X connect 1 0 2 0; | |
263 #X connect 1 0 5 0; | |
264 #X connect 3 0 6 0; | |
265 #X connect 4 0 6 1; | |
266 #X connect 5 0 4 0; | |
267 #X connect 6 0 8 1; | |
268 #X connect 7 0 8 0; | |
269 #X connect 8 0 12 1; | |
270 #X connect 9 0 11 1; | |
271 #X connect 10 0 11 0; | |
272 #X connect 11 0 12 0; | |
273 #X connect 12 0 14 0; | |
274 #X connect 13 0 14 0; | |
275 #X connect 14 0 15 0; | |
276 #X connect 15 0 16 0; | |
277 #X connect 15 0 17 0; | |
278 #X restore 268 15 pd aveTimeCal; | |
279 #X obj 219 122 line~; | |
280 #X obj 525 173 line~; | |
281 #X obj 723 273 r \$0-this_elev; | |
282 #X obj 723 317 line~; | |
283 #X msg 723 295 \$1 5; | |
284 #X msg 525 151 \$1 5; | |
285 #X obj 773 338 line~; | |
286 #X msg 773 316 \$1 5; | |
287 #X obj 332 402 r \$0-this_azim; | |
288 #X obj 234 401 r \$0-this_elev; | |
289 #X obj 234 445 line~; | |
290 #X msg 234 423 \$1 5; | |
291 #X obj 332 446 line~; | |
292 #X msg 332 424 \$1 5; | |
293 #X msg 219 100 \$1 5; | |
294 #X obj 219 317 /~ 400; | |
295 #X text -53 316 Scale factor to bring in line with CFD calcs; | |
296 #X obj 559 214 r~ MY_MACH; | |
297 #X floatatom 265 294 5 0 0 0 - - -; | |
298 #X floatatom 311 117 0 0 0 0 - - -; | |
299 #X obj 219 59 average~ 1000; | |
300 #X connect 0 0 2 0; | |
301 #X connect 1 0 2 1; | |
302 #X connect 2 0 91 0; | |
303 #X connect 3 0 44 0; | |
304 #X connect 8 0 1 0; | |
305 #X connect 8 0 1 1; | |
306 #X connect 9 0 115 0; | |
307 #X connect 11 0 90 1; | |
308 #X connect 12 0 5 0; | |
309 #X connect 12 0 76 0; | |
310 #X connect 15 0 17 1; | |
311 #X connect 15 0 113 0; | |
312 #X connect 17 0 110 0; | |
313 #X connect 18 0 93 0; | |
314 #X connect 19 0 20 1; | |
315 #X connect 20 0 43 0; | |
316 #X connect 21 0 24 0; | |
317 #X connect 21 0 30 0; | |
318 #X connect 22 0 25 0; | |
319 #X connect 22 0 31 0; | |
320 #X connect 23 0 26 0; | |
321 #X connect 23 0 32 0; | |
322 #X connect 36 0 54 0; | |
323 #X connect 36 0 55 0; | |
324 #X connect 37 0 17 0; | |
325 #X connect 40 0 42 0; | |
326 #X connect 41 0 43 1; | |
327 #X connect 42 0 41 0; | |
328 #X connect 42 0 41 1; | |
329 #X connect 43 0 13 0; | |
330 #X connect 44 0 46 0; | |
331 #X connect 46 0 52 0; | |
332 #X connect 47 0 48 0; | |
333 #X connect 48 0 50 1; | |
334 #X connect 49 0 50 0; | |
335 #X connect 50 0 51 0; | |
336 #X connect 51 0 53 1; | |
337 #X connect 52 0 53 0; | |
338 #X connect 53 0 54 1; | |
339 #X connect 54 0 20 0; | |
340 #X connect 56 0 84 0; | |
341 #X connect 57 0 14 0; | |
342 #X connect 58 0 59 0; | |
343 #X connect 59 0 61 0; | |
344 #X connect 60 0 65 0; | |
345 #X connect 61 0 60 0; | |
346 #X connect 61 0 60 1; | |
347 #X connect 62 0 64 0; | |
348 #X connect 63 0 65 1; | |
349 #X connect 64 0 63 0; | |
350 #X connect 64 0 63 1; | |
351 #X connect 65 0 87 0; | |
352 #X connect 68 0 70 0; | |
353 #X connect 68 0 73 0; | |
354 #X connect 69 0 71 0; | |
355 #X connect 69 0 74 0; | |
356 #X connect 72 0 102 0; | |
357 #X connect 75 0 100 0; | |
358 #X connect 77 0 79 0; | |
359 #X connect 77 0 79 1; | |
360 #X connect 78 0 3 0; | |
361 #X connect 78 0 3 1; | |
362 #X connect 79 0 80 0; | |
363 #X connect 80 0 82 0; | |
364 #X connect 82 0 83 0; | |
365 #X connect 83 0 84 1; | |
366 #X connect 84 0 87 1; | |
367 #X connect 86 0 47 0; | |
368 #X connect 87 0 57 0; | |
369 #X connect 89 0 90 0; | |
370 #X connect 90 0 91 1; | |
371 #X connect 91 0 37 0; | |
372 #X connect 92 0 88 0; | |
373 #X connect 93 0 19 0; | |
374 #X connect 93 0 19 1; | |
375 #X connect 95 0 0 0; | |
376 #X connect 96 0 86 0; | |
377 #X connect 97 0 99 0; | |
378 #X connect 99 0 98 0; | |
379 #X connect 100 0 96 0; | |
380 #X connect 101 0 62 0; | |
381 #X connect 102 0 101 0; | |
382 #X connect 103 0 108 0; | |
383 #X connect 104 0 106 0; | |
384 #X connect 105 0 18 0; | |
385 #X connect 106 0 105 0; | |
386 #X connect 107 0 40 0; | |
387 #X connect 108 0 107 0; | |
388 #X connect 109 0 95 0; | |
389 #X connect 110 0 36 0; | |
390 #X connect 112 0 48 1; | |
391 #X connect 115 0 109 0; | |
392 #X connect 115 0 114 0; | |
393 #X restore 83 325 pd GoldfreqGain; | |
394 #N canvas 300 30 1006 797 GoldnoiseGain 0; | |
395 #X text -21037 364 Mass Density of Air \, squared; | |
396 #X obj -20777 459 *; | |
397 #X text -20777 412 Distance; | |
398 #N canvas 759 125 235 275 pow8 0; | |
399 #X obj 47 67 *~; | |
400 #X obj 76 67 *~; | |
401 #X obj 76 35 inlet~; | |
402 #X obj 47 147 outlet~; | |
403 #X obj 128 146 snapshot~; | |
404 #X obj 128 121 metro 100; | |
405 #X obj 128 99 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 | |
406 1; | |
407 #X floatatom 128 173 10 0 0 0 - - -; | |
408 #X obj 128 73 loadbang; | |
409 #X obj 47 93 *~; | |
410 #X obj 47 121 *~; | |
411 #X connect 0 0 9 0; | |
412 #X connect 1 0 9 1; | |
413 #X connect 2 0 0 0; | |
414 #X connect 2 0 0 1; | |
415 #X connect 2 0 1 1; | |
416 #X connect 2 0 1 0; | |
417 #X connect 4 0 7 0; | |
418 #X connect 5 0 4 0; | |
419 #X connect 6 0 5 0; | |
420 #X connect 8 0 6 0; | |
421 #X connect 9 0 10 0; | |
422 #X connect 9 0 10 1; | |
423 #X connect 10 0 3 0; | |
424 #X connect 10 0 4 0; | |
425 #X restore -20846 224 pd pow8; | |
426 #X obj -20846 137 inlet~; | |
427 #X obj -20807 286 inlet; | |
428 #X obj -20777 433 inlet; | |
429 #X obj -20861 617 outlet~; | |
430 #X text -20858 648 Gain proportional to windspeed to power 8 for spectrum | |
431 ; | |
432 #X text -20771 287 Diameter; | |
433 #X text -20847 118 Wind speed; | |
434 #X text -21027 627 Calculates wake gain; | |
435 #X text -20399 16 Azimuth; | |
436 #X obj -20398 33 inlet; | |
437 #X obj -20342 33 inlet; | |
438 #X text -20343 16 Elevation; | |
439 #X floatatom -20304 57 5 0 0 0 - - -; | |
440 #X floatatom -20470 58 5 0 0 0 - - -; | |
441 #X obj -20398 117 s~ \$0-this_azim; | |
442 #X obj -20342 95 s~ \$0-this_elev; | |
443 #X obj -20861 371 *~ 1.225; | |
444 #X obj -20587 239 r~ \$0-this_azim; | |
445 #N canvas 759 125 250 309 pow5 0; | |
446 #X obj 47 67 *~; | |
447 #X obj 76 35 inlet~; | |
448 #X obj 47 170 outlet~; | |
449 #X obj 136 173 snapshot~; | |
450 #X obj 136 148 metro 100; | |
451 #X obj 136 126 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 | |
452 1; | |
453 #X floatatom 136 200 10 0 0 0 - - -; | |
454 #X obj 136 100 loadbang; | |
455 #X obj 47 87 *~; | |
456 #X obj 47 118 *~; | |
457 #X connect 0 0 8 0; | |
458 #X connect 0 0 8 1; | |
459 #X connect 1 0 0 0; | |
460 #X connect 1 0 0 1; | |
461 #X connect 1 0 9 1; | |
462 #X connect 3 0 6 0; | |
463 #X connect 4 0 3 0; | |
464 #X connect 5 0 4 0; | |
465 #X connect 7 0 5 0; | |
466 #X connect 8 0 9 0; | |
467 #X connect 9 0 2 0; | |
468 #X connect 9 0 3 0; | |
469 #X restore -20705 475 pd pow5; | |
470 #X obj -20705 451 sig~ 343.56; | |
471 #N canvas 875 261 250 309 pow5 0; | |
472 #X obj 47 67 *~; | |
473 #X obj 76 35 inlet~; | |
474 #X obj 47 170 outlet~; | |
475 #X obj 136 173 snapshot~; | |
476 #X obj 136 148 metro 100; | |
477 #X obj 136 126 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 | |
478 1; | |
479 #X floatatom 136 200 10 0 0 0 - - -; | |
480 #X obj 136 100 loadbang; | |
481 #X obj 47 87 *~; | |
482 #X obj 47 118 *~; | |
483 #X connect 0 0 8 0; | |
484 #X connect 0 0 8 1; | |
485 #X connect 1 0 0 0; | |
486 #X connect 1 0 0 1; | |
487 #X connect 1 0 9 1; | |
488 #X connect 3 0 6 0; | |
489 #X connect 4 0 3 0; | |
490 #X connect 5 0 4 0; | |
491 #X connect 7 0 5 0; | |
492 #X connect 8 0 9 0; | |
493 #X connect 9 0 2 0; | |
494 #X connect 9 0 3 0; | |
495 #X restore -20670 401 pd pow5; | |
496 #X obj -20624 216 /~ 360; | |
497 #X obj -20624 243 cos~; | |
498 #X obj -20624 349 *~; | |
499 #X obj -20670 348 sig~ 1; | |
500 #X obj -20670 375 -~; | |
501 #X obj -20705 322 sig~ 3.1416; | |
502 #X obj -20705 347 *~; | |
503 #X obj -20720 299 sig~ 16; | |
504 #X obj -20720 371 *~; | |
505 #X obj -20720 429 *~; | |
506 #X obj -20720 502 *~; | |
507 #X obj -20777 530 *~; | |
508 #X obj -20861 574 /~; | |
509 #X obj -20624 194 -~; | |
510 #X text -20533 187 Angle goes with the flow in Goldstein hence 90 - | |
511 theta so that theta is same angle as dipole angles.; | |
512 #X obj -20624 149 sig~ 180; | |
513 #X obj -20609 172 r~ \$0-this_elev; | |
514 #X obj -20916 137 inlet~; | |
515 #X obj -20916 164 *~; | |
516 #X obj -20828 253 inlet~; | |
517 #X obj -20828 312 *~ 1; | |
518 #X obj -20861 251 *~; | |
519 #X obj -20861 347 *~; | |
520 #X obj -20809 392 inlet; | |
521 #X obj -20861 444 *~ 1; | |
522 #X obj -20861 528 *~ 2.50663; | |
523 #X text -20782 254 Corrolation Length; | |
524 #X text -20806 371 Length; | |
525 #X obj -20846 159 average~ 64; | |
526 #N canvas 801 264 426 401 aveTimeCal 0; | |
527 #X text 224 38 Elevation; | |
528 #X obj 226 56 r \$0-elev; | |
529 #X floatatom 240 81 5 0 0 0 - - -; | |
530 #X obj 205 17 r~ MY_MACH; | |
531 #X obj 226 135 cos; | |
532 #X obj 226 107 * 0.01745; | |
533 #X obj 205 158 *~ 1; | |
534 #X obj 161 131 sig~ 1; | |
535 #X obj 161 185 -~; | |
536 #X obj 121 104 r~ \$0-myFreq; | |
537 #X obj 106 82 sig~ 6.28318; | |
538 #X obj 106 128 /~; | |
539 #X obj 106 219 *~; | |
540 #X obj 36 204 r myMet; | |
541 #X obj 106 242 snapshot~; | |
542 #X floatatom 44 283 0 0 0 0 - - -; | |
543 #X obj 106 263 * 44100; | |
544 #X obj 106 292 outlet; | |
545 #X connect 1 0 2 0; | |
546 #X connect 1 0 5 0; | |
547 #X connect 3 0 6 0; | |
548 #X connect 4 0 6 1; | |
549 #X connect 5 0 4 0; | |
550 #X connect 6 0 8 1; | |
551 #X connect 7 0 8 0; | |
552 #X connect 8 0 12 1; | |
553 #X connect 9 0 11 1; | |
554 #X connect 10 0 11 0; | |
555 #X connect 11 0 12 0; | |
556 #X connect 12 0 14 0; | |
557 #X connect 13 0 14 0; | |
558 #X connect 14 0 16 0; | |
559 #X connect 16 0 15 0; | |
560 #X connect 16 0 17 0; | |
561 #X restore -20766 139 pd aveTimeCal; | |
562 #X obj -20846 203 line~; | |
563 #X msg -20846 181 \$1 5; | |
564 #X obj -20342 75 line~; | |
565 #X msg -20342 53 \$1 5; | |
566 #X obj -20777 502 line~; | |
567 #X msg -20777 480 \$1 5; | |
568 #X obj -20398 86 line~; | |
569 #X msg -20398 64 \$1 5; | |
570 #X obj -20587 285 cos~; | |
571 #X obj -20861 595 *~ 1; | |
572 #X obj -20587 262 /~ 360; | |
573 #X obj -20624 306 *~; | |
574 #X text -21131 486 Scale factor to bring in line with CFD calcs; | |
575 #X text -20929 530 Sqrt(2*pi); | |
576 #X obj -20609 328 r~ MY_MACH; | |
577 #X obj -20861 488 /~ 10000; | |
578 #X connect 1 0 60 0; | |
579 #X connect 3 0 46 1; | |
580 #X connect 4 0 53 0; | |
581 #X connect 5 0 45 1; | |
582 #X connect 6 0 1 0; | |
583 #X connect 6 0 1 1; | |
584 #X connect 13 0 17 0; | |
585 #X connect 13 0 62 0; | |
586 #X connect 14 0 16 0; | |
587 #X connect 14 0 58 0; | |
588 #X connect 20 0 49 0; | |
589 #X connect 21 0 65 0; | |
590 #X connect 22 0 35 1; | |
591 #X connect 23 0 22 0; | |
592 #X connect 24 0 34 1; | |
593 #X connect 25 0 26 0; | |
594 #X connect 26 0 66 0; | |
595 #X connect 27 0 29 1; | |
596 #X connect 28 0 29 0; | |
597 #X connect 29 0 24 0; | |
598 #X connect 30 0 31 0; | |
599 #X connect 30 0 31 1; | |
600 #X connect 31 0 33 1; | |
601 #X connect 32 0 33 0; | |
602 #X connect 33 0 34 0; | |
603 #X connect 34 0 35 0; | |
604 #X connect 35 0 36 1; | |
605 #X connect 36 0 37 1; | |
606 #X connect 37 0 64 0; | |
607 #X connect 38 0 25 0; | |
608 #X connect 40 0 38 0; | |
609 #X connect 41 0 38 1; | |
610 #X connect 42 0 43 0; | |
611 #X connect 42 0 43 1; | |
612 #X connect 43 0 46 0; | |
613 #X connect 44 0 45 0; | |
614 #X connect 45 0 47 1; | |
615 #X connect 46 0 47 0; | |
616 #X connect 47 0 20 0; | |
617 #X connect 48 0 49 1; | |
618 #X connect 49 0 70 0; | |
619 #X connect 50 0 37 0; | |
620 #X connect 53 0 56 0; | |
621 #X connect 54 0 53 0; | |
622 #X connect 55 0 3 0; | |
623 #X connect 56 0 55 0; | |
624 #X connect 57 0 19 0; | |
625 #X connect 58 0 57 0; | |
626 #X connect 59 0 36 0; | |
627 #X connect 60 0 59 0; | |
628 #X connect 61 0 18 0; | |
629 #X connect 62 0 61 0; | |
630 #X connect 63 0 66 1; | |
631 #X connect 64 0 7 0; | |
632 #X connect 65 0 63 0; | |
633 #X connect 66 0 27 0; | |
634 #X connect 69 0 27 1; | |
635 #X connect 70 0 50 0; | |
636 #X restore 64 570 pd GoldnoiseGain; | |
637 #X text 55 617 Calculates the gain of the wake; | |
638 #X obj 467 82 s \$0-azim; | |
639 #X obj 542 82 s \$0-elev; | |
640 #X obj 135 280 r \$0-elev; | |
641 #X obj 143 301 r \$0-azim; | |
642 #X obj 157 549 r \$0-elev; | |
643 #X obj 143 526 r \$0-azim; | |
644 #N canvas 940 255 444 428 corrLen 0; | |
645 #X obj 103 71 inlet~; | |
646 #X obj 88 302 outlet~; | |
647 #X obj 88 143 *~; | |
648 #X obj 124 93 sig~ -0.245; | |
649 #X obj 103 119 pow~; | |
650 #X text 234 22 Y = 10^b . X^m; | |
651 #X text 235 40 b = 1.536; | |
652 #X text 235 56 m = -0.245; | |
653 #X text 51 364 Equation of line derived from Norberg 2001; | |
654 #X obj 88 169 max~ 1; | |
655 #X obj 88 46 sig~ 44.67; | |
656 #X obj 229 285 r myMet; | |
657 #X obj 229 308 snapshot~; | |
658 #X floatatom 228 329 0 0 0 0 - - -; | |
659 #X obj 88 272 +~; | |
660 #X obj 104 219 inlet~; | |
661 #X obj 203 203 r myMet; | |
662 #X obj 203 226 snapshot~; | |
663 #X floatatom 202 247 0 0 0 0 - - -; | |
664 #X obj 104 244 *~ 200; | |
665 #X connect 0 0 4 0; | |
666 #X connect 2 0 9 0; | |
667 #X connect 3 0 4 1; | |
668 #X connect 4 0 2 1; | |
669 #X connect 9 0 14 0; | |
670 #X connect 10 0 2 0; | |
671 #X connect 11 0 12 0; | |
672 #X connect 12 0 13 0; | |
673 #X connect 14 0 1 0; | |
674 #X connect 14 0 12 0; | |
675 #X connect 15 0 19 0; | |
676 #X connect 15 0 17 0; | |
677 #X connect 16 0 17 0; | |
678 #X connect 17 0 18 0; | |
679 #X connect 19 0 14 1; | |
680 #X restore 956 85 pd corrLen Calc; | |
681 #X obj 956 62 r~ \$0-myRey; | |
682 #X obj 956 109 s~ \$0-myCor; | |
683 #X obj 117 240 r~ \$0-myCor; | |
684 #X obj 326 570 hip~; | |
685 #X obj 90 442 r~ \$0-myCor; | |
686 #X obj 636 81 max 0.01; | |
687 #X obj 636 104 min 0.99; | |
688 #N canvas 125 74 950 728 Dipoles 0; | |
689 #X obj 225 154 r~ \$0-liftDiGain; | |
690 #X obj 495 160 r~ \$0-liftDiGain; | |
691 #X obj 495 182 *~ 0.6; | |
692 #X obj 381 91 *~ 3; | |
693 #X obj 468 490 r~ \$0-dragDiGain; | |
694 #X obj 354 400 *~ 2; | |
695 #X obj 210 175 *~; | |
696 #X obj 210 316 throw~ l; | |
697 #X obj 237 293 throw~ r; | |
698 #X obj 210 108 vcf~ 3; | |
699 #X obj 237 249 r \$0-thisPan; | |
700 #X obj 210 67 r~ \$0-thisNoise; | |
701 #X obj 480 202 *~; | |
702 #X obj 480 341 throw~ l; | |
703 #X obj 507 318 throw~ r; | |
704 #X obj 480 116 vcf~ 3; | |
705 #X obj 507 275 r \$0-thisPan; | |
706 #X obj 480 68 r~ \$0-thisNoise; | |
707 #X obj 453 511 *~; | |
708 #X obj 453 647 throw~ l; | |
709 #X obj 480 624 throw~ r; | |
710 #X obj 453 447 vcf~ 3; | |
711 #X obj 480 581 r \$0-thisPan; | |
712 #X obj 453 403 r~ \$0-thisNoise; | |
713 #X text 273 27 Generates the sound associated with the lift dipole. | |
714 ; | |
715 #X text 312 370 Generates the sound associated with the drag dipole. | |
716 ; | |
717 #X obj 270 87 r \$0-Qval; | |
718 #X obj 530 92 r \$0-Qval; | |
719 #X obj 498 425 r \$0-Qval; | |
720 #X floatatom 277 122 5 0 0 0 - - -; | |
721 #X obj 210 134 vcf~ 3; | |
722 #X obj 480 138 vcf~ 3; | |
723 #X obj 453 468 vcf~ 3; | |
724 #X obj 55 12 inlet~; | |
725 #X obj 55 32 s~ \$0-myAeoFreq; | |
726 #X obj 109 67 r~ \$0-myAeoFreq; | |
727 #X obj 381 67 r~ \$0-myAeoFreq; | |
728 #X obj 353 402 r~ \$0-myAeoFreq; | |
729 #X obj 210 272 fcpan; | |
730 #X obj 480 297 fcpan; | |
731 #X obj 453 603 fcpan; | |
732 #X obj 210 199 spigot~; | |
733 #X obj 480 227 spigot~; | |
734 #X obj 453 535 spigot~; | |
735 #X obj 673 48 inlet; | |
736 #X text 60 485 Generate sounds associated with the Aeolian tone. Higher | |
737 harmonics have been removed compares to AES paper. This is because | |
738 they have such a small contribution in comparison to lower harmonics | |
739 and the FM spectrum during lock-in; | |
740 #X obj 210 244 *~; | |
741 #X obj 225 222 r~ \$0-reyGain; | |
742 #X obj 480 270 *~; | |
743 #X obj 495 248 r~ \$0-reyGain; | |
744 #X obj 453 577 *~; | |
745 #X obj 468 555 r~ \$0-reyGain; | |
746 #X connect 0 0 6 1; | |
747 #X connect 1 0 2 0; | |
748 #X connect 2 0 12 1; | |
749 #X connect 3 0 15 1; | |
750 #X connect 3 0 31 1; | |
751 #X connect 4 0 18 1; | |
752 #X connect 5 0 21 1; | |
753 #X connect 5 0 32 1; | |
754 #X connect 6 0 41 0; | |
755 #X connect 9 0 30 0; | |
756 #X connect 10 0 38 1; | |
757 #X connect 11 0 9 0; | |
758 #X connect 12 0 42 0; | |
759 #X connect 15 0 31 0; | |
760 #X connect 16 0 39 1; | |
761 #X connect 17 0 15 0; | |
762 #X connect 18 0 43 0; | |
763 #X connect 21 0 32 0; | |
764 #X connect 22 0 40 1; | |
765 #X connect 23 0 21 0; | |
766 #X connect 26 0 9 2; | |
767 #X connect 26 0 29 0; | |
768 #X connect 26 0 30 2; | |
769 #X connect 27 0 15 2; | |
770 #X connect 27 0 31 2; | |
771 #X connect 28 0 21 2; | |
772 #X connect 28 0 32 2; | |
773 #X connect 30 0 6 0; | |
774 #X connect 31 0 12 0; | |
775 #X connect 32 0 18 0; | |
776 #X connect 33 0 34 0; | |
777 #X connect 35 0 9 1; | |
778 #X connect 35 0 30 1; | |
779 #X connect 36 0 3 0; | |
780 #X connect 37 0 5 0; | |
781 #X connect 38 0 7 0; | |
782 #X connect 38 1 8 0; | |
783 #X connect 39 0 13 0; | |
784 #X connect 39 1 14 0; | |
785 #X connect 40 0 19 0; | |
786 #X connect 40 1 20 0; | |
787 #X connect 41 0 46 0; | |
788 #X connect 42 0 48 0; | |
789 #X connect 43 0 50 0; | |
790 #X connect 44 0 42 1; | |
791 #X connect 44 0 41 1; | |
792 #X connect 44 0 43 1; | |
793 #X connect 46 0 38 0; | |
794 #X connect 47 0 46 1; | |
795 #X connect 48 0 39 0; | |
796 #X connect 49 0 48 1; | |
797 #X connect 50 0 40 0; | |
798 #X connect 51 0 50 1; | |
799 #X restore 474 688 pd Dipoles; | |
800 #X obj 1088 69 noise~; | |
801 #X obj 1088 92 s~ \$0-thisNoise; | |
802 #X obj 326 475 r~ \$0-thisNoise; | |
803 #X text 346 367 the object and environment; | |
804 #N canvas 308 58 1027 635 StBandwidth 0; | |
805 #X obj 460 365 swap 1; | |
806 #X obj 460 391 /; | |
807 #X obj 460 342 / 100; | |
808 #X obj 461 434 outlet; | |
809 #X text 437 453 Q value; | |
810 #X obj 531 -36 r~ \$0-myRey; | |
811 #X obj 477 -36 r myMet; | |
812 #X obj 477 -14 snapshot~; | |
813 #X obj 203 164 spigot; | |
814 #X obj 219 187 spigot; | |
815 #X obj 236 140 > 0; | |
816 #X obj 219 233 + 0.9797; | |
817 #X obj 219 208 * 4.624e-05; | |
818 #X obj 602 150 spigot; | |
819 #X obj 618 173 spigot; | |
820 #X obj 651 149 < 1e+06; | |
821 #X obj 618 216 * 1.227e-10; | |
822 #X obj 618 196 *; | |
823 #X obj 690 215 * -8.553e-05; | |
824 #X obj 618 261 + 16.5; | |
825 #X obj 618 238 +; | |
826 #X text -84 298 First section of the Reynolds number - DeltaF/F relationship | |
827 is linear and did not appear to be reliant on current TU values; | |
828 #X text 565 329 Third section of the Reynolds number - DeltaF/F relationship | |
829 is linear and did not appear to be reliant on current TU values; | |
830 #X text 114 -16 Middle section of Reynolds number - DeltaF/F relationship | |
831 is also linear but depends on TU Value; | |
832 #X obj 461 412 max 0.005; | |
833 #X obj 635 126 > 193260; | |
834 #X obj 252 163 < 193260; | |
835 #X floatatom 653 40 0 0 0 0 - - -; | |
836 #X floatatom 565 452 0 0 0 0 - - -; | |
837 #X connect 0 0 1 0; | |
838 #X connect 0 1 1 1; | |
839 #X connect 1 0 24 0; | |
840 #X connect 2 0 0 0; | |
841 #X connect 5 0 7 0; | |
842 #X connect 6 0 7 0; | |
843 #X connect 7 0 15 0; | |
844 #X connect 7 0 13 0; | |
845 #X connect 7 0 10 0; | |
846 #X connect 7 0 8 0; | |
847 #X connect 7 0 25 0; | |
848 #X connect 7 0 26 0; | |
849 #X connect 7 0 27 0; | |
850 #X connect 8 0 9 0; | |
851 #X connect 9 0 12 0; | |
852 #X connect 10 0 8 1; | |
853 #X connect 11 0 2 0; | |
854 #X connect 12 0 11 0; | |
855 #X connect 13 0 14 0; | |
856 #X connect 14 0 18 0; | |
857 #X connect 14 0 17 1; | |
858 #X connect 14 0 17 0; | |
859 #X connect 15 0 14 1; | |
860 #X connect 16 0 20 0; | |
861 #X connect 17 0 16 0; | |
862 #X connect 18 0 20 1; | |
863 #X connect 19 0 2 0; | |
864 #X connect 20 0 19 0; | |
865 #X connect 24 0 3 0; | |
866 #X connect 24 0 28 0; | |
867 #X connect 25 0 13 1; | |
868 #X connect 26 0 9 1; | |
869 #X restore 1189 91 pd StBandwidth; | |
870 #X obj 1189 114 s \$0-Qval; | |
871 #X obj 412 518 r myMet; | |
872 #X obj 402 539 snapshot~; | |
873 #X text 780 18 Mass Density; | |
874 #X text 720 16 Tension; | |
875 #N canvas 389 23 542 808 NatFreq 0; | |
876 #X obj 148 86 inlet; | |
877 #X obj 109 367 inlet; | |
878 #X text 137 62 Mass Density; | |
879 #X text 55 366 Tension; | |
880 #X obj 163 155 r \$0-diameter; | |
881 #X floatatom 206 177 0 0 0 0 - - -; | |
882 #X floatatom 51 416 0 0 0 0 - - -; | |
883 #X floatatom 191 111 0 0 0 0 - - -; | |
884 #X obj 163 511 r \$0-leng; | |
885 #X text 121 669 Natural Frequency; | |
886 #X text 74 717 Patch that calcultes the natural or fundamental frequency | |
887 of a string in 1 dimension. Uses f = (1/2l) * sqrt(T/u) where u is | |
888 the linear mass density.; | |
889 #X obj 133 646 outlet~; | |
890 #X msg 148 111 \$1 10; | |
891 #X obj 148 133 line~; | |
892 #X msg 163 179 \$1 10; | |
893 #X obj 163 202 line~; | |
894 #X obj 163 224 *~ 0.5; | |
895 #X obj 163 249 *~; | |
896 #X obj 163 271 *~ 3.14159; | |
897 #X obj 148 352 *~; | |
898 #X obj 133 440 /~; | |
899 #X msg 109 389 \$1 10; | |
900 #X obj 109 413 line~; | |
901 #X obj 133 467 sqrt~; | |
902 #X msg 163 533 \$1 10; | |
903 #X obj 163 556 line~; | |
904 #X obj 163 577 *~ 2; | |
905 #X obj 149 489 sig~ 1; | |
906 #X obj 149 597 /~; | |
907 #X obj 133 621 *~; | |
908 #X obj 67 624 r myMet; | |
909 #X obj 67 647 snapshot~; | |
910 #X floatatom 67 670 0 0 0 0 - - -; | |
911 #X obj 189 374 r myMet; | |
912 #X obj 189 397 snapshot~; | |
913 #X floatatom 189 420 0 0 0 0 - - -; | |
914 #X obj 303 31 r myMet; | |
915 #X obj 303 54 snapshot~; | |
916 #X floatatom 303 77 0 0 0 0 - - -; | |
917 #X obj 207 597 r myMet; | |
918 #X obj 207 620 snapshot~; | |
919 #X floatatom 207 643 0 0 0 0 - - -; | |
920 #X obj 365 29 r myMet; | |
921 #X obj 365 52 snapshot~; | |
922 #X floatatom 365 75 0 0 0 0 - - -; | |
923 #X text 187 441 Linear Density; | |
924 #X obj 234 224 *~ 0.5; | |
925 #X obj 234 249 *~; | |
926 #X obj 234 271 *~ 3.14159; | |
927 #X obj 234 202 sig~ 0.0266; | |
928 #X obj 234 305 -~; | |
929 #X obj 260 305 r myMet; | |
930 #X obj 260 328 snapshot~; | |
931 #X floatatom 260 351 0 0 0 0 - - -; | |
932 #X floatatom 205 532 0 0 0 0 - - -; | |
933 #X obj 273 423 s~ 0$-linden; | |
934 #X connect 0 0 7 0; | |
935 #X connect 0 0 12 0; | |
936 #X connect 1 0 6 0; | |
937 #X connect 1 0 21 0; | |
938 #X connect 4 0 5 0; | |
939 #X connect 4 0 14 0; | |
940 #X connect 8 0 24 0; | |
941 #X connect 8 0 54 0; | |
942 #X connect 12 0 13 0; | |
943 #X connect 13 0 19 0; | |
944 #X connect 14 0 15 0; | |
945 #X connect 15 0 16 0; | |
946 #X connect 16 0 17 0; | |
947 #X connect 16 0 17 1; | |
948 #X connect 17 0 18 0; | |
949 #X connect 18 0 19 1; | |
950 #X connect 19 0 20 1; | |
951 #X connect 19 0 34 0; | |
952 #X connect 19 0 55 0; | |
953 #X connect 20 0 23 0; | |
954 #X connect 21 0 22 0; | |
955 #X connect 22 0 20 0; | |
956 #X connect 23 0 29 0; | |
957 #X connect 24 0 25 0; | |
958 #X connect 25 0 26 0; | |
959 #X connect 26 0 28 1; | |
960 #X connect 27 0 28 0; | |
961 #X connect 28 0 29 1; | |
962 #X connect 28 0 40 0; | |
963 #X connect 29 0 11 0; | |
964 #X connect 29 0 31 0; | |
965 #X connect 30 0 31 0; | |
966 #X connect 31 0 32 0; | |
967 #X connect 33 0 34 0; | |
968 #X connect 34 0 35 0; | |
969 #X connect 36 0 37 0; | |
970 #X connect 37 0 38 0; | |
971 #X connect 39 0 40 0; | |
972 #X connect 40 0 41 0; | |
973 #X connect 42 0 43 0; | |
974 #X connect 43 0 44 0; | |
975 #X connect 46 0 47 0; | |
976 #X connect 46 0 47 1; | |
977 #X connect 47 0 48 0; | |
978 #X connect 48 0 50 1; | |
979 #X connect 49 0 46 0; | |
980 #X connect 50 0 52 0; | |
981 #X connect 51 0 52 0; | |
982 #X connect 52 0 53 0; | |
983 #X restore 746 96 pd NatFreq; | |
984 #X obj 746 118 s~ \$0-thisNatF; | |
985 #X obj 849 90 r myMet; | |
986 #X obj 849 111 snapshot~; | |
987 #X floatatom 849 132 0 0 0 0 - - -; | |
988 #N canvas 541 215 891 445 toneCalc 0; | |
989 #X obj 101 -1 inlet~; | |
990 #X obj 144 40 inlet; | |
991 #X obj 102 228 outlet~; | |
992 #X obj 161 230 outlet~; | |
993 #X obj 228 232 outlet~; | |
994 #X obj 101 59 *~ 1; | |
995 #X obj 101 134 newStrou; | |
996 #X obj 101 163 *~; | |
997 #X obj 101 191 /~ 1; | |
998 #X text 161 252 Strouhal No; | |
999 #X text 281 235 Reynolds No; | |
1000 #X obj 101 23 *~ 67679.6; | |
1001 #X text 210 22 Cosolidation of 2pi \, air density and viscosity in | |
1002 equations identified in original AES paper - Aeolian tone.; | |
1003 #X text 43 252 Strouhal Frequency; | |
1004 #X obj 101 94 clip~ 40 1e+06; | |
1005 #X text 210 109 Reynolds number clipped at lower limit of 40 to prevent | |
1006 Strouhal number decreasing to negative numbers - due to relationship | |
1007 identified in Fey paper.; | |
1008 #X connect 0 0 7 1; | |
1009 #X connect 0 0 11 0; | |
1010 #X connect 1 0 5 1; | |
1011 #X connect 1 0 8 1; | |
1012 #X connect 5 0 4 0; | |
1013 #X connect 5 0 14 0; | |
1014 #X connect 6 0 7 0; | |
1015 #X connect 6 0 3 0; | |
1016 #X connect 7 0 8 0; | |
1017 #X connect 8 0 2 0; | |
1018 #X connect 11 0 5 0; | |
1019 #X connect 14 0 6 0; | |
1020 #X restore 348 206 pd toneCalc; | |
1021 #X obj 411 186 r \$0-diameter; | |
1022 #X obj 311 620 fcpan; | |
1023 #X obj 1176 674 outlet; | |
1024 #X obj 870 747 outlet; | |
1025 #X obj 744 180 r~ \$0-myFreq; | |
1026 #X obj 759 200 r~ \$0-thisNatF; | |
1027 #X obj 744 220 /~; | |
1028 #X obj 769 220 r myMet; | |
1029 #X obj 744 240 snapshot~; | |
1030 #X obj 744 260 + 0.5; | |
1031 #X obj 744 300 i; | |
1032 #X obj 1083 672 outlet; | |
1033 #N canvas 333 355 537 467 modulation 0; | |
1034 #X obj 171 17 r~ \$0-thisNatF; | |
1035 #X floatatom 316 237 0 0 0 0 - - -; | |
1036 #X obj 171 246 osc~; | |
1037 #X obj 171 271 *~; | |
1038 #X obj 282 186 hsl 150 35 1 100 1 0 empty empty empty -2 -8 0 10 -262144 | |
1039 -1 -1 0 1; | |
1040 #X obj 206 247 line~; | |
1041 #X obj 171 295 outlet~; | |
1042 #X obj 206 178 r mod; | |
1043 #X text 100 346 Calculates the modulation frequency from the difference | |
1044 between the shedding and natural frequency - Van Atta paper.; | |
1045 #X obj 186 111 line~; | |
1046 #X obj 171 134 *~; | |
1047 #X floatatom 215 204 0 0 0 0 - - -; | |
1048 #X obj 121 246 outlet~; | |
1049 #X text 25 209 Difference frequency; | |
1050 #X obj 171 217 -~; | |
1051 #X obj 186 155 inlet~; | |
1052 #X obj 186 37 inlet; | |
1053 #X obj 186 62 + 1; | |
1054 #X floatatom 227 86 0 0 0 0 - - -; | |
1055 #X msg 206 226 \$1 30; | |
1056 #X msg 186 85 \$1 40; | |
1057 #X text 241 124 Nearest Upper Harmonic; | |
1058 #X connect 0 0 10 0; | |
1059 #X connect 2 0 3 0; | |
1060 #X connect 3 0 6 0; | |
1061 #X connect 4 0 1 0; | |
1062 #X connect 4 0 19 0; | |
1063 #X connect 5 0 3 1; | |
1064 #X connect 7 0 19 0; | |
1065 #X connect 7 0 11 0; | |
1066 #X connect 9 0 10 1; | |
1067 #X connect 10 0 14 0; | |
1068 #X connect 14 0 2 0; | |
1069 #X connect 14 0 12 0; | |
1070 #X connect 15 0 14 1; | |
1071 #X connect 16 0 17 0; | |
1072 #X connect 17 0 20 0; | |
1073 #X connect 17 0 18 0; | |
1074 #X connect 19 0 5 0; | |
1075 #X connect 20 0 9 0; | |
1076 #X restore 964 440 pd modulation; | |
1077 #X obj 727 407 r~ \$0-myFreq; | |
1078 #X floatatom 817 321 0 0 0 0 - - -; | |
1079 #X obj 675 510 outlet~; | |
1080 #X obj 734 427 outlet~; | |
1081 #N canvas 160 111 852 514 AeolianFreq 0; | |
1082 #X obj 558 63 > 1; | |
1083 #X obj 126 -69 inlet~; | |
1084 #X obj 445 169 spigot~; | |
1085 #X obj 558 236 outlet~; | |
1086 #X floatatom 558 88 0 0 0 0 - - -; | |
1087 #X obj 197 -69 inlet~; | |
1088 #X obj 460 117 *~; | |
1089 #X obj 445 147 +~; | |
1090 #X obj 657 168 spigot~; | |
1091 #X obj 672 115 *~; | |
1092 #X obj 657 145 -~; | |
1093 #X obj 475 88 -~; | |
1094 #X obj 687 88 -~; | |
1095 #X obj 126 -46 s~ \$0-AeoF; | |
1096 #X obj 445 5 r~ \$0-AeoF; | |
1097 #X obj 490 67 r~ \$0-AeoF; | |
1098 #X obj 657 3 r~ \$0-AeoF; | |
1099 #X obj 687 44 r~ \$0-AeoF; | |
1100 #X obj 197 -46 s~ \$0-NatF; | |
1101 #X obj 702 65 r~ \$0-NatF; | |
1102 #X obj 475 47 r~ \$0-NatF; | |
1103 #X obj 218 262 s~ \$0-flipVal; | |
1104 #X obj 460 26 r~ \$0-flipVal; | |
1105 #X obj 672 24 r~ \$0-flipVal; | |
1106 #X obj 558 213 +~; | |
1107 #X obj 584 265 r myMet; | |
1108 #X obj 584 288 snapshot~; | |
1109 #X floatatom 584 309 0 0 0 0 - - -; | |
1110 #X obj 683 318 outlet; | |
1111 #X obj 582 21 r myMet; | |
1112 #X obj 558 40 snapshot~; | |
1113 #X floatatom 583 62 0 0 0 0 - - -; | |
1114 #X obj 558 20 /~; | |
1115 #X obj 558 -21 r~ \$0-AeoF; | |
1116 #X obj 573 -1 r~ \$0-NatF; | |
1117 #X obj 262 32 inlet~; | |
1118 #X obj 120 175 -~ 1; | |
1119 #X obj 136 22 sig~ 1; | |
1120 #X obj 150 108 exp~; | |
1121 #X obj 120 154 /~; | |
1122 #X obj 135 129 +~; | |
1123 #X obj 120 195 *~ -1; | |
1124 #X obj 247 81 sig~ 1; | |
1125 #X obj 262 167 exp~; | |
1126 #X obj 232 213 /~; | |
1127 #X obj 247 188 +~; | |
1128 #X obj 217 236 *~; | |
1129 #X obj 150 62 -~ 0.83; | |
1130 #X obj 262 123 -~ 1.24; | |
1131 #X obj 150 84 *~ 100; | |
1132 #X obj 262 144 *~ 100; | |
1133 #X text 361 199 f(s)[n]+β(f(eta)[n]−f(s)[n]); | |
1134 #X text 655 204 f(s)[n]-β(f(s)[n]−f(eta)[n]); | |
1135 #X text 36 291 Calculates the value of β from the Red Velocity V; | |
1136 #X text 229 371 Patch that calculates the vortex shedding frequency | |
1137 from the values of the Strouhal Frequency \, Harmonic of the natural | |
1138 vibration frequency and the reduced velocity.; | |
1139 #X connect 0 0 2 1; | |
1140 #X connect 0 0 4 0; | |
1141 #X connect 0 0 8 1; | |
1142 #X connect 1 0 13 0; | |
1143 #X connect 2 0 24 0; | |
1144 #X connect 5 0 18 0; | |
1145 #X connect 6 0 7 1; | |
1146 #X connect 7 0 2 0; | |
1147 #X connect 8 1 24 1; | |
1148 #X connect 9 0 10 1; | |
1149 #X connect 10 0 8 0; | |
1150 #X connect 11 0 6 1; | |
1151 #X connect 12 0 9 1; | |
1152 #X connect 14 0 7 0; | |
1153 #X connect 15 0 11 1; | |
1154 #X connect 16 0 10 0; | |
1155 #X connect 17 0 12 0; | |
1156 #X connect 19 0 12 1; | |
1157 #X connect 20 0 11 0; | |
1158 #X connect 22 0 6 0; | |
1159 #X connect 23 0 9 0; | |
1160 #X connect 24 0 3 0; | |
1161 #X connect 24 0 26 0; | |
1162 #X connect 25 0 26 0; | |
1163 #X connect 26 0 27 0; | |
1164 #X connect 26 0 28 0; | |
1165 #X connect 29 0 30 0; | |
1166 #X connect 30 0 31 0; | |
1167 #X connect 30 0 0 0; | |
1168 #X connect 32 0 30 0; | |
1169 #X connect 33 0 32 0; | |
1170 #X connect 34 0 32 1; | |
1171 #X connect 35 0 48 0; | |
1172 #X connect 35 0 47 0; | |
1173 #X connect 36 0 41 0; | |
1174 #X connect 37 0 39 0; | |
1175 #X connect 37 0 40 0; | |
1176 #X connect 38 0 40 1; | |
1177 #X connect 39 0 36 0; | |
1178 #X connect 40 0 39 1; | |
1179 #X connect 41 0 46 0; | |
1180 #X connect 42 0 44 0; | |
1181 #X connect 42 0 45 0; | |
1182 #X connect 43 0 45 1; | |
1183 #X connect 44 0 46 1; | |
1184 #X connect 45 0 44 1; | |
1185 #X connect 46 0 21 0; | |
1186 #X connect 47 0 49 0; | |
1187 #X connect 48 0 50 0; | |
1188 #X connect 49 0 38 0; | |
1189 #X connect 50 0 43 0; | |
1190 #X restore 727 486 pd AeolianFreq; | |
1191 #X obj 1289 75 inlet; | |
1192 #X obj 816 61 s \$0-mass; | |
1193 #X obj 1178 718 outlet~; | |
1194 #X obj 1085 718 outlet~; | |
1195 #X obj 902 134 outlet; | |
1196 #X obj 1113 131 inlet; | |
1197 #X obj 744 280 max 1; | |
1198 #X obj 57 62 r myMet; | |
1199 #X obj 57 85 snapshot~; | |
1200 #X floatatom 57 109 0 0 0 0 - - -; | |
1201 #X text 1255 58 Damping Parameter; | |
1202 #X obj 1043 47 r~ \$0-AdVal; | |
1203 #X obj 975 269 s~ \$0-redVel; | |
1204 #X obj 1178 698 r~ \$0-redVel; | |
1205 #X obj 998 249 s~ \$0-lockFreq; | |
1206 #X obj 767 447 r~ \$0-lockFreq; | |
1207 #X obj 1085 697 r~ \$0-lockFreq; | |
1208 #X obj 744 321 s \$0-harmNo; | |
1209 #X obj 1083 651 r \$0-harmNo; | |
1210 #X obj 953 207 r \$0-harmNo; | |
1211 #X obj 1289 96 s \$0-dampPar; | |
1212 #X obj 1113 154 s \$0-onOff; | |
1213 #X obj 1254 464 r \$0-onOff; | |
1214 #X obj 531 667 r \$0-onOff; | |
1215 #X obj 1039 460 s~ \$0-modFreq; | |
1216 #X obj 1232 422 r~ \$0-modFreq; | |
1217 #X obj 964 480 s~ \$0-diffFreq; | |
1218 #X obj 1243 442 r~ \$0-diffFreq; | |
1219 #X floatatom 755 58 0 0 0 0 - - -; | |
1220 #X floatatom 847 41 0 0 0 0 - - -; | |
1221 #X floatatom 1284 118 0 0 0 0 - - -; | |
1222 #X floatatom 1150 130 0 0 0 0 - - -; | |
1223 #X floatatom 913 747 0 0 0 0 - - -; | |
1224 #X obj 953 289 s \$0-redVelCo; | |
1225 #N canvas 713 289 400 432 VCalc 0; | |
1226 #X obj 202 126 r~ \$0-thisNatF; | |
1227 #X obj 178 41 r \$0-diameter; | |
1228 #X obj 178 83 line~; | |
1229 #X obj 178 105 *~ 6.28319; | |
1230 #X obj 163 20 r~ \$0-windSpeed; | |
1231 #X obj 163 270 /~; | |
1232 #X obj 163 302 outlet~; | |
1233 #X obj 163 158 /~; | |
1234 #X obj 202 281 outlet~; | |
1235 #X obj 54 289 r myMet; | |
1236 #X obj 54 312 snapshot~; | |
1237 #X floatatom 97 334 0 0 0 0 - - -; | |
1238 #X obj 54 335 outlet; | |
1239 #X obj 217 146 inlet; | |
1240 #X obj 217 189 line~; | |
1241 #X obj 202 244 *~; | |
1242 #X msg 178 61 \$1 20; | |
1243 #X text 37 89 V = u/(2pi.f.d); | |
1244 #X text 254 149 Harmonic Number; | |
1245 #X msg 217 168 \$1 40; | |
1246 #X text 38 373 Patch that calculates the Reduced Velocity \, V.; | |
1247 #X connect 0 0 15 0; | |
1248 #X connect 1 0 16 0; | |
1249 #X connect 2 0 3 0; | |
1250 #X connect 3 0 7 1; | |
1251 #X connect 4 0 7 0; | |
1252 #X connect 5 0 6 0; | |
1253 #X connect 5 0 10 0; | |
1254 #X connect 7 0 5 0; | |
1255 #X connect 9 0 10 0; | |
1256 #X connect 10 0 11 0; | |
1257 #X connect 10 0 12 0; | |
1258 #X connect 13 0 19 0; | |
1259 #X connect 14 0 15 1; | |
1260 #X connect 15 0 5 1; | |
1261 #X connect 15 0 8 0; | |
1262 #X connect 16 0 2 0; | |
1263 #X connect 19 0 14 0; | |
1264 #X restore 953 228 pd VCalc; | |
1265 #N canvas 40 37 1392 752 SimpHyst 0; | |
1266 #X obj 289 250 sig~ 1; | |
1267 #X obj 304 336 exp~; | |
1268 #X obj 274 382 /~; | |
1269 #X obj 289 357 +~; | |
1270 #X obj 121 338 -~ 1; | |
1271 #X obj 121 358 *~ -1; | |
1272 #X obj 136 180 sig~ 1; | |
1273 #X obj 151 271 exp~; | |
1274 #X obj 121 317 /~; | |
1275 #X obj 136 292 +~; | |
1276 #X obj 194 432 *~; | |
1277 #X obj 121 381 spigot~; | |
1278 #X obj -7 99 r myMet; | |
1279 #X obj -7 120 snapshot~; | |
1280 #X floatatom -7 143 0 0 0 0 - - -; | |
1281 #X obj 72 644 outlet~; | |
1282 #N canvas 0 27 450 362 PlotWrt 0; | |
1283 #X obj 116 303 textfile; | |
1284 #X msg 330 202 clear \, rewind; | |
1285 #X msg 169 202 add \$1; | |
1286 #X msg 116 202 add2 \$1; | |
1287 #X obj 105 92 snapshot~; | |
1288 #X floatatom 119 129 0 0 0 0 - - -; | |
1289 #X obj 198 92 snapshot~; | |
1290 #X floatatom 250 119 0 0 0 0 - - -; | |
1291 #X obj 25 15 inlet~; | |
1292 #X obj 343 45 inlet~; | |
1293 #X obj 105 67 r myMet; | |
1294 #X obj 198 67 r myMet; | |
1295 #X msg 218 202 write hystTest2.txt; | |
1296 #X connect 1 0 0 0; | |
1297 #X connect 2 0 0 0; | |
1298 #X connect 3 0 0 0; | |
1299 #X connect 4 0 5 0; | |
1300 #X connect 4 0 3 0; | |
1301 #X connect 6 0 7 0; | |
1302 #X connect 6 0 2 0; | |
1303 #X connect 8 0 4 0; | |
1304 #X connect 9 0 6 0; | |
1305 #X connect 10 0 4 0; | |
1306 #X connect 11 0 6 0; | |
1307 #X connect 12 0 0 0; | |
1308 #X restore -6 583 pd PlotWrt; | |
1309 #X floatatom 103 460 0 0 0 0 - - -; | |
1310 #X floatatom 58 461 0 0 0 0 - - -; | |
1311 #N canvas 432 91 476 532 Hyst1 0; | |
1312 #X obj 184 20 inlet~; | |
1313 #X obj 309 66 snapshot~; | |
1314 #X obj 309 43 r myMet; | |
1315 #X floatatom 356 91 0 0 0 0 - - -; | |
1316 #X floatatom 149 135 0 0 0 0 - - -; | |
1317 #X floatatom 270 136 0 0 0 0 - - -; | |
1318 #X obj 184 69 snapshot~; | |
1319 #X obj 119 45 r myMet; | |
1320 #X floatatom 102 93 0 0 0 0 - - -; | |
1321 #X obj 184 46 delta~; | |
1322 #X obj 184 92 > 0; | |
1323 #X obj 235 91 < 0; | |
1324 #X obj 234 267 - 1; | |
1325 #X obj 234 287 * -1; | |
1326 #X floatatom 291 310 0 0 0 0 - - -; | |
1327 #N canvas 582 482 491 257 accDec 0; | |
1328 #X obj 91 77 r myMet; | |
1329 #X obj 224 20 inlet; | |
1330 #X obj 268 21 inlet; | |
1331 #X obj 91 98 spigot; | |
1332 #X msg 91 119 1; | |
1333 #X obj 153 78 r myMet; | |
1334 #X obj 153 99 spigot; | |
1335 #X msg 153 120 0; | |
1336 #X floatatom 91 141 0 0 0 0 - - -; | |
1337 #X obj 153 142 outlet; | |
1338 #X obj 298 72 r myMet; | |
1339 #X obj 298 93 spigot; | |
1340 #X msg 298 114 1; | |
1341 #X obj 360 73 r myMet; | |
1342 #X obj 360 94 spigot; | |
1343 #X msg 360 115 0; | |
1344 #X obj 360 137 outlet; | |
1345 #X floatatom 298 135 0 0 0 0 - - -; | |
1346 #X text 88 177 Identifies if the Reduced Velocity is increasing or | |
1347 decreasing.; | |
1348 #X connect 0 0 3 0; | |
1349 #X connect 1 0 6 1; | |
1350 #X connect 1 0 11 1; | |
1351 #X connect 2 0 3 1; | |
1352 #X connect 2 0 14 1; | |
1353 #X connect 3 0 4 0; | |
1354 #X connect 4 0 8 0; | |
1355 #X connect 4 0 9 0; | |
1356 #X connect 5 0 6 0; | |
1357 #X connect 6 0 7 0; | |
1358 #X connect 7 0 8 0; | |
1359 #X connect 7 0 9 0; | |
1360 #X connect 10 0 11 0; | |
1361 #X connect 11 0 12 0; | |
1362 #X connect 12 0 16 0; | |
1363 #X connect 12 0 17 0; | |
1364 #X connect 13 0 14 0; | |
1365 #X connect 14 0 15 0; | |
1366 #X connect 15 0 16 0; | |
1367 #X connect 15 0 17 0; | |
1368 #X restore 184 113 pd accDec; | |
1369 #X obj 151 166 spigot; | |
1370 #X obj 202 162 spigot; | |
1371 #X obj 169 213 spigot; | |
1372 #X floatatom 136 282 0 0 0 0 - - -; | |
1373 #X obj 168 281 outlet; | |
1374 #X obj 234 311 outlet; | |
1375 #X obj 202 189 > 1.06; | |
1376 #X obj 169 244 < 0.9; | |
1377 #X text 52 371 This patch identifies which path of the hysteresis curve | |
1378 the reduced velocity is on. It keeps it locked into this path between | |
1379 the values of 0.9 and 1.06. Outwith these values both legs are approx | |
1380 the same.; | |
1381 #X text 67 -14 Goal - If output = 1 at any time then keep it at one | |
1382 until other input = 1; | |
1383 #X connect 0 0 9 0; | |
1384 #X connect 0 0 1 0; | |
1385 #X connect 1 0 3 0; | |
1386 #X connect 1 0 16 0; | |
1387 #X connect 1 0 17 0; | |
1388 #X connect 2 0 1 0; | |
1389 #X connect 2 0 13 0; | |
1390 #X connect 2 0 23 0; | |
1391 #X connect 6 0 8 0; | |
1392 #X connect 6 0 10 0; | |
1393 #X connect 6 0 11 0; | |
1394 #X connect 7 0 6 0; | |
1395 #X connect 9 0 6 0; | |
1396 #X connect 10 0 15 0; | |
1397 #X connect 11 0 15 1; | |
1398 #X connect 12 0 13 0; | |
1399 #X connect 13 0 14 0; | |
1400 #X connect 13 0 21 0; | |
1401 #X connect 15 0 4 0; | |
1402 #X connect 15 0 16 1; | |
1403 #X connect 15 1 5 0; | |
1404 #X connect 15 1 17 1; | |
1405 #X connect 16 0 18 0; | |
1406 #X connect 17 0 22 0; | |
1407 #X connect 18 0 23 0; | |
1408 #X connect 22 0 18 1; | |
1409 #X connect 23 0 19 0; | |
1410 #X connect 23 0 12 0; | |
1411 #X connect 23 0 20 0; | |
1412 #X restore 58 439 pd Hyst1; | |
1413 #X obj 11 246 sig~ 1; | |
1414 #X obj 26 332 exp~; | |
1415 #X obj -4 378 /~; | |
1416 #X obj 11 353 +~; | |
1417 #X obj -153 333 -~ 1; | |
1418 #X obj -137 180 sig~ 1; | |
1419 #X obj -123 266 exp~; | |
1420 #X obj -153 312 /~; | |
1421 #X obj -138 287 +~; | |
1422 #X obj -19 435 *~; | |
1423 #X obj -50 177 sig~ 1; | |
1424 #X obj -35 264 exp~; | |
1425 #X obj -65 310 /~; | |
1426 #X obj -50 285 +~; | |
1427 #X obj -65 355 +~ 1; | |
1428 #X obj -65 378 spigot~; | |
1429 #X obj -41 408 +~; | |
1430 #X obj 72 495 +~; | |
1431 #X msg 614 64 \$1 20; | |
1432 #X obj 617 43 hsl 128 15 0.01 10 1 0 empty empty empty -2 -8 0 10 -262144 | |
1433 -1 -1 0 1; | |
1434 #X floatatom 658 68 0 0 0 0 - - -; | |
1435 #X obj 621 13 line; | |
1436 #X obj -19 458 spigot~; | |
1437 #X obj -65 333 *~ 0.2; | |
1438 #X obj 291 96 r myMet; | |
1439 #X obj 291 117 snapshot~; | |
1440 #X floatatom 291 138 0 0 0 0 - - -; | |
1441 #X obj 209 382 spigot~; | |
1442 #X obj 209 338 -~ 1; | |
1443 #X obj 209 358 *~ -1; | |
1444 #X obj 224 186 sig~ 1; | |
1445 #X obj 239 271 exp~; | |
1446 #X obj 209 317 /~; | |
1447 #X obj 224 292 +~; | |
1448 #X obj 194 409 +~; | |
1449 #X floatatom 270 160 0 0 0 0 - - -; | |
1450 #X obj 304 291 -~ 1.2; | |
1451 #X obj 26 288 -~ 1.2; | |
1452 #X obj 614 86 line~; | |
1453 #X obj 871 -5 inlet; | |
1454 #X obj 26 309 *~ 50; | |
1455 #X obj 304 313 *~ 50; | |
1456 #X obj 814 202 inlet; | |
1457 #X obj -35 219 -~ 1.02; | |
1458 #X obj -123 220 -~ 0.92; | |
1459 #X obj -123 242 *~ 33; | |
1460 #X obj -153 353 *~ -1.3; | |
1461 #X obj -35 241 *~ 200; | |
1462 #X obj 239 248 *~ 33; | |
1463 #X msg 566 -22 1.6; | |
1464 #X obj 151 248 *~ 200; | |
1465 #X msg 520 -24 0.4; | |
1466 #X obj 799 112 r \$0-mass; | |
1467 #X obj 799 135 / 1.225; | |
1468 #X msg 799 158 \$1 20; | |
1469 #X obj 799 177 line~; | |
1470 #X text 853 139 m* = rho_m / rho_f; | |
1471 #X floatatom 874 264 0 0 0 0 - - -; | |
1472 #X obj 829 245 t f b; | |
1473 #X obj 194 454 spigot~; | |
1474 #X obj 814 268 *; | |
1475 #X obj 635 363 r~ \$0-myRey; | |
1476 #X obj 587 363 r myMet; | |
1477 #X obj 587 386 snapshot~; | |
1478 #X floatatom 630 409 0 0 0 0 - - -; | |
1479 #X obj 548 431 spigot~; | |
1480 #X obj 443 430 spigot~; | |
1481 #X obj 563 250 r~ \$0-myRey; | |
1482 #X obj 563 293 pow~ 0.36; | |
1483 #X obj 614 271 sig~ 0.36; | |
1484 #X obj 563 314 *~ 0.41; | |
1485 #X obj 563 334 log~ 10; | |
1486 #X obj 613 313 sig~ 10; | |
1487 #X obj 814 308 line~; | |
1488 #X obj 799 331 *~; | |
1489 #X obj 799 371 s~ \$0-myApl; | |
1490 #X obj 458 281 r~ \$0-myApl; | |
1491 #X obj 458 347 *~; | |
1492 #X obj 458 303 *~ -1.29; | |
1493 #X obj 443 408 *~ 0.63; | |
1494 #X obj 443 262 sig~ 1; | |
1495 #X obj 443 324 +~; | |
1496 #X obj 473 324 r~ \$0-myApl; | |
1497 #X obj 443 386 +~; | |
1498 #X obj 563 118 r~ \$0-myApl; | |
1499 #X obj 563 184 *~; | |
1500 #X obj 548 99 sig~ 1; | |
1501 #X obj 548 161 +~; | |
1502 #X obj 578 161 r~ \$0-myApl; | |
1503 #X obj 548 228 +~; | |
1504 #X obj 563 140 *~ -1.12; | |
1505 #X obj 563 205 *~ 0.3; | |
1506 #X obj 458 367 *~ 0.59; | |
1507 #X obj 548 356 *~; | |
1508 #X obj 72 516 /~ 1.2; | |
1509 #X obj 482 458 +~; | |
1510 #X obj 239 227 -~ 0.9; | |
1511 #X obj 248 138 < 0.86; | |
1512 #X obj 151 226 -~ 0.89; | |
1513 #X obj -64 142 >= 0.995; | |
1514 #X floatatom 925 219 0 0 0 0 - - -; | |
1515 #X text 128 643 A/d; | |
1516 #X text -198 62 Sigmoid functions replicating the inital branch of | |
1517 the hysteresis curve.; | |
1518 #X text 151 60 Sigmoid functions replicating the lower branch of the | |
1519 hysteresis curve.; | |
1520 #X text 681 23 Test objects; | |
1521 #X obj -153 374 spigot~; | |
1522 #X text -303 477 By time decent kicks in the other sigmoids will be | |
1523 = 1 therefore the multiplication of the decending sigmoid rather than | |
1524 adding.; | |
1525 #X text 855 199 Damping input; | |
1526 #X text 864 286 Harmonic number; | |
1527 #X text -117 521 Normalises the Hysteresis plot; | |
1528 #X obj -171 17 s~ \$0-thisV; | |
1529 #X obj -30 80 r~ \$0-thisV; | |
1530 #X obj -123 199 r~ \$0-thisV; | |
1531 #X obj -35 197 r~ \$0-thisV; | |
1532 #X obj 26 266 r~ \$0-thisV; | |
1533 #X obj 58 403 r~ \$0-thisV; | |
1534 #X obj -6 560 r~ \$0-thisV; | |
1535 #X obj 151 203 r~ \$0-thisV; | |
1536 #X obj 270 76 r~ \$0-thisV; | |
1537 #X obj 238 205 r~ \$0-thisV; | |
1538 #X obj 304 269 r~ \$0-thisV; | |
1539 #X text 424 241 Low Re route; | |
1540 #X text 468 125 High Re route; | |
1541 #X text 715 422 Clipped to match the range given in Govardhan paper | |
1542 as well as to stop the value exploding after 1.5; | |
1543 #X obj 587 409 <= 500; | |
1544 #X msg 622 -11 1.6 30000; | |
1545 #X msg 695 0 0.4 30000; | |
1546 #X obj -171 -5 inlet~; | |
1547 #X obj 72 560 clip~ 0 2; | |
1548 #X obj 799 352 clip~ 0 1.5; | |
1549 #X obj 72 538 *~; | |
1550 #X obj 871 17 s \$0-thisHarm; | |
1551 #X obj 829 224 r \$0-thisHarm; | |
1552 #X msg 814 289 \$1 40; | |
1553 #X obj 72 581 snapshot~; | |
1554 #X obj 164 562 r myMet; | |
1555 #X obj 72 622 vline~; | |
1556 #X msg 72 601 \$1 50; | |
1557 #X text 124 607 Smoothing; | |
1558 #X text 234 594 This patch takes the Reduced Velocity V value \, (\$0-thisV) | |
1559 and calculates the corresponding value of maximum vibration \, A/d. | |
1560 ; | |
1561 #X text 493 491 Calculates Amax; | |
1562 #X connect 0 0 2 0; | |
1563 #X connect 0 0 3 0; | |
1564 #X connect 1 0 3 1; | |
1565 #X connect 2 0 10 1; | |
1566 #X connect 3 0 2 1; | |
1567 #X connect 4 0 5 0; | |
1568 #X connect 5 0 11 0; | |
1569 #X connect 6 0 8 0; | |
1570 #X connect 6 0 9 0; | |
1571 #X connect 7 0 9 1; | |
1572 #X connect 8 0 4 0; | |
1573 #X connect 9 0 8 1; | |
1574 #X connect 10 0 79 0; | |
1575 #X connect 11 0 54 0; | |
1576 #X connect 12 0 13 0; | |
1577 #X connect 13 0 14 0; | |
1578 #X connect 13 0 119 0; | |
1579 #X connect 19 0 18 0; | |
1580 #X connect 19 0 42 1; | |
1581 #X connect 19 1 17 0; | |
1582 #X connect 19 1 79 1; | |
1583 #X connect 20 0 22 0; | |
1584 #X connect 20 0 23 0; | |
1585 #X connect 21 0 23 1; | |
1586 #X connect 22 0 29 1; | |
1587 #X connect 23 0 22 1; | |
1588 #X connect 24 0 66 0; | |
1589 #X connect 25 0 27 0; | |
1590 #X connect 25 0 28 0; | |
1591 #X connect 26 0 28 1; | |
1592 #X connect 27 0 24 0; | |
1593 #X connect 28 0 27 1; | |
1594 #X connect 29 0 42 0; | |
1595 #X connect 30 0 32 0; | |
1596 #X connect 30 0 33 0; | |
1597 #X connect 31 0 33 1; | |
1598 #X connect 32 0 43 0; | |
1599 #X connect 33 0 32 1; | |
1600 #X connect 34 0 35 0; | |
1601 #X connect 35 1 36 1; | |
1602 #X connect 36 0 29 0; | |
1603 #X connect 37 0 114 0; | |
1604 #X connect 38 0 58 0; | |
1605 #X connect 39 0 38 0; | |
1606 #X connect 39 0 40 0; | |
1607 #X connect 41 0 39 0; | |
1608 #X connect 42 1 37 0; | |
1609 #X connect 43 0 34 0; | |
1610 #X connect 44 0 45 0; | |
1611 #X connect 45 0 46 0; | |
1612 #X connect 45 0 117 0; | |
1613 #X connect 47 1 54 1; | |
1614 #X connect 48 0 49 0; | |
1615 #X connect 49 0 47 0; | |
1616 #X connect 50 0 52 0; | |
1617 #X connect 50 0 53 0; | |
1618 #X connect 51 0 53 1; | |
1619 #X connect 52 0 48 0; | |
1620 #X connect 53 0 52 1; | |
1621 #X connect 54 0 10 0; | |
1622 #X connect 56 0 61 0; | |
1623 #X connect 57 0 60 0; | |
1624 #X connect 59 0 151 0; | |
1625 #X connect 60 0 21 0; | |
1626 #X connect 61 0 1 0; | |
1627 #X connect 62 0 80 0; | |
1628 #X connect 62 0 120 0; | |
1629 #X connect 63 0 67 0; | |
1630 #X connect 64 0 65 0; | |
1631 #X connect 65 0 26 0; | |
1632 #X connect 66 0 125 0; | |
1633 #X connect 67 0 31 0; | |
1634 #X connect 68 0 51 0; | |
1635 #X connect 69 0 41 0; | |
1636 #X connect 70 0 7 0; | |
1637 #X connect 71 0 41 0; | |
1638 #X connect 72 0 73 0; | |
1639 #X connect 73 0 74 0; | |
1640 #X connect 74 0 75 0; | |
1641 #X connect 75 0 94 0; | |
1642 #X connect 78 0 80 1; | |
1643 #X connect 78 1 80 0; | |
1644 #X connect 79 1 37 1; | |
1645 #X connect 80 0 153 0; | |
1646 #X connect 81 0 83 0; | |
1647 #X connect 82 0 83 0; | |
1648 #X connect 83 0 84 0; | |
1649 #X connect 83 0 144 0; | |
1650 #X connect 85 0 115 1; | |
1651 #X connect 86 1 115 0; | |
1652 #X connect 87 0 88 0; | |
1653 #X connect 88 0 90 0; | |
1654 #X connect 89 0 88 1; | |
1655 #X connect 90 0 91 0; | |
1656 #X connect 91 0 113 1; | |
1657 #X connect 92 0 91 1; | |
1658 #X connect 93 0 94 1; | |
1659 #X connect 94 0 149 0; | |
1660 #X connect 96 0 98 0; | |
1661 #X connect 97 0 112 0; | |
1662 #X connect 98 0 101 1; | |
1663 #X connect 99 0 86 0; | |
1664 #X connect 100 0 101 0; | |
1665 #X connect 101 0 103 0; | |
1666 #X connect 102 0 97 0; | |
1667 #X connect 102 0 97 1; | |
1668 #X connect 103 0 99 0; | |
1669 #X connect 104 0 110 0; | |
1670 #X connect 105 0 111 0; | |
1671 #X connect 106 0 107 0; | |
1672 #X connect 107 0 109 0; | |
1673 #X connect 108 0 105 0; | |
1674 #X connect 108 0 105 1; | |
1675 #X connect 109 0 113 0; | |
1676 #X connect 110 0 107 1; | |
1677 #X connect 111 0 109 1; | |
1678 #X connect 112 0 103 1; | |
1679 #X connect 113 0 85 0; | |
1680 #X connect 114 0 150 0; | |
1681 #X connect 115 0 150 1; | |
1682 #X connect 116 0 68 0; | |
1683 #X connect 117 0 11 1; | |
1684 #X connect 117 0 47 1; | |
1685 #X connect 117 0 55 0; | |
1686 #X connect 118 0 70 0; | |
1687 #X connect 119 0 35 1; | |
1688 #X connect 119 0 125 1; | |
1689 #X connect 125 0 36 0; | |
1690 #X connect 131 0 13 0; | |
1691 #X connect 132 0 64 0; | |
1692 #X connect 133 0 63 0; | |
1693 #X connect 134 0 57 0; | |
1694 #X connect 135 0 19 0; | |
1695 #X connect 136 0 16 0; | |
1696 #X connect 137 0 118 0; | |
1697 #X connect 138 0 45 0; | |
1698 #X connect 139 0 116 0; | |
1699 #X connect 140 0 56 0; | |
1700 #X connect 144 0 85 1; | |
1701 #X connect 144 0 86 1; | |
1702 #X connect 145 0 41 0; | |
1703 #X connect 146 0 41 0; | |
1704 #X connect 147 0 130 0; | |
1705 #X connect 148 0 16 1; | |
1706 #X connect 148 0 154 0; | |
1707 #X connect 149 0 95 0; | |
1708 #X connect 150 0 148 0; | |
1709 #X connect 152 0 78 0; | |
1710 #X connect 152 0 77 0; | |
1711 #X connect 153 0 93 0; | |
1712 #X connect 154 0 157 0; | |
1713 #X connect 155 0 154 0; | |
1714 #X connect 156 0 15 0; | |
1715 #X connect 157 0 156 0; | |
1716 #X restore 1161 268 pd SimpHyst; | |
1717 #X obj 1161 207 r~ \$0-redVel; | |
1718 #X obj 1192 227 r \$0-dampPar; | |
1719 #X obj 1224 246 r \$0-harmNo; | |
1720 #X obj 1161 288 s~ \$0-AdVal; | |
1721 #X obj 1265 484 r~ \$0-AdVal; | |
1722 #N canvas 361 196 756 527 FMout 0; | |
1723 #X obj 170 -2 inlet~; | |
1724 #X obj -67 61 osc~; | |
1725 #X obj -67 384 throw~ l; | |
1726 #X obj -56 363 throw~ r; | |
1727 #X obj -67 -10 inlet~; | |
1728 #X obj -52 15 inlet~; | |
1729 #X obj -67 343 spigot~; | |
1730 #X obj -67 37 +~; | |
1731 #X obj -48 188 osc~; | |
1732 #X obj -67 232 +~; | |
1733 #X obj -3 118 r mod; | |
1734 #X obj -48 95 inlet~; | |
1735 #X obj -33 118 osc~; | |
1736 #X obj -33 142 *~ 1; | |
1737 #X obj -48 164 +~; | |
1738 #X text -40 31 Modulation frequency; | |
1739 #X text 81 -24 A/d - max vibration; | |
1740 #X text -46 80 Difference frequency; | |
1741 #X obj 170 20 s~ \$0-myAd; | |
1742 #X obj -52 251 r~ \$0-myAd; | |
1743 #X text -191 -32 Fv \, vortex shedding freq; | |
1744 #X obj 1 320 inlet; | |
1745 #X text 35 322 on/off; | |
1746 #X obj -67 321 *~ 5e-05; | |
1747 #X obj -67 273 *~; | |
1748 #X text -329 265 Vibration value as calculated in SimpHyst; | |
1749 #X text -399 56 High Frequency FM Spectrum around the vortex shedding | |
1750 frequency; | |
1751 #X text -405 204 Low Frequency spectrum around the difference frequency | |
1752 ; | |
1753 #X text -432 328 Gain value to strike a balance between the FM spectrums | |
1754 and the output from the dipoles due to the Aeolian Tone; | |
1755 #X text -235 449 Patch that calculates the full FM spectrum and scales | |
1756 it according to the vibration amount A as well as a ratio to the Aeolian | |
1757 tone dipoles.; | |
1758 #X text 6 376 Send signal to the DAC; | |
1759 #X text 11 203 LF Spectrum is at lower level that HF one; | |
1760 #X obj -48 208 *~ 0.1; | |
1761 #X obj -67 300 *~; | |
1762 #X obj -36 274 r~ \$0-reyGain; | |
1763 #X connect 0 0 18 0; | |
1764 #X connect 1 0 9 0; | |
1765 #X connect 4 0 7 0; | |
1766 #X connect 5 0 7 1; | |
1767 #X connect 6 0 2 0; | |
1768 #X connect 6 0 3 0; | |
1769 #X connect 7 0 1 0; | |
1770 #X connect 8 0 32 0; | |
1771 #X connect 9 0 24 0; | |
1772 #X connect 10 0 13 1; | |
1773 #X connect 11 0 14 0; | |
1774 #X connect 11 0 12 0; | |
1775 #X connect 12 0 13 0; | |
1776 #X connect 13 0 14 1; | |
1777 #X connect 14 0 8 0; | |
1778 #X connect 19 0 24 1; | |
1779 #X connect 21 0 6 1; | |
1780 #X connect 23 0 6 0; | |
1781 #X connect 24 0 33 0; | |
1782 #X connect 32 0 9 1; | |
1783 #X connect 33 0 23 0; | |
1784 #X connect 34 0 33 1; | |
1785 #X restore 1221 504 pd FMout; | |
1786 #X obj 727 526 s~ \$0-vorFreq; | |
1787 #X obj 474 647 r~ \$0-vorFreq; | |
1788 #X obj 1221 401 r~ \$0-vorFreq; | |
1789 #X obj 1039 419 r~ \$0-vorFreq; | |
1790 #X obj 1176 650 r \$0-vorFreq; | |
1791 #X obj 808 506 s \$0-vorFreq; | |
1792 #X text 773 299 Calcs Harmonic No; | |
1793 #X obj 906 622 r \$0-harmNo; | |
1794 #X obj 885 602 r~ \$0-thisNatF; | |
1795 #X obj 885 643 *~ 1; | |
1796 #X obj 870 582 r~ \$0-vorFreq; | |
1797 #X obj 870 663 /~; | |
1798 #X obj 921 685 r myMet; | |
1799 #X obj 870 705 snapshot~; | |
1800 #X obj 870 725 == 1; | |
1801 #X obj 870 684 spigot~; | |
1802 #X obj 909 663 r \$0-onOff; | |
1803 #X obj 1257 684 r myMet; | |
1804 #X obj 1257 704 snapshot~; | |
1805 #X floatatom 1257 725 0 0 0 0 - - -; | |
1806 #X obj 964 419 r \$0-harmNo; | |
1807 #X obj 402 498 r~ \$0-vorFreq; | |
1808 #X floatatom 692 302 0 0 0 0 - - -; | |
1809 #X floatatom 782 260 0 0 0 0 - - -; | |
1810 #X obj 808 467 r~ \$0-redVel; | |
1811 #X obj 249 204 r myMet; | |
1812 #X obj 249 227 snapshot~; | |
1813 #X floatatom 249 251 0 0 0 0 - - -; | |
1814 #X obj 535 210 r myMet; | |
1815 #X obj 535 233 snapshot~; | |
1816 #X floatatom 535 257 0 0 0 0 - - -; | |
1817 #X obj 552 469 -~ 1; | |
1818 #X obj 568 316 sig~ 1; | |
1819 #X obj 582 402 exp~; | |
1820 #X obj 552 448 /~; | |
1821 #X obj 567 423 +~; | |
1822 #X obj 552 489 *~ -1; | |
1823 #X obj 582 337 r~ \$0-myRey; | |
1824 #X obj 610 552 r myMet; | |
1825 #X obj 610 575 snapshot~; | |
1826 #X floatatom 610 599 0 0 0 0 - - -; | |
1827 #X obj 552 511 s~ \$0-reyGain; | |
1828 #X obj 582 378 *~ 0.5; | |
1829 #X obj 582 356 -~ 43; | |
1830 #X connect 0 0 4 0; | |
1831 #X connect 0 0 32 0; | |
1832 #X connect 3 0 19 0; | |
1833 #X connect 3 0 36 0; | |
1834 #X connect 6 0 90 0; | |
1835 #X connect 8 0 5 0; | |
1836 #X connect 8 0 117 0; | |
1837 #X connect 9 0 92 0; | |
1838 #X connect 11 0 72 0; | |
1839 #X connect 15 0 58 1; | |
1840 #X connect 16 0 58 4; | |
1841 #X connect 17 0 20 0; | |
1842 #X connect 17 0 60 0; | |
1843 #X connect 18 0 21 0; | |
1844 #X connect 18 0 61 0; | |
1845 #X connect 29 0 30 0; | |
1846 #X connect 29 0 35 0; | |
1847 #X connect 39 0 58 0; | |
1848 #X connect 40 0 58 3; | |
1849 #X connect 41 0 58 5; | |
1850 #X connect 45 0 9 0; | |
1851 #X connect 46 0 92 1; | |
1852 #X connect 47 0 85 1; | |
1853 #X connect 47 0 110 0; | |
1854 #X connect 47 0 138 0; | |
1855 #X connect 48 0 85 0; | |
1856 #X connect 48 0 137 0; | |
1857 #X connect 50 0 70 0; | |
1858 #X connect 51 0 50 0; | |
1859 #X connect 52 0 57 1; | |
1860 #X connect 53 0 57 3; | |
1861 #X connect 54 0 57 0; | |
1862 #X connect 55 0 57 2; | |
1863 #X connect 56 0 57 5; | |
1864 #X connect 57 0 38 0; | |
1865 #X connect 57 1 37 0; | |
1866 #X connect 58 0 42 0; | |
1867 #X connect 62 0 57 6; | |
1868 #X connect 63 0 57 7; | |
1869 #X connect 64 0 58 7; | |
1870 #X connect 65 0 58 6; | |
1871 #X connect 66 0 68 0; | |
1872 #X connect 67 0 66 0; | |
1873 #X connect 69 0 57 4; | |
1874 #X connect 70 0 9 1; | |
1875 #X connect 71 0 58 2; | |
1876 #X connect 72 0 73 0; | |
1877 #X connect 73 0 12 0; | |
1878 #X connect 73 0 44 0; | |
1879 #X connect 75 0 76 0; | |
1880 #X connect 77 0 51 0; | |
1881 #X connect 79 0 80 0; | |
1882 #X connect 81 0 82 0; | |
1883 #X connect 82 0 50 1; | |
1884 #X connect 82 0 70 1; | |
1885 #X connect 85 0 86 0; | |
1886 #X connect 85 0 88 0; | |
1887 #X connect 87 0 88 0; | |
1888 #X connect 88 0 89 0; | |
1889 #X connect 88 0 113 0; | |
1890 #X connect 90 0 7 0; | |
1891 #X connect 90 1 43 0; | |
1892 #X connect 90 1 177 0; | |
1893 #X connect 90 2 10 0; | |
1894 #X connect 90 2 180 0; | |
1895 #X connect 91 0 90 1; | |
1896 #X connect 92 0 33 0; | |
1897 #X connect 92 1 34 0; | |
1898 #X connect 95 0 97 0; | |
1899 #X connect 96 0 97 1; | |
1900 #X connect 97 0 99 0; | |
1901 #X connect 98 0 99 0; | |
1902 #X connect 99 0 100 0; | |
1903 #X connect 99 0 174 0; | |
1904 #X connect 100 0 115 0; | |
1905 #X connect 101 0 105 0; | |
1906 #X connect 101 0 126 0; | |
1907 #X connect 103 0 135 0; | |
1908 #X connect 103 1 133 0; | |
1909 #X connect 104 0 108 0; | |
1910 #X connect 104 0 107 0; | |
1911 #X connect 108 0 106 0; | |
1912 #X connect 108 0 151 0; | |
1913 #X connect 108 1 156 0; | |
1914 #X connect 109 0 129 0; | |
1915 #X connect 109 0 139 0; | |
1916 #X connect 114 0 130 0; | |
1917 #X connect 114 0 140 0; | |
1918 #X connect 115 0 101 0; | |
1919 #X connect 115 0 173 0; | |
1920 #X connect 116 0 117 0; | |
1921 #X connect 117 0 118 0; | |
1922 #X connect 120 0 66 1; | |
1923 #X connect 122 0 111 0; | |
1924 #X connect 122 0 169 0; | |
1925 #X connect 124 0 108 1; | |
1926 #X connect 125 0 112 0; | |
1927 #X connect 127 0 102 0; | |
1928 #X connect 128 0 143 0; | |
1929 #X connect 131 0 150 3; | |
1930 #X connect 132 0 74 1; | |
1931 #X connect 134 0 150 1; | |
1932 #X connect 136 0 150 2; | |
1933 #X connect 143 0 142 0; | |
1934 #X connect 143 1 121 0; | |
1935 #X connect 143 2 123 0; | |
1936 #X connect 144 0 148 0; | |
1937 #X connect 145 0 144 0; | |
1938 #X connect 146 0 144 1; | |
1939 #X connect 147 0 144 2; | |
1940 #X connect 149 0 150 4; | |
1941 #X connect 152 0 74 0; | |
1942 #X connect 153 0 150 0; | |
1943 #X connect 154 0 103 1; | |
1944 #X connect 155 0 93 0; | |
1945 #X connect 158 0 160 1; | |
1946 #X connect 159 0 160 0; | |
1947 #X connect 160 0 162 1; | |
1948 #X connect 161 0 162 0; | |
1949 #X connect 162 0 166 0; | |
1950 #X connect 163 0 164 0; | |
1951 #X connect 164 0 165 0; | |
1952 #X connect 165 0 94 0; | |
1953 #X connect 165 0 141 0; | |
1954 #X connect 166 0 164 0; | |
1955 #X connect 167 0 166 1; | |
1956 #X connect 168 0 169 0; | |
1957 #X connect 169 0 170 0; | |
1958 #X connect 171 0 103 0; | |
1959 #X connect 172 0 82 0; | |
1960 #X connect 175 0 108 2; | |
1961 #X connect 176 0 177 0; | |
1962 #X connect 177 0 178 0; | |
1963 #X connect 179 0 180 0; | |
1964 #X connect 180 0 181 0; | |
1965 #X connect 182 0 187 0; | |
1966 #X connect 183 0 185 0; | |
1967 #X connect 183 0 186 0; | |
1968 #X connect 184 0 186 1; | |
1969 #X connect 185 0 182 0; | |
1970 #X connect 186 0 185 1; | |
1971 #X connect 187 0 190 0; | |
1972 #X connect 187 0 192 0; | |
1973 #X connect 188 0 194 0; | |
1974 #X connect 189 0 190 0; | |
1975 #X connect 190 0 191 0; | |
1976 #X connect 193 0 184 0; | |
1977 #X connect 194 0 193 0; |