-
Notifications
You must be signed in to change notification settings - Fork 8
/
COLORS_NO_GUI.pd
121 lines (121 loc) · 3.2 KB
/
COLORS_NO_GUI.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
#N canvas 618 35 662 391 10;
#N canvas 0 23 701 656 CORE 0;
#X obj 79 21 loadbang;
#X msg 79 42 read ./colors.txt;
#X obj 296 57 min 127;
#X obj 296 78 max 0;
#X msg 296 139 set \$1;
#X obj 296 170 s \$0_to_g_color;
#X obj 296 99 t f f;
#X obj 409 192 unpack 0 0 0;
#X obj 443 213 / 63;
#X obj 478 213 / 63;
#X obj 409 213 / 63;
#X obj 409 234 * 255;
#X obj 409 255 int;
#X floatatom 409 276 5 0 0 0 - - -;
#X obj 446 234 * 255;
#X obj 446 255 int;
#X floatatom 446 276 5 0 0 0 - - -;
#X obj 486 234 * 255;
#X obj 486 255 int;
#X floatatom 486 276 5 0 0 0 - - -;
#X obj 409 171 text get \$0_COLORS;
#X obj 79 87 text define \$0_COLORS;
#X obj 486 378 t b f;
#X obj 420 436 +;
#X obj 420 461 t b f;
#X obj 420 492 +;
#X obj 343 355 * -65536;
#X obj 420 356 * -256;
#X obj 486 356 * -1;
#X obj 420 523 - 1;
#X obj 409 296 t f f;
#X obj 446 296 t f f;
#X obj 486 296 t f f;
#X obj 125 505 outlet;
#X obj 175 505 outlet;
#X obj 225 505 outlet;
#X obj 420 544 outlet;
#X obj 296 29 inlet;
#X connect 0 0 1 0;
#X connect 1 0 21 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 4 0 5 0;
#X connect 6 0 4 0;
#X connect 6 1 20 0;
#X connect 7 0 10 0;
#X connect 7 1 8 0;
#X connect 7 2 9 0;
#X connect 8 0 14 0;
#X connect 9 0 17 0;
#X connect 10 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 13 0;
#X connect 13 0 30 0;
#X connect 14 0 15 0;
#X connect 15 0 16 0;
#X connect 16 0 31 0;
#X connect 17 0 18 0;
#X connect 18 0 19 0;
#X connect 19 0 32 0;
#X connect 20 0 7 0;
#X connect 22 0 23 0;
#X connect 22 1 23 1;
#X connect 23 0 24 0;
#X connect 24 0 25 0;
#X connect 24 1 25 1;
#X connect 25 0 29 0;
#X connect 26 0 25 0;
#X connect 27 0 23 0;
#X connect 28 0 22 0;
#X connect 29 0 36 0;
#X connect 30 0 26 0;
#X connect 30 1 33 0;
#X connect 31 0 27 0;
#X connect 31 1 34 0;
#X connect 32 0 28 0;
#X connect 32 1 35 0;
#X connect 37 0 2 0;
#X restore 35 142 pd CORE;
#X obj 35 195 outlet;
#X obj 85 195 outlet;
#X obj 135 195 outlet;
#X obj 110 52 inlet;
#X text 106 27 color nr (0-127);
#X obj 36 40 loadbang;
#X msg 36 61 0;
#X obj 185 195 outlet;
#X text 39 224 RGB values + Pd GUI color;
#X obj 36 91 route float print_outlets;
#X obj 109 115 s \$0_print_outlets;
#X obj 286 25 r \$0_print_outlets;
#X obj 286 80 print -n;
#X msg 286 48 COLORS_NO_GUI OUTLETS \, 1: R value \, 2: G value \,
3: B value \, 4: Pd GUI color \;;
#X text 277 141 Copyright 2019-2020 Focusrite Audio Engineering Limited.
;
#X text 308 263 http://www.apache.org/licenses/LICENSE-2.0;
#X text 278 171 Licensed under the Apache License \, Version 2 (the
"License") \; you may not use this file except in compliance with the
License.;
#X text 278 228 You may obtain a copy of the License at;
#X text 278 293 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 278 349 See the License for the specific language governing
permissions and limitations under the License.;
#X connect 0 0 1 0;
#X connect 0 1 2 0;
#X connect 0 2 3 0;
#X connect 0 3 8 0;
#X connect 4 0 10 0;
#X connect 6 0 7 0;
#X connect 7 0 10 0;
#X connect 10 0 0 0;
#X connect 10 1 11 0;
#X connect 12 0 14 0;
#X connect 14 0 13 0;
#X coords 0 391 1 390 115 105 0;