public
Description: max/msp abstractions & etc that others might find useful
Clone URL: git://github.com/mattly/maxlib.git
use the new ledgrid for blinkenlights and led messages
mattly (author)
Mon May 26 12:55:40 -0700 2008
commit  321043e6392074cbc41710bb36e583970219c9bc
tree    231148df5d3fe0d72ee0a9ea4f73b2db13158e80
parent  b70604cfab18ddab016646e42c9f74c7fe86db79
...
1
2
3
4
 
5
6
7
 
8
9
10
...
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
...
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
...
88
89
90
 
 
91
92
93
94
 
95
96
97
 
98
99
100
...
102
103
104
 
 
105
106
107
108
109
110
 
111
112
113
...
115
116
117
 
 
118
119
120
121
 
122
123
124
 
125
126
127
128
129
130
 
131
132
133
 
134
135
136
137
138
...
141
142
143
144
 
145
146
147
...
149
150
151
152
 
153
154
155
...
158
159
160
161
162
 
 
163
164
165
...
167
168
169
170
171
 
 
 
 
 
 
 
 
 
 
 
172
173
174
...
177
178
179
180
 
181
182
183
...
185
186
187
188
189
 
 
190
191
192
...
194
195
196
197
198
 
 
199
200
201
...
203
204
205
206
207
 
 
208
209
210
...
1
2
3
 
4
5
6
 
7
8
9
10
...
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
...
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
...
102
103
104
105
106
107
108
 
 
109
110
 
 
111
112
113
114
...
116
117
118
119
120
121
122
 
123
 
 
124
125
126
127
...
129
130
131
132
133
134
135
 
 
136
137
 
 
138
139
140
141
142
143
144
145
146
147
 
148
149
 
150
151
152
...
155
156
157
 
158
159
160
161
...
163
164
165
 
166
167
168
169
...
172
173
174
 
 
175
176
177
178
179
...
181
182
183
 
 
184
185
186
187
188
189
190
191
192
193
194
195
196
197
...
200
201
202
 
203
204
205
206
...
208
209
210
 
 
211
212
213
214
215
...
217
218
219
 
 
220
221
222
223
224
...
226
227
228
 
 
229
230
231
232
233
0
@@ -1,10 +1,10 @@
0
 {
0
   "patcher" :   {
0
     "fileversion" : 1,
0
- "rect" : [ 649.0, 668.0, 225.0, 326.0 ],
0
+ "rect" : [ 502.0, 712.0, 306.0, 372.0 ],
0
     "bgcolor" : [ 0.933333, 0.933333, 0.933333, 1.0 ],
0
     "bglocked" : 0,
0
- "defrect" : [ 649.0, 668.0, 225.0, 326.0 ],
0
+ "defrect" : [ 502.0, 712.0, 306.0, 372.0 ],
0
     "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
0
     "openinpresentation" : 0,
0
     "default_fontsize" : 12.0,
0
@@ -20,28 +20,28 @@
0
     "boxes" : [       {
0
         "box" :         {
0
           "maxclass" : "newobj",
0
- "text" : "zl join",
0
- "numoutlets" : 2,
0
- "outlettype" : [ "", "" ],
0
- "patching_rect" : [ 20.0, 140.0, 163.0, 21.0 ],
0
- "fontname" : "Luxi Mono Regular",
0
- "id" : "obj-6",
0
- "numinlets" : 2,
0
- "fontsize" : 12.0
0
+ "text" : "sprintf /monome/%s",
0
+ "numinlets" : 1,
0
+ "fontsize" : 12.0,
0
+ "numoutlets" : 1,
0
+ "outlettype" : [ "" ],
0
+ "patching_rect" : [ 20.0, 110.0, 140.0, 21.0 ],
0
+ "id" : "obj-4",
0
+ "fontname" : "Luxi Mono Regular"
0
         }
0
 
0
       }
0
 ,       {
0
         "box" :         {
0
           "maxclass" : "newobj",
0
- "text" : "prepend /monome",
0
- "numoutlets" : 1,
0
- "outlettype" : [ "" ],
0
- "patching_rect" : [ 20.0, 80.0, 119.0, 21.0 ],
0
- "fontname" : "Luxi Mono Regular",
0
- "id" : "obj-4",
0
- "numinlets" : 1,
0
- "fontsize" : 12.0
0
+ "text" : "zl join",
0
+ "numinlets" : 2,
0
+ "fontsize" : 12.0,
0
+ "numoutlets" : 2,
0
+ "outlettype" : [ "", "" ],
0
+ "patching_rect" : [ 20.0, 140.0, 160.0, 21.0 ],
0
+ "id" : "obj-3",
0
+ "fontname" : "Luxi Mono Regular"
0
         }
0
 
0
       }
0
@@ -49,37 +49,51 @@
0
         "box" :         {
0
           "maxclass" : "newobj",
0
           "text" : "zl slice 1",
0
+ "numinlets" : 2,
0
+ "fontsize" : 12.0,
0
           "numoutlets" : 2,
0
           "outlettype" : [ "", "" ],
0
- "patching_rect" : [ 20.0, 50.0, 163.0, 21.0 ],
0
- "fontname" : "Luxi Mono Regular",
0
- "id" : "obj-3",
0
+ "patching_rect" : [ 20.0, 80.0, 160.0, 21.0 ],
0
+ "id" : "obj-1",
0
+ "fontname" : "Luxi Mono Regular"
0
+ }
0
+
0
+ }
0
+, {
0
+ "box" : {
0
+ "maxclass" : "message",
0
+ "text" : "compile",
0
           "numinlets" : 2,
0
- "fontsize" : 12.0
0
+ "fontsize" : 12.0,
0
+ "numoutlets" : 1,
0
+ "outlettype" : [ "" ],
0
+ "patching_rect" : [ 60.0, 10.0, 61.0, 19.0 ],
0
+ "id" : "obj-2",
0
+ "fontname" : "Luxi Mono Regular"
0
         }
0
 
0
       }
0
 ,       {
0
         "box" :         {
0
           "maxclass" : "newobj",
0
- "text" : "js mattly.symjoin /",
0
+ "text" : "js mattly.ledgrid",
0
+ "numinlets" : 1,
0
+ "fontsize" : 12.0,
0
           "numoutlets" : 1,
0
           "outlettype" : [ "" ],
0
- "patching_rect" : [ 20.0, 110.0, 147.0, 21.0 ],
0
- "fontname" : "Luxi Mono Regular",
0
- "id" : "obj-2",
0
- "numinlets" : 2,
0
- "fontsize" : 12.0
0
+ "patching_rect" : [ 20.0, 50.0, 133.0, 21.0 ],
0
+ "id" : "obj-7",
0
+ "fontname" : "Luxi Mono Regular"
0
         }
0
 
0
       }
0
 ,       {
0
         "box" :         {
0
           "maxclass" : "outlet",
0
+ "numinlets" : 1,
0
           "numoutlets" : 0,
0
- "patching_rect" : [ 20.0, 290.0, 25.0, 25.0 ],
0
+ "patching_rect" : [ 20.0, 270.0, 25.0, 25.0 ],
0
           "id" : "obj-42",
0
- "numinlets" : 1,
0
           "comment" : "press messages: col, row, on/off"
0
         }
0
 
0
@@ -88,13 +102,13 @@
0
         "box" :         {
0
           "maxclass" : "newobj",
0
           "text" : "route /monome/press",
0
+ "numinlets" : 1,
0
+ "fontsize" : 12.0,
0
           "numoutlets" : 2,
0
           "outlettype" : [ "", "" ],
0
- "patching_rect" : [ 20.0, 260.0, 147.0, 21.0 ],
0
- "fontname" : "Luxi Mono Regular",
0
+ "patching_rect" : [ 20.0, 240.0, 147.0, 21.0 ],
0
           "id" : "obj-23",
0
- "numinlets" : 1,
0
- "fontsize" : 12.0
0
+ "fontname" : "Luxi Mono Regular"
0
         }
0
 
0
       }
0
@@ -102,12 +116,12 @@
0
         "box" :         {
0
           "maxclass" : "newobj",
0
           "text" : "udpsend localhost 8080",
0
+ "numinlets" : 1,
0
+ "fontsize" : 12.0,
0
           "numoutlets" : 0,
0
           "patching_rect" : [ 20.0, 170.0, 169.0, 21.0 ],
0
- "fontname" : "Luxi Mono Regular",
0
           "id" : "obj-17",
0
- "numinlets" : 1,
0
- "fontsize" : 12.0
0
+ "fontname" : "Luxi Mono Regular"
0
         }
0
 
0
       }
0
@@ -115,24 +129,24 @@
0
         "box" :         {
0
           "maxclass" : "newobj",
0
           "text" : "udpreceive 8000",
0
+ "numinlets" : 1,
0
+ "fontsize" : 12.0,
0
           "numoutlets" : 1,
0
           "outlettype" : [ "" ],
0
- "patching_rect" : [ 20.0, 230.0, 119.0, 21.0 ],
0
- "fontname" : "Luxi Mono Regular",
0
+ "patching_rect" : [ 20.0, 210.0, 119.0, 21.0 ],
0
           "id" : "obj-8",
0
- "numinlets" : 1,
0
- "fontsize" : 12.0
0
+ "fontname" : "Luxi Mono Regular"
0
         }
0
 
0
       }
