{ "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "do something within a range of numbers,\notherwise do something else", "linecount" : 2, "fontname" : "Arial", "id" : "obj-34", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 886.0, 316.0, 229.0, 35.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "button", "id" : "obj-33", "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 946.0, 289.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "button", "id" : "obj-32", "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 886.0, 289.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "split 100 150", "fontname" : "Arial", "id" : "obj-28", "numoutlets" : 2, "outlettype" : [ "int", "int" ], "fontsize" : 12.0, "patching_rect" : [ 886.0, 260.5, 79.0, 20.0 ], "numinlets" : 3 } } , { "box" : { "maxclass" : "button", "id" : "obj-27", "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 715.5, 316.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "button", "id" : "obj-24", "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 694.5, 316.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "select 0 1", "fontname" : "Arial", "id" : "obj-16", "numoutlets" : 3, "outlettype" : [ "bang", "bang", "" ], "fontsize" : 12.0, "patching_rect" : [ 694.5, 286.0, 62.0, 20.0 ], "numinlets" : 3 } } , { "box" : { "maxclass" : "comment", "text" : "do something when number \ngreater than 127 received,\notherwise do something else", "linecount" : 3, "fontname" : "Arial", "id" : "obj-14", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 694.5, 341.0, 166.0, 48.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "> 127", "fontname" : "Arial", "id" : "obj-13", "numoutlets" : 1, "outlettype" : [ "int" ], "fontsize" : 12.0, "patching_rect" : [ 694.5, 260.5, 41.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "button", "id" : "obj-11", "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 481.0, 300.0, 20.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "do something special when 255\nis received; often used to 'bang' a message", "linecount" : 3, "fontname" : "Arial", "id" : "obj-7", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 481.0, 325.0, 190.0, 48.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "select 255", "fontname" : "Arial", "id" : "obj-2", "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontsize" : 12.0, "patching_rect" : [ 481.0, 260.5, 65.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "comment", "text" : "key number", "fontname" : "Arial", "id" : "obj-5", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 39.0, 526.0, 73.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "number", "fontname" : "Arial", "id" : "obj-1", "parameter_enable" : 0, "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "triscale" : 0.9, "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "patching_rect" : [ 113.0, 526.0, 37.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "fullscreen $1", "fontname" : "Arial", "id" : "obj-19", "numoutlets" : 1, "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 161.0, 526.0, 88.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "toggle", "id" : "obj-20", "parameter_enable" : 0, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 131.0, 503.0, 15.0, 15.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "sel 27", "fontname" : "Arial", "id" : "obj-21", "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontsize" : 12.0, "patching_rect" : [ 131.0, 472.0, 44.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "key", "fontname" : "Arial", "id" : "obj-22", "numoutlets" : 4, "outlettype" : [ "int", "int", "int", "int" ], "fontsize" : 12.0, "patching_rect" : [ 113.0, 444.0, 47.0, 20.0 ], "numinlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "Esc key (27) Toggles fullscreen", "linecount" : 2, "fontname" : "Arial", "id" : "obj-40", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 17.0, 468.0, 105.0, 34.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "adjust as needed if catching too much or too little data", "fontname" : "Arial", "id" : "obj-63", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 469.0, 76.0, 297.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "number", "fontname" : "Arial", "id" : "obj-64", "parameter_enable" : 0, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "patching_rect" : [ 417.5, 76.0, 50.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "print", "fontname" : "Arial", "id" : "obj-62", "numoutlets" : 1, "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 337.0, 111.0, 32.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "comment", "text" : "metronome object -argument is duration in milliseconds ", "fontname" : "Arial", "id" : "obj-43", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 455.0, 111.0, 317.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Toggle object\n (start / stop)", "linecount" : 2, "fontname" : "Arial", "id" : "obj-15", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 296.0, 68.0, 86.0, 35.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 100", "fontname" : "Arial", "id" : "obj-44", "numoutlets" : 1, "outlettype" : [ "bang" ], "fontsize" : 12.0, "patching_rect" : [ 384.0, 111.0, 69.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "toggle", "id" : "obj-3", "parameter_enable" : 0, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 384.0, 76.0, 19.0, 19.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "number", "fontname" : "Arial", "id" : "obj-4", "parameter_enable" : 0, "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontsize" : 12.0, "triscale" : 0.9, "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "patching_rect" : [ 384.0, 206.0, 70.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Arguments to \"serial\" object are: \n1. port name or letter abbreviation for port\n2. data rate (default 4800);\n", "linecount" : 3, "fontname" : "Arial", "id" : "obj-45", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 468.5, 141.0, 282.0, 48.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "serial a 9600", "fontname" : "Arial", "id" : "obj-46", "numoutlets" : 2, "outlettype" : [ "int", "" ], "fontsize" : 12.0, "color" : [ 1.0, 0.890196, 0.090196, 1.0 ], "patching_rect" : [ 384.0, 153.0, 80.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Scale input (0-255) to range of -1. to 1.\n(normal speed reverse to normal speed forwared", "linecount" : 2, "fontname" : "Arial", "id" : "obj-47", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 39.0, 253.0, 271.0, 35.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Open (Load) a\nmedia file: \n.mov .wav .aiff", "linecount" : 3, "fontname" : "Arial", "id" : "obj-49", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 79.0, 341.0, 95.0, 48.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "scale 0 255 -1. 1.", "fontname" : "Arial", "id" : "obj-50", "numoutlets" : 1, "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 313.0, 260.5, 113.0, 20.0 ], "numinlets" : 6 } } , { "box" : { "maxclass" : "message", "text" : "-1,", "fontname" : "Arial", "id" : "obj-23", "numoutlets" : 1, "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 242.0, 353.0, 23.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "1.", "fontname" : "Arial", "id" : "obj-51", "numoutlets" : 1, "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 220.0, 353.0, 19.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "flonum", "fontname" : "Arial", "id" : "obj-25", "parameter_enable" : 0, "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "fontsize" : 12.0, "triscale" : 0.9, "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "patching_rect" : [ 267.0, 353.0, 40.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "rate $1", "fontname" : "Arial", "id" : "obj-26", "numoutlets" : 1, "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 220.0, 379.0, 53.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "button", "id" : "obj-52", "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 289.0, 489.0, 15.0, 15.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "Play", "fontname" : "Arial", "id" : "obj-53", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 336.0, 447.0, 37.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "metro 40", "fontname" : "Arial", "id" : "obj-54", "numoutlets" : 1, "outlettype" : [ "bang" ], "fontsize" : 12.0, "patching_rect" : [ 321.0, 466.0, 56.0, 20.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "toggle", "id" : "obj-55", "parameter_enable" : 0, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 318.0, 444.0, 15.0, 15.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "read", "fontname" : "Arial", "id" : "obj-56", "numoutlets" : 1, "outlettype" : [ "" ], "fontsize" : 12.0, "patching_rect" : [ 169.0, 356.0, 33.0, 18.0 ], "numinlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "jit.window Movie 5 41 325 281", "fontname" : "Arial", "id" : "obj-57", "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontsize" : 12.0, "color" : [ 1.0, 0.890196, 0.090196, 1.0 ], "patching_rect" : [ 271.0, 549.0, 169.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "jit.qt.movie 320 240", "fontname" : "Arial", "id" : "obj-58", "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "fontsize" : 12.0, "color" : [ 1.0, 0.890196, 0.090196, 1.0 ], "patching_rect" : [ 271.0, 515.0, 113.0, 20.0 ], "numinlets" : 1 } } , { "box" : { "maxclass" : "panel", "id" : "obj-59", "bgcolor" : [ 0.498039, 1.0, 1.0, 1.0 ], "numoutlets" : 0, "rounded" : 0, "patching_rect" : [ 265.0, 508.0, 196.0, 67.0 ], "ignoreclick" : 1, "numinlets" : 1 } } , { "box" : { "maxclass" : "panel", "id" : "obj-60", "bgcolor" : [ 1.0, 1.0, 0.498039, 1.0 ], "numoutlets" : 0, "rounded" : 0, "patching_rect" : [ 313.0, 432.0, 67.0, 70.0 ], "ignoreclick" : 1, "numinlets" : 1 } } , { "box" : { "maxclass" : "panel", "id" : "obj-61", "bgcolor" : [ 0.917647, 0.87451, 0.917647, 1.0 ], "numoutlets" : 0, "rounded" : 0, "patching_rect" : [ 163.0, 337.0, 156.0, 78.0 ], "ignoreclick" : 1, "numinlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "data received", "fontname" : "Arial", "id" : "obj-18", "numoutlets" : 0, "fontsize" : 12.0, "patching_rect" : [ 458.5, 206.0, 83.0, 20.0 ], "numinlets" : 1 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-64", 0 ], "destination" : [ "obj-44", 1 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-62", 0 ], "destination" : [ "obj-46", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-58", 0 ], "destination" : [ "obj-57", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-56", 0 ], "destination" : [ "obj-58", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-55", 0 ], "destination" : [ "obj-54", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-54", 0 ], "destination" : [ "obj-52", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-52", 0 ], "destination" : [ "obj-58", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-51", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-50", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-46", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-44", 0 ], "destination" : [ "obj-46", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-50", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-44", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-28", 1 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-58", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-25", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-23", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-57", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-16", 1 ], "destination" : [ "obj-27", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "disabled" : 0 } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "disabled" : 0 } } ], "appversion" : { "major" : 6, "minor" : 0, "revision" : 3 } }