Last active
January 29, 2021 18:59
-
-
Save edwardsharp/752637ffa2d23ea5d4d016d4444f8114 to your computer and use it in GitHub Desktop.
r/puredata raindrop_generator_on_bang
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#N canvas 366 23 911 659 12; | |
#X obj 34 39 noise~; | |
#X obj 35 112 bp~ 80 0.4; | |
#X floatatom 69 65 5 0 0 0 - - -; | |
#X floatatom 102 87 5 0 0 0 - - -; | |
#X obj 35 135 lop~ 500; | |
#X obj 115 306 *~; | |
#X obj 115 329 *~ 30; | |
#X obj 35 232 *~ 30; | |
#X obj 35 255 +~ 40; | |
#X obj 35 278 phasor~; | |
#X obj 35 301 -~ 0.25; | |
#X obj 35 324 cos~; | |
#X obj 35 347 *~; | |
#X obj 35 400 max~ 0.45; | |
#X obj 35 423 -~ 0.45; | |
#X obj 35 476 *~ 0.5; | |
#X obj 35 499 hip~ 500; | |
#X obj 35 522 hip~ 500; | |
#X obj 228 613 dac~; | |
#N canvas 0 22 450 278 (subpatch) 0; | |
#X array A 100 float 3; | |
#A 0 0.14682 0.154729 0.163015 0.171873 0.181654 0.192699 0.205501 | |
0.220416 0.237413 0.256649 0.277583 0.300331 0.324672 0.350077 0.376358 | |
0.403538 0.431779 0.461629 0.491948 0.522273 0.552108 0.580723 0.608465 | |
0.636142 0.664009 0.690918 0.717448 0.742258 0.764339 0.783669 0.799506 | |
0.813 0.822979 0.830717 0.836882 0.840379 0.840651 0.83908 0.836872 | |
0.834624 0.831599 0.828956 0.826982 0.826642 0.827301 0.828073 0.829231 | |
0.830347 0.830763 0.83035 0.828853 0.826407 0.823709 0.82175 0.819644 | |
0.817204 0.814721 0.811821 0.809499 0.807592 0.804913 0.801693 0.798587 | |
0.796518 0.795164 0.795508 0.796552 0.798308 0.800042 0.801204 0.802143 | |
0.803124 0.803057 0.800989 0.797066 0.791245 0.783045 0.774117 0.763917 | |
0.752679 0.740324 0.725804 0.709183 0.690708 0.670644 0.650479 0.629168 | |
0.608268 0.587903 0.567022 0.546919 0.527612 0.508008 0.487303 0.465947 | |
0.444784 0.424027 0.404672 0.386407 0.36954; | |
#X coords 0 1 100 -1 200 140 1 0 0; | |
#X restore 181 88 graph; | |
#N canvas 0 22 450 278 (subpatch) 0; | |
#X array B 100 float 3; | |
#A 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0116289 0.0419483 0.0722732 | |
0.102108 0.130723 0.158465 0.186142 0.214009 0.240918 0.267448 0.292258 | |
0.314339 0.333669 0.349506 0.363 0.372979 0.380717 0.386882 0.390379 | |
0.390651 0.38908 0.386872 0.384624 0.381599 0.378956 0.376982 0.376642 | |
0.377301 0.378073 0.379231 0.380347 0.380763 0.38035 0.378853 0.376408 | |
0.373709 0.37175 0.369644 0.367204 0.364721 0.361821 0.359499 0.357592 | |
0.354913 0.351693 0.348587 0.346518 0.345164 0.345508 0.346552 0.348308 | |
0.350042 0.351204 0.352143 0.353124 0.353057 0.350989 0.347066 0.341245 | |
0.333045 0.324117 0.313917 0.302679 0.290324 0.275804 0.259183 0.240708 | |
0.220644 0.20048 0.179168 0.158268 0.137903 0.117022 0.0969191 0.0776118 | |
0.0580079 0.037303 0.0159471 0 0 0 0 0; | |
#X coords 0 1 100 -1 200 140 1 0 0; | |
#X restore 185 261 graph; | |
#X obj 50 450 tabwrite~ B; | |
#X obj 45 374 tabwrite~ A; | |
#X obj 157 52 metro 100; | |
#X obj 157 27 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0 | |
1; | |
#X obj 157 415 t b b; | |
#X obj 222 425 cnv 15 125 175 empty empty empty 20 12 0 14 -232576 | |
-66577 0; | |
#X obj 234 572 *~; | |
#X obj 252 542 vline~; | |
#X obj 252 436 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 | |
-1 -1; | |
#X obj 260 467 delay 1000; | |
#X msg 252 495 1 1000; | |
#X msg 260 517 0 1000; | |
#X obj 619 186 list length; | |
#X obj 619 303 list split; | |
#X obj 619 278 list; | |
#X obj 679 153 t l b l; | |
#X obj 619 208 until; | |
#X obj 619 230 f; | |
#X obj 650 231 + 1; | |
#X msg 702 206 0; | |
#X obj 619 252 t b f; | |
#X obj 652 330 list split 1; | |
#X obj 679 117 array get B; | |
#X obj 679 86 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1 | |
-1; | |
#X obj 685 409 pack f f; | |
#X obj 573 477 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 | |
-262144 -1 -1 21 256; | |
#X obj 573 510 tabread B; | |
#X obj 573 545 nbx 5 14 -1e+37 1e+37 0 0 empty empty empty 0 -8 0 10 | |
-262144 -1 -1 0.130723 256; | |
#X obj 771 352 + 1; | |
#X obj 653 356 sel 0; | |
#X text 529 476 index; | |
#X text 526 544 value; | |
#X text 503 357 only non-zero values; | |
#X text 494 209 loop thru list; | |
#X obj 685 444 print VALUE_INDEX; | |
#X connect 0 0 1 0; | |
#X connect 1 0 4 0; | |
#X connect 2 0 1 1; | |
#X connect 3 0 1 2; | |
#X connect 4 0 5 0; | |
#X connect 4 0 7 0; | |
#X connect 4 0 5 1; | |
#X connect 5 0 6 0; | |
#X connect 6 0 12 1; | |
#X connect 7 0 8 0; | |
#X connect 8 0 9 0; | |
#X connect 9 0 10 0; | |
#X connect 10 0 11 0; | |
#X connect 11 0 12 0; | |
#X connect 12 0 13 0; | |
#X connect 12 0 22 0; | |
#X connect 13 0 14 0; | |
#X connect 14 0 15 0; | |
#X connect 14 0 21 0; | |
#X connect 15 0 16 0; | |
#X connect 16 0 17 0; | |
#X connect 17 0 27 0; | |
#X connect 23 0 25 0; | |
#X connect 24 0 23 0; | |
#X connect 25 0 22 0; | |
#X connect 25 1 21 0; | |
#X connect 27 0 18 0; | |
#X connect 27 0 18 1; | |
#X connect 28 0 27 1; | |
#X connect 29 0 31 0; | |
#X connect 29 0 30 0; | |
#X connect 30 0 32 0; | |
#X connect 31 0 28 0; | |
#X connect 32 0 28 0; | |
#X connect 33 0 37 0; | |
#X connect 34 1 42 0; | |
#X connect 35 0 34 0; | |
#X connect 36 0 33 0; | |
#X connect 36 1 40 0; | |
#X connect 36 2 35 1; | |
#X connect 37 0 38 0; | |
#X connect 38 0 39 0; | |
#X connect 38 0 41 0; | |
#X connect 38 0 49 0; | |
#X connect 39 0 38 1; | |
#X connect 40 0 38 1; | |
#X connect 41 0 35 0; | |
#X connect 41 1 34 1; | |
#X connect 42 0 50 0; | |
#X connect 43 0 36 0; | |
#X connect 44 0 43 0; | |
#X connect 45 0 55 0; | |
#X connect 46 0 47 0; | |
#X connect 47 0 48 0; | |
#X connect 49 0 45 1; | |
#X connect 50 1 45 0; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment