aboutsummaryrefslogtreecommitdiff
path: root/pd/distance_n.pd
blob: 85f6a7074fd974766f6235613cb31a0c84067a66 (plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
#N canvas 872 510 450 424 10;
#N canvas 640 117 487 367 drip-two-lists 0;
#X obj 64 243 outlet;
#X obj 64 57 inlet;
#X obj 157 240 outlet;
#X obj 225 242 outlet;
#X obj 321 95 inlet;
#X text 272 240 End;
#X obj 64 156 t a b;
#N canvas 0 0 533 407 drip 0;
#X obj 64 206 list split 1;
#X obj 64 123 until;
#X obj 64 181 list append;
#X obj 194 206 bang;
#X text 146 90 First store list \, then start the loop;
#X text 163 118 "until" bangs its output until told to stop by a "bang"
to its right inlet.;
#X text 182 160 Store the remaining list.;
#X text 239 205 third outlet of "split" tells us to stop.;
#X obj 64 243 outlet;
#X obj 64 57 inlet;
#X text 237 44 From list-help.pd;
#X obj 143 243 outlet;
#X obj 64 86 t b a;
#X connect 0 0 8 0;
#X connect 0 1 2 1;
#X connect 0 2 3 0;
#X connect 0 2 11 0;
#X connect 1 0 2 0;
#X connect 2 0 0 0;
#X connect 3 0 1 1;
#X connect 9 0 12 0;
#X connect 12 0 1 0;
#X connect 12 1 2 1;
#X restore 64 122 pd drip;
#N canvas 0 0 533 407 dripslow 0;
#X obj 87 232 list split 1;
#X obj 87 207 list append;
#X obj 87 283 outlet;
#X obj 87 83 inlet;
#X obj 166 283 outlet;
#X obj 159 81 inlet;
#X obj 87 118 b;
#X text 202 82 list;
#X text 42 83 bang;
#X text 210 283 EOL;
#X text 28 282 element;
#X obj 166 253 b;
#X connect 0 0 2 0;
#X connect 0 1 1 1;
#X connect 0 2 11 0;
#X connect 1 0 0 0;
#X connect 3 0 6 0;
#X connect 5 0 1 1;
#X connect 6 0 1 0;
#X connect 11 0 4 0;
#X restore 158 191 pd dripslow;
#X connect 1 0 7 0;
#X connect 4 0 8 1;
#X connect 6 0 0 0;
#X connect 6 1 8 0;
#X connect 7 0 6 0;
#X connect 7 1 3 0;
#X connect 8 0 2 0;
#X restore 133 139 pd drip-two-lists;
#X obj 113 27 inlet;
#X obj 287 20 inlet;
#X obj 133 167 -;
#X obj 133 195 t f f;
#X obj 133 224 *;
#X obj 134 278 f;
#X obj 133 256 +;
#X msg 196 197 0;
#X obj 118 300 f;
#X obj 119 325 sqrt;
#X obj 118 349 outlet;
#X msg 313 61 1 2 3 5 7 8;
#X msg 134 62 1 2 3 4 5 6;
#X obj 246 99 list;
#X obj 115 98 t b a b b;
#X connect 0 0 3 0;
#X connect 0 1 3 1;
#X connect 1 0 15 0;
#X connect 2 0 14 1;
#X connect 3 0 4 0;
#X connect 4 0 5 0;
#X connect 4 1 5 1;
#X connect 5 0 7 0;
#X connect 6 0 7 1;
#X connect 6 0 9 1;
#X connect 7 0 6 0;
#X connect 8 0 7 1;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 12 0 14 1;
#X connect 13 0 15 0;
#X connect 14 0 0 1;
#X connect 15 0 9 0;
#X connect 15 1 0 0;
#X connect 15 2 8 0;
#X connect 15 3 14 0;