{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 8, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", "rect" : [ 36.0, 66.0, 1085.0, 699.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-3", "linecount" : 5, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 113.0, 86.0, 251.0, 75.0 ], "text" : "<= does fill a 2x2x3 Matrix inside c-external: testexternal and save the Matrix to brightnessTest.jxf file\noutputs values to console when Patcher is loaded." } } , { "box" : { "id" : "obj-45", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, "patching_rect" : [ 42.0, 34.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "bang" ], "patching_rect" : [ 42.0, 144.0, 42.0, 22.0 ], "text" : "t b b b" } } , { "box" : { "id" : "obj-23", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 42.0, 86.0, 58.0, 22.0 ], "text" : "loadbang" } } , { "box" : { "id" : "obj-19", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 173.5, 225.0, 52.0, 22.0 ], "text" : "fillmatrix" } } , { "box" : { "id" : "obj-41", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "int" ], "patching_rect" : [ 746.0, 347.0, 29.5, 22.0 ], "text" : "t i i" } } , { "box" : { "id" : "obj-40", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "int" ], "patching_rect" : [ 652.0, 347.0, 29.5, 22.0 ], "text" : "t i i" } } , { "box" : { "id" : "obj-35", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "int" ], "patching_rect" : [ 567.0, 354.0, 29.5, 22.0 ], "text" : "t i i" } } , { "box" : { "id" : "obj-33", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 991.0, 471.0, 62.0, 22.0 ], "text" : "prepend y" } } , { "box" : { "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 922.0, 471.0, 62.0, 22.0 ], "text" : "prepend x" } } , { "box" : { "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 821.0, 471.0, 93.0, 22.0 ], "text" : "prepend frames" } } , { "box" : { "id" : "obj-25", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 364.0, 27.0, 304.0, 34.0 ], "text" : "read back matrix brightnessTest.jxf to patcher Matrix =>\nand outputs Matrix Values with print object", "textcolor" : [ 0.427450980392157, 0.890196078431372, 0.043137254901961, 1.0 ] } } , { "box" : { "id" : "obj-21", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "patching_rect" : [ 575.0, 591.0, 136.0, 22.0 ], "text" : "select brightnessTest.jxf" } } , { "box" : { "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 575.0, 551.0, 63.0, 22.0 ], "text" : "route read" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 567.0, 235.0, 29.5, 22.0 ], "text" : "/ 4" } } , { "box" : { "id" : "obj-43", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 567.0, 315.0, 50.0, 22.0 ] } } , { "box" : { "id" : "obj-39", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], "patching_rect" : [ 564.0, 89.0, 43.0, 22.0 ], "text" : "Uzi 12" } } , { "box" : { "id" : "obj-38", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "bang" ], "patching_rect" : [ 564.0, 124.0, 42.0, 22.0 ], "text" : "t b b b" } } , { "box" : { "id" : "obj-31", "maxclass" : "newobj", "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], "patching_rect" : [ 567.0, 196.0, 74.0, 22.0 ], "text" : "counter 0 11" } } , { "box" : { "id" : "obj-26", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 691.0, 235.0, 50.0, 22.0 ] } } , { "box" : { "id" : "obj-24", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 746.0, 315.0, 50.0, 22.0 ] } } , { "box" : { "id" : "obj-22", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 652.0, 315.0, 50.0, 22.0 ] } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "int", "int" ], "patching_rect" : [ 651.0, 235.0, 29.5, 22.0 ], "text" : "t i i" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 691.0, 279.0, 29.5, 22.0 ], "text" : "/ 2" } } , { "box" : { "id" : "obj-17", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 651.0, 279.0, 29.5, 22.0 ], "text" : "% 2" } } , { "box" : { "id" : "obj-16", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, "patching_rect" : [ 670.0, 25.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 5, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], "patching_rect" : [ 651.0, 196.0, 69.0, 22.0 ], "text" : "counter 0 3" } } , { "box" : { "id" : "obj-42", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 731.0, 316.0, 26.0, 20.0 ], "text" : "y:" } } , { "box" : { "id" : "obj-34", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 633.0, 316.0, 24.0, 20.0 ], "text" : "x:" } } , { "box" : { "id" : "obj-27", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 521.0, 316.0, 64.0, 20.0 ], "text" : "frames:" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-36", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 803.0, 110.0, 129.0, 22.0 ], "text" : "read brightnessTest.jxf" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-37", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "jit_matrix", "" ], "patching_rect" : [ 539.0, 507.0, 133.0, 22.0 ], "text" : "jit.matrix 1 float32 2 2 3" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 539.0, 454.0, 102.0, 22.0 ], "text" : "pack getcell 0 0 0" } } , { "box" : { "id" : "obj-32", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 746.0, 614.0, 76.0, 22.0 ], "text" : "print getcells" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-65", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 53.5, 225.0, 91.0, 22.0 ], "text" : "savematrices 0" } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-70", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 53.5, 326.0, 314.0, 22.0 ], "text" : "testexternal 1 char 100 100 @rows 2 @cols 2 @frames 3" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-20", 0 ], "order" : 1, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "order" : 0, "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-43", 0 ], "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-21", 0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "midpoints" : [ 628.5, 585.5, 755.5, 585.5 ], "source" : [ "obj-14", 1 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-36", 0 ], "midpoints" : [ 679.5, 94.0, 812.5, 94.0 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "source" : [ "obj-17", 0 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "midpoints" : [ 700.5, 308.0, 755.5, 308.0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-70", 0 ], "midpoints" : [ 183.0, 286.5, 63.0, 286.5 ], "source" : [ "obj-19", 0 ] } } , { "patchline" : { "destination" : [ "obj-17", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "midpoints" : [ 671.0, 268.0, 700.5, 268.0 ], "source" : [ "obj-20", 1 ] } } , { "patchline" : { "destination" : [ "obj-39", 0 ], "midpoints" : [ 584.5, 641.0, 479.166666666666742, 641.0, 479.166666666666742, 79.0, 573.5, 79.0 ], "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-41", 0 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-16", 0 ], "midpoints" : [ 51.5, 194.0, 27.0, 194.0, 27.0, 12.0, 679.5, 12.0 ], "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "midpoints" : [ 74.5, 191.0, 183.0, 191.0 ], "source" : [ "obj-30", 2 ] } } , { "patchline" : { "destination" : [ "obj-65", 0 ], "source" : [ "obj-30", 1 ] } } , { "patchline" : { "destination" : [ "obj-10", 0 ], "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "source" : [ "obj-33", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 1 ], "source" : [ "obj-35", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "midpoints" : [ 587.0, 407.5, 830.5, 407.5 ], "source" : [ "obj-35", 1 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "midpoints" : [ 812.5, 491.0, 548.5, 491.0 ], "source" : [ "obj-36", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "source" : [ "obj-37", 1 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "midpoints" : [ 596.5, 171.0, 660.5, 171.0 ], "source" : [ "obj-38", 2 ] } } , { "patchline" : { "destination" : [ "obj-15", 0 ], "midpoints" : [ 573.5, 161.0, 494.0, 161.0, 494.0, 439.0, 548.5, 439.0 ], "source" : [ "obj-38", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "midpoints" : [ 585.0, 171.0, 576.5, 171.0 ], "source" : [ "obj-38", 1 ] } } , { "patchline" : { "destination" : [ "obj-38", 0 ], "source" : [ "obj-39", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 2 ], "midpoints" : [ 661.5, 380.5, 603.833333333333371, 380.5 ], "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "midpoints" : [ 672.0, 396.0, 931.5, 396.0 ], "source" : [ "obj-40", 1 ] } } , { "patchline" : { "destination" : [ "obj-15", 3 ], "midpoints" : [ 755.5, 385.5, 631.5, 385.5 ], "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-33", 0 ], "midpoints" : [ 766.0, 391.0, 1000.5, 391.0 ], "source" : [ "obj-41", 1 ] } } , { "patchline" : { "destination" : [ "obj-35", 0 ], "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-23", 0 ], "source" : [ "obj-45", 0 ] } } , { "patchline" : { "destination" : [ "obj-70", 0 ], "source" : [ "obj-65", 0 ] } } ], "dependency_cache" : [ { "name" : "testexternal.mxe64", "type" : "mx64" } ], "autosave" : 0 } }