0
 ,       {
0
         "box" :         {
0
           "maxclass" : "inlet",
0
+ "numinlets" : 0,
0
           "numoutlets" : 1,
0
           "outlettype" : [ "" ],
0
- "patching_rect" : [ 20.0, 20.0, 25.0, 25.0 ],
0
+ "patching_rect" : [ 20.0, 10.0, 25.0, 25.0 ],
0
           "id" : "obj-5",
0
- "numinlets" : 0,
0
           "comment" : "send messages to your monome. typically: led, led_row, led_col, frame, clear"
0
         }
0
 
0
@@ -141,7 +155,7 @@
0
     "lines" : [       {
0
         "patchline" :         {
0
           "source" : [ "obj-4", 0 ],
0
- "destination" : [ "obj-2", 0 ],
0
+ "destination" : [ "obj-3", 0 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
         }
0
@@ -149,7 +163,7 @@
0
       }
0
 ,       {
0
         "patchline" :         {
0
- "source" : [ "obj-3", 0 ],
0
+ "source" : [ "obj-1", 0 ],
0
           "destination" : [ "obj-4", 0 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
@@ -158,8 +172,8 @@
0
       }
0
 ,       {
0
         "patchline" :         {
0
- "source" : [ "obj-23", 0 ],
0
- "destination" : [ "obj-42", 0 ],
0
+ "source" : [ "obj-1", 1 ],
0
+ "destination" : [ "obj-3", 1 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
         }
0
@@ -167,8 +181,17 @@
0
       }
0
 ,       {
0
         "patchline" :         {
0
- "source" : [ "obj-8", 0 ],
0
- "destination" : [ "obj-23", 0 ],
0
+ "source" : [ "obj-3", 0 ],
0
+ "destination" : [ "obj-17", 0 ],
0
+ "hidden" : 0,
0
+ "midpoints" : [ ]
0
+ }
0
+
0
+ }
0
+, {
0
+ "patchline" : {
0
+ "source" : [ "obj-7", 0 ],
0
+ "destination" : [ "obj-1", 0 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
         }
0
@@ -177,7 +200,7 @@
0
 ,       {
0
         "patchline" :         {
0
           "source" : [ "obj-5", 0 ],
0
- "destination" : [ "obj-3", 0 ],
0
+ "destination" : [ "obj-7", 0 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
         }
0
@@ -185,8 +208,8 @@
0
       }
0
 ,       {
0
         "patchline" :         {
0
- "source" : [ "obj-2", 0 ],
0
- "destination" : [ "obj-6", 0 ],
0
+ "source" : [ "obj-8", 0 ],
0
+ "destination" : [ "obj-23", 0 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
         }
0
@@ -194,8 +217,8 @@
0
       }
0
 ,       {
0
         "patchline" :         {
0
- "source" : [ "obj-6", 0 ],
0
- "destination" : [ "obj-17", 0 ],
0
+ "source" : [ "obj-23", 0 ],
0
+ "destination" : [ "obj-42", 0 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
         }
0
@@ -203,8 +226,8 @@
0
       }
0
 ,       {
0
         "patchline" :         {
0
- "source" : [ "obj-3", 1 ],
0
- "destination" : [ "obj-6", 1 ],
0
+ "source" : [ "obj-2", 0 ],
0
+ "destination" : [ "obj-7", 0 ],
0
           "hidden" : 0,
0
           "midpoints" : [ ]
0
         }

Comments

    No one has commented yet.