-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathFROM_LPP3-help.pd
201 lines (201 loc) · 6.64 KB
/
FROM_LPP3-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
#N canvas 24 29 1256 718 10;
#X declare -path ./utils;
#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 54 138 5 0 0 0 row - -;
#X floatatom 69 158 5 0 0 0 column - -;
#X symbolatom 84 179 18 0 0 0 button - -;
#X floatatom 100 198 5 0 0 0 note - -;
#X floatatom 115 218 5 0 0 0 velocity - -;
#X floatatom 130 238 5 0 0 0 polytouch - -;
#X floatatom 146 258 5 0 0 0 aftertouch - -;
#X floatatom 161 278 5 0 0 0 cc_value - -;
#X floatatom 177 298 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-9) - -;
#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-10) - -;
#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 168 112 + 1;
#X obj 128 163 outlet;
#X obj 128 137 + 10;
#X obj 128 82 % 69;
#X connect 0 0 1 0;
#X connect 1 0 6 0;
#X connect 2 0 5 0;
#X connect 2 1 3 0;
#X connect 3 0 1 1;
#X connect 5 0 4 0;
#X connect 6 0 2 0;
#X restore 415 136 pd COUNTER;
#X obj 484 240 sel 0;
#X obj 415 367 TO_LPP3, f 12;
#X obj 108 262 TO_LPP3, f 12;
#X obj 484 212 random 10;
#X obj 415 316 SQUARE;
#X obj 108 194 SQUARE;
#X connect 1 0 9 0;
#X connect 2 0 9 1;
#X connect 3 0 24 0;
#X connect 4 0 3 1;
#X connect 5 0 3 0;
#X connect 6 0 7 0;
#X connect 7 0 24 1;
#X connect 8 0 5 0;
#X connect 8 1 23 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 21 0;
#X connect 14 0 25 1;
#X connect 15 0 25 0;
#X connect 16 0 15 1;
#X connect 17 0 15 0;
#X connect 18 0 22 0;
#X connect 19 0 8 0;
#X connect 20 0 6 0;
#X connect 23 0 20 0;
#X connect 24 0 21 0;
#X connect 25 0 22 0;
#X restore 582 196 pd ANIMATRIX;
#X obj 29 11 cnv 15 155 25 empty empty r_cycle-LPP3 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 obj 495 42 declare -path ./utils;
#X obj 243 276 DEVICE_SELECT;
#X floatatom 163 238 5 0 0 1 note - -;
#X obj 130 137 unpack;
#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 54 71 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 104 90 print_args;
#X obj 61 591 r \$0_to_lp;
#X obj 136 558 s \$0_to_lp;
#X obj 364 610 s \$0_to_lp;
#X msg 37 366 list 35 110 12 115 64 82 61 15 99 120;
#X text 550 330 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 obj 54 111 FROM_LPP3 1 72, f 21;
#X obj 47 617 TO_LPP3, f 12;
#X text 243 244 select LPP3 MIDI Port \; (MIDI 1 - in and out) \;;
#X msg 246 343 rgb 101 127 40 15 56 23 127 100 99 0 127 9;
#X msg 52 474 symbol capture_midi;
#X msg 62 494 symbol custom;
#X text 234 45 OUTLETS (left-to-right) \; \; 1 (flaot) row nr (0-9)
\; 2 (float) column nr (0-7) \; 3 (symbol) button name \; 4 (float)
note on/off nr (pads) \; 5 (float) velocity (pads) \; 6 (float) polytouch
(pads) \; 7 (float) aftertouch (pads) \; 8 (float) cc value (buttons)
\; 9 (float) cc nr (buttons) \;;
#X text 493 13 this because [FROM_LPP3] and \; [TO_LPP3] are in the
'utils' folder \;;
#X text 860 38 Copyright 2019-2020 Focusrite Audio Engineering Limited.
;
#X text 891 160 http://www.apache.org/licenses/LICENSE-2.0;
#X text 861 68 Licensed under the Apache License \, Version 2 (the
"License") \; you may not use this file except in compliance with the
License.;
#X text 861 125 You may obtain a copy of the License at;
#X text 861 190 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 861 246 See the License for the specific language governing
permissions and limitations under the License.;
#X obj 215 537 COLORS;
#X connect 11 0 47 0;
#X connect 12 0 47 1;
#X connect 12 0 60 0;
#X connect 13 0 42 0;
#X connect 14 0 15 0;
#X connect 15 0 42 0;
#X connect 16 0 17 0;
#X connect 17 0 42 0;
#X connect 18 0 19 0;
#X connect 19 0 42 0;
#X connect 20 0 21 0;
#X connect 21 0 42 0;
#X connect 22 0 21 0;
#X connect 23 0 21 0;
#X connect 24 0 21 0;
#X connect 35 0 7 0;
#X connect 35 1 34 0;
#X connect 37 0 39 0;
#X connect 38 0 46 0;
#X connect 39 0 43 0;
#X connect 40 0 46 0;
#X connect 41 0 47 0;
#X connect 44 0 47 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 35 0;
#X connect 46 6 8 0;
#X connect 46 7 9 0;
#X connect 46 8 10 0;
#X connect 49 0 42 0;
#X connect 50 0 47 0;
#X connect 51 0 47 0;
#X connect 60 0 29 0;
#X connect 60 1 30 0;
#X connect 60 2 31 0;