github.com/256dpi/max-go@v0.7.0/example/test.maxpat (about) 1 { 2 "patcher" : { 3 "fileversion" : 1, 4 "appversion" : { 5 "major" : 8, 6 "minor" : 6, 7 "revision" : 2, 8 "architecture" : "x64", 9 "modernui" : 1 10 } 11 , 12 "classnamespace" : "box", 13 "rect" : [ 782.0, 352.0, 946.0, 684.0 ], 14 "bglocked" : 0, 15 "openinpresentation" : 0, 16 "default_fontsize" : 12.0, 17 "default_fontface" : 0, 18 "default_fontname" : "Arial", 19 "gridonopen" : 1, 20 "gridsize" : [ 15.0, 15.0 ], 21 "gridsnaponopen" : 1, 22 "objectsnaponopen" : 1, 23 "statusbarvisible" : 2, 24 "toolbarvisible" : 1, 25 "lefttoolbarpinned" : 0, 26 "toptoolbarpinned" : 0, 27 "righttoolbarpinned" : 0, 28 "bottomtoolbarpinned" : 0, 29 "toolbars_unpinned_last_save" : 0, 30 "tallnewobj" : 0, 31 "boxanimatetime" : 200, 32 "enablehscroll" : 1, 33 "enablevscroll" : 1, 34 "devicewidth" : 0.0, 35 "description" : "", 36 "digest" : "", 37 "tags" : "", 38 "style" : "", 39 "subpatcher_template" : "", 40 "assistshowspatchername" : 0, 41 "boxes" : [ { 42 "box" : { 43 "id" : "obj-5", 44 "maxclass" : "button", 45 "numinlets" : 1, 46 "numoutlets" : 1, 47 "outlettype" : [ "bang" ], 48 "parameter_enable" : 0, 49 "patching_rect" : [ 381.0, 347.0, 24.0, 24.0 ] 50 } 51 52 } 53 , { 54 "box" : { 55 "id" : "obj-15", 56 "maxclass" : "message", 57 "numinlets" : 2, 58 "numoutlets" : 1, 59 "outlettype" : [ "" ], 60 "patching_rect" : [ 163.0, 234.0, 48.0, 22.0 ], 61 "text" : "dblclick" 62 } 63 64 } 65 , { 66 "box" : { 67 "id" : "obj-16", 68 "maxclass" : "message", 69 "numinlets" : 2, 70 "numoutlets" : 1, 71 "outlettype" : [ "" ], 72 "patching_rect" : [ 221.0, 234.0, 35.0, 22.0 ], 73 "text" : "bang" 74 } 75 76 } 77 , { 78 "box" : { 79 "id" : "obj-14", 80 "maxclass" : "newobj", 81 "numinlets" : 1, 82 "numoutlets" : 0, 83 "patching_rect" : [ 285.0, 414.0, 32.0, 22.0 ], 84 "presentation" : 1, 85 "presentation_rect" : [ 0.0, 0.0, 100.0, 22.0 ], 86 "text" : "print" 87 } 88 89 } 90 , { 91 "box" : { 92 "id" : "obj-13", 93 "maxclass" : "message", 94 "numinlets" : 2, 95 "numoutlets" : 1, 96 "outlettype" : [ "" ], 97 "patching_rect" : [ 331.0, 414.0, 288.0, 22.0 ], 98 "text" : "bang" 99 } 100 101 } 102 , { 103 "box" : { 104 "id" : "obj-11", 105 "maxclass" : "message", 106 "numinlets" : 2, 107 "numoutlets" : 1, 108 "outlettype" : [ "" ], 109 "patching_rect" : [ 391.0, 287.0, 41.0, 22.0 ], 110 "text" : "cool 1" 111 } 112 113 } 114 , { 115 "box" : { 116 "id" : "obj-12", 117 "maxclass" : "message", 118 "numinlets" : 2, 119 "numoutlets" : 1, 120 "outlettype" : [ "" ], 121 "patching_rect" : [ 451.0, 287.0, 29.5, 22.0 ], 122 "text" : "42" 123 } 124 125 } 126 , { 127 "box" : { 128 "id" : "obj-10", 129 "maxclass" : "number", 130 "numinlets" : 1, 131 "numoutlets" : 2, 132 "outlettype" : [ "", "bang" ], 133 "parameter_enable" : 0, 134 "patching_rect" : [ 316.0, 287.0, 50.0, 22.0 ] 135 } 136 137 } 138 , { 139 "box" : { 140 "id" : "obj-2", 141 "maxclass" : "message", 142 "numinlets" : 2, 143 "numoutlets" : 1, 144 "outlettype" : [ "" ], 145 "patching_rect" : [ 541.0, 234.0, 47.0, 22.0 ], 146 "text" : "list 1 1." 147 } 148 149 } 150 , { 151 "box" : { 152 "id" : "obj-9", 153 "maxclass" : "message", 154 "numinlets" : 2, 155 "numoutlets" : 1, 156 "outlettype" : [ "" ], 157 "patching_rect" : [ 600.0, 234.0, 31.0, 22.0 ], 158 "text" : "int 1" 159 } 160 161 } 162 , { 163 "box" : { 164 "id" : "obj-8", 165 "maxclass" : "message", 166 "numinlets" : 2, 167 "numoutlets" : 1, 168 "outlettype" : [ "" ], 169 "patching_rect" : [ 505.0, 234.0, 29.5, 22.0 ], 170 "text" : "1. 1" 171 } 172 173 } 174 , { 175 "box" : { 176 "floatoutput" : 1, 177 "id" : "obj-7", 178 "maxclass" : "slider", 179 "numinlets" : 1, 180 "numoutlets" : 1, 181 "outlettype" : [ "" ], 182 "parameter_enable" : 0, 183 "patching_rect" : [ 391.0, 114.0, 20.0, 140.0 ] 184 } 185 186 } 187 , { 188 "box" : { 189 "id" : "obj-6", 190 "maxclass" : "button", 191 "numinlets" : 1, 192 "numoutlets" : 1, 193 "outlettype" : [ "bang" ], 194 "parameter_enable" : 0, 195 "patching_rect" : [ 271.0, 234.0, 24.0, 24.0 ] 196 } 197 198 } 199 , { 200 "box" : { 201 "id" : "obj-4", 202 "maxclass" : "number", 203 "numinlets" : 1, 204 "numoutlets" : 2, 205 "outlettype" : [ "", "bang" ], 206 "parameter_enable" : 0, 207 "patching_rect" : [ 316.0, 234.0, 50.0, 22.0 ] 208 } 209 210 } 211 , { 212 "box" : { 213 "id" : "obj-3", 214 "maxclass" : "message", 215 "numinlets" : 2, 216 "numoutlets" : 1, 217 "outlettype" : [ "" ], 218 "patching_rect" : [ 436.0, 234.0, 54.0, 22.0 ], 219 "text" : "hello 3 4" 220 } 221 222 } 223 , { 224 "box" : { 225 "id" : "obj-1", 226 "maxclass" : "newobj", 227 "numinlets" : 5, 228 "numoutlets" : 5, 229 "outlettype" : [ "signal", "signal", "", "float", "bang" ], 230 "patching_rect" : [ 271.0, 347.0, 91.0, 22.0 ], 231 "text" : "maxgo foo 1.23" 232 } 233 234 } 235 ], 236 "lines" : [ { 237 "patchline" : { 238 "destination" : [ "obj-13", 1 ], 239 "order" : 0, 240 "source" : [ "obj-1", 2 ] 241 } 242 243 } 244 , { 245 "patchline" : { 246 "destination" : [ "obj-14", 0 ], 247 "order" : 1, 248 "source" : [ "obj-1", 2 ] 249 } 250 251 } 252 , { 253 "patchline" : { 254 "destination" : [ "obj-5", 0 ], 255 "source" : [ "obj-1", 4 ] 256 } 257 258 } 259 , { 260 "patchline" : { 261 "destination" : [ "obj-1", 3 ], 262 "source" : [ "obj-10", 0 ] 263 } 264 265 } 266 , { 267 "patchline" : { 268 "destination" : [ "obj-1", 3 ], 269 "source" : [ "obj-11", 0 ] 270 } 271 272 } 273 , { 274 "patchline" : { 275 "destination" : [ "obj-1", 3 ], 276 "source" : [ "obj-12", 0 ] 277 } 278 279 } 280 , { 281 "patchline" : { 282 "destination" : [ "obj-1", 2 ], 283 "source" : [ "obj-15", 0 ] 284 } 285 286 } 287 , { 288 "patchline" : { 289 "destination" : [ "obj-1", 2 ], 290 "source" : [ "obj-16", 0 ] 291 } 292 293 } 294 , { 295 "patchline" : { 296 "destination" : [ "obj-1", 2 ], 297 "source" : [ "obj-2", 0 ] 298 } 299 300 } 301 , { 302 "patchline" : { 303 "destination" : [ "obj-1", 2 ], 304 "source" : [ "obj-3", 0 ] 305 } 306 307 } 308 , { 309 "patchline" : { 310 "destination" : [ "obj-1", 2 ], 311 "source" : [ "obj-4", 0 ] 312 } 313 314 } 315 , { 316 "patchline" : { 317 "destination" : [ "obj-1", 2 ], 318 "source" : [ "obj-6", 0 ] 319 } 320 321 } 322 , { 323 "patchline" : { 324 "destination" : [ "obj-1", 2 ], 325 "source" : [ "obj-7", 0 ] 326 } 327 328 } 329 , { 330 "patchline" : { 331 "destination" : [ "obj-1", 2 ], 332 "source" : [ "obj-8", 0 ] 333 } 334 335 } 336 , { 337 "patchline" : { 338 "destination" : [ "obj-1", 2 ], 339 "source" : [ "obj-9", 0 ] 340 } 341 342 } 343 ], 344 "dependency_cache" : [ { 345 "name" : "maxgo.mxo", 346 "type" : "iLaX" 347 } 348 ], 349 "autosave" : 0 350 } 351 352 }