-
Notifications
You must be signed in to change notification settings - Fork 8
/
TO_LPM_MK3-help.pd
205 lines (205 loc) · 6.7 KB
/
TO_LPM_MK3-help.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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
#N canvas 7 23 1258 718 10;
#X declare -path r_cycle;
#X obj 29 328 cnv 15 500 350 empty empty Msg_to_LP_X 5 10 0 12 -261234
-66577 0;
#X obj 29 47 cnv 15 200 270 empty empty Msg_from_LP_X 5 10 0 12 -261682
-66577 0;
#X floatatom 60 168 5 0 0 0 row - -;
#X floatatom 80 188 5 0 0 0 column - -;
#X symbolatom 101 209 15 0 0 0 button - -;
#X floatatom 121 228 5 0 0 0 note - -;
#X floatatom 142 248 5 0 0 0 velocity - -;
#X floatatom 162 268 5 0 0 0 cc_value - -;
#X floatatom 183 288 5 0 0 0 cc_number - -;
#X floatatom 47 396 5 0 0 1 pad_button - -;
#X floatatom 81 416 5 0 0 1 color - -;
#X msg 116 517 clear;
#X floatatom 180 389 5 0 0 1 (0-8) - -;
#X msg 180 410 column \$1;
#X floatatom 180 479 5 0 0 1 color - -;
#X msg 180 500 setall \$1;
#X floatatom 180 434 5 0 0 1 (0-8) - -;
#X msg 180 455 row \$1;
#X floatatom 265 388 5 0 0 1 mode_(0-1-2) - -;
#X msg 265 475 mode \$1;
#X msg 275 413 symbol static;
#X msg 285 433 symbol flash;
#X msg 295 453 symbol pulse;
#X obj 562 165 cnv 15 180 60 empty empty Draw_and_Animate 5 10 0 12
-204800 -66577 0;
#X text 679 194 double \; click \;;
#N canvas 0 23 702 483 ANIMATRIX 0;
#X obj 329 67 cnv 15 250 325 empty empty ANIMATION 5 10 0 12 -204786
-66577 0;
#X obj 415 94 tgl 15 0 empty empty on_off 0 -8 0 10 -262144 -1 -1 0
1;
#X floatatom 466 92 5 0 0 1 refresh_rate - -;
#X obj 415 209 pack 0 2;
#X floatatom 460 183 5 0 0 1 square_size - -;
#X floatatom 415 183 5 0 0 0 start.point - -;
#X obj 484 268 random 127;
#X obj 484 289 + 1;
#X obj 415 156 t f b b;
#X obj 415 114 metro 150;
#X obj 289 15 loadbang;
#X msg 289 36 150;
#X msg 484 346 clear;
#X obj 27 67 cnv 15 270 250 empty empty DRAWING 5 10 0 12 -262130 -66577
0;
#X floatatom 177 170 5 0 0 1 color(1-127) - -;
#X obj 108 140 pack 0 2;
#X floatatom 153 114 5 0 0 1 square_size - -;
#X floatatom 108 114 5 0 0 0 start.point - -;
#X msg 177 232 clear;
#N canvas 0 23 450 300 COUNTER 0;
#X obj 128 40 inlet;
#X obj 128 61 f;
#X obj 128 112 t f f;
#X obj 128 82 % 89;
#X obj 168 112 + 1;
#X obj 128 133 outlet;
#X connect 0 0 1 0;
#X connect 1 0 3 0;
#X connect 2 0 5 0;
#X connect 2 1 4 0;
#X connect 3 0 2 0;
#X connect 4 0 1 1;
#X restore 415 136 pd COUNTER;
#X obj 415 367 TO_LPM_MK3, f 12;
#X obj 108 262 TO_LPM_MK3, f 12;
#X obj 484 222 random 5;
#X obj 484 245 sel 0;
#X obj 108 194 SQUARE;
#X obj 415 316 SQUARE;
#X connect 1 0 9 0;
#X connect 2 0 9 1;
#X connect 3 0 25 0;
#X connect 4 0 3 1;
#X connect 5 0 3 0;
#X connect 6 0 7 0;
#X connect 7 0 25 1;
#X connect 8 0 5 0;
#X connect 8 1 22 0;
#X connect 8 2 12 0;
#X connect 9 0 19 0;
#X connect 10 0 11 0;
#X connect 11 0 2 0;
#X connect 12 0 20 0;
#X connect 14 0 24 1;
#X connect 15 0 24 0;
#X connect 16 0 15 1;
#X connect 17 0 15 0;
#X connect 19 0 8 0;
#X connect 22 0 23 0;
#X connect 23 0 6 0;
#X connect 24 0 21 0;
#X connect 25 0 20 0;
#X restore 582 196 pd ANIMATRIX;
#X obj 29 11 cnv 15 155 25 empty empty r_cycle-LPM-MK3 5 12 0 16 -204786
-1 0;
#X floatatom 215 647 5 0 0 3 R - -;
#X floatatom 269 647 5 0 0 3 G - -;
#X floatatom 323 647 5 0 0 3 B - -;
#X symbolatom 398 388 20 0 0 0 - - -;
#X obj 405 408 tgl 15 0 empty empty loop 17 7 0 10 -262144 -1 -1 0
1;
#X floatatom 405 429 5 0 0 1 speed_(0_127) - -;
#X msg 398 489 text \$1 \$2 \$3;
#X msg 398 521 text_stop;
#X obj 398 369 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 243 276 DEVICE_SELECT;
#X msg 56 464 symbol stop_clip;
#X msg 66 484 symbol arrow_down;
#X msg 37 366 list 35 110 12 115 64 82 60 15 99 120;
#X obj 398 469 pack s 0 14;
#X obj 382 561 cnv 15 135 15 empty empty TURN_THIS_ON_FIRST 5 8 0 12
-258113 -66577 0;
#X obj 364 561 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X obj 60 87 tgl 15 0 empty empty off_on_(on_by_default) 17 7 0 10
-262144 -1 -1 0 1;
#X msg 364 589 programmer_mode \$1;
#X msg 73 111 print_args;
#X obj 60 136 FROM_LPM_MK3 1 72, f 21;
#X obj 47 617 TO_LPM_MK3;
#X msg 259 336 rgb 11 120 0 54 35 10 120 127 89 10 100 34;
#X obj 63 589 r \$0_to_lp;
#X obj 144 557 s \$0_to_lp;
#X obj 364 610 s \$0_to_lp;
#X text 234 45 OUTLETS (left-to-right) \; \; 1 (float) row nr (0-7)
- pads only \; 2 (float) column nr (0-7) - pads only \; 3 (symbol)
button name \; 4 (float) note on/off nr (pads) \; 5 (float) velocity
(pads) \; 6 (float) cc value (buttons) \; 7 (float) cc nr (buttons)
\;;
#X text 550 329 INLETS (left-to-right) \; \; 1 (float) pad/button nr
(1-98 - bottom-top / left-right) \; --(list) button+color (up till
98 per msg) \; --(symbol) button name \; METHODS \; -- "daw_mode" -
to activate DAW mode (old InControl) \; -- "mode" to set LEDs mode
- uses float (0-2) or symbols ('static' \, 'flash' \, 'pulse') \; --
"column" to light up columns - uses float (0-7) \; -- "row" to light
up rows - uses float (0-7) \; -- "setall" to light up all LEDs - float
(0-127) \; -- "clear" to clear the surface \; -- "text" to display
text on the surface - uses symbol for actual text \, float for loop
off/on and float for speed (1-7) \; -- "text_stop" to stop displaying
text on the surface \; -- "rgb" - elem_id+R+G+B (RGB in a range 0-127)
- this can be repeated up till 81 times in the same list \; \; 2 (float)
color from color table (0-127) \;;
#X text 243 244 select LP Mini MIDI Port \; (MIDI 2 - in and out) \;
;
#X obj 215 537 COLORS;
#X obj 495 42 declare -path r_cycle;
#X text 841 51 Copyright 2019-2020 Focusrite Audio Engineering Limited.
;
#X text 872 173 http://www.apache.org/licenses/LICENSE-2.0;
#X text 842 81 Licensed under the Apache License \, Version 2 (the
"License") \; you may not use this file except in compliance with the
License.;
#X text 842 138 You may obtain a copy of the License at;
#X text 842 203 Unless required by applicable law or agreed to in writing
\, software distributed under the License is distributed on an "AS
IS" BASIS \, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND \, either
express or implied.;
#X text 842 259 See the License for the specific language governing
permissions and limitations under the License.;
#X connect 9 0 47 0;
#X connect 10 0 47 1;
#X connect 10 0 55 0;
#X connect 11 0 50 0;
#X connect 12 0 13 0;
#X connect 13 0 50 0;
#X connect 14 0 15 0;
#X connect 15 0 50 0;
#X connect 16 0 17 0;
#X connect 17 0 50 0;
#X connect 18 0 19 0;
#X connect 19 0 50 0;
#X connect 20 0 19 0;
#X connect 21 0 19 0;
#X connect 22 0 19 0;
#X connect 30 0 40 0;
#X connect 31 0 40 1;
#X connect 32 0 40 2;
#X connect 33 0 51 0;
#X connect 34 0 51 0;
#X connect 35 0 30 0;
#X connect 37 0 47 0;
#X connect 38 0 47 0;
#X connect 39 0 47 0;
#X connect 40 0 33 0;
#X connect 42 0 44 0;
#X connect 43 0 46 0;
#X connect 44 0 51 0;
#X connect 45 0 46 0;
#X connect 46 0 2 0;
#X connect 46 1 3 0;
#X connect 46 2 4 0;
#X connect 46 3 5 0;
#X connect 46 4 6 0;
#X connect 46 5 7 0;
#X connect 46 6 8 0;
#X connect 48 0 50 0;
#X connect 49 0 47 0;
#X connect 55 0 27 0;
#X connect 55 1 28 0;
#X connect 55 2 29 0;