-
Notifications
You must be signed in to change notification settings - Fork 0
/
record.pd
85 lines (85 loc) · 2.25 KB
/
record.pd
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
#N canvas 459 294 545 557 10;
#X obj 172 106 cnv 15 121 127 empty empty Record\ Settings 5 5 0 12
-1 -262144 0;
#X obj 39 153 adc~;
#X obj 39 176 env~;
#X floatatom 39 199 5 0 0 0 - - -, f 5;
#X obj 221 138 vsl 30 60 10 300 0 0 empty empty Hold 0 -9 0 10 -66577
-262144 -262144 2238 1;
#X floatatom 220 208 4 0 0 1 ms - -, f 4;
#X obj 181 138 vsl 30 60 30 90 0 0 empty empty Thres 0 -9 0 10 -66577
-262144 -262144 3442 1;
#X floatatom 181 208 4 0 0 0 - - -, f 4;
#X obj 202 195 bng 8 50 50 0 empty empty empty 17 7 0 10 -1 -262144
-1;
#X obj 178 38 loadbang;
#X msg 178 66 65;
#X msg 212 66 120;
#X obj 39 221 moses;
#X obj 158 267 receive clock;
#X obj 180 364 mod 15;
#X obj 180 318 pipe;
#X obj 243 290 / 2;
#X obj 180 341 + 1;
#X obj 243 267 receive step-duration;
#X obj 143 502 send enable-step;
#X obj 242 194 bng 8 50 50 0 empty empty empty 17 7 0 10 -1 -262144
-1;
#X text 177 405 store currently closest step;
#N canvas 697 312 450 346 debounce 0;
#X obj 9 188 outlet;
#X obj 9 158 spigot;
#X obj 118 94 delay;
#X msg 60 121 1;
#X obj 60 94 loadbang;
#X obj 145 66 inlet delay;
#X obj 9 30 inlet bang;
#X text 5 -1 outputs at most one bang in "delay" milliseconds;
#X obj 9 61 t 0 a;
#X connect 1 0 0 0;
#X connect 2 0 3 0;
#X connect 3 0 1 1;
#X connect 4 0 3 0;
#X connect 5 0 2 1;
#X connect 6 0 8 0;
#X connect 8 0 1 1;
#X connect 8 1 1 0;
#X connect 8 1 2 0;
#X restore 66 301 pd debounce;
#X text 229 345 half point of the current step;
#X text 230 328 move to next step already when past;
#X obj 143 406 int;
#X obj 116 363 t b;
#X obj 143 449 pack i f;
#X obj 73 406 autoscale;
#X obj 263 209 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 12 0;
#X connect 4 0 5 0;
#X connect 5 0 22 1;
#X connect 6 0 7 0;
#X connect 6 0 12 1;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 10 0 6 0;
#X connect 11 0 4 0;
#X connect 12 1 8 0;
#X connect 12 1 22 0;
#X connect 13 0 15 0;
#X connect 13 0 25 1;
#X connect 14 0 25 1;
#X connect 15 0 17 0;
#X connect 16 0 15 1;
#X connect 17 0 14 0;
#X connect 18 0 16 0;
#X connect 22 0 20 0;
#X connect 22 0 26 0;
#X connect 22 0 28 0;
#X connect 25 0 27 0;
#X connect 26 0 25 0;
#X connect 27 0 19 0;
#X connect 28 0 27 1;
#X connect 29 0 28 3;
#X coords 0 -1 1 1 123 129 2 171 105;