{ "patcher" : { "fileversion" : 1, "rect" : [ 127.0, 50.0, 341.0, 156.0 ], "bglocked" : 0, "defrect" : [ 127.0, 50.0, 341.0, 156.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "slaves", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 0, "id" : "obj-9", "fontname" : "Arial", "patching_rect" : [ 88.0, 72.0, 45.0, 20.0 ] } } , { "box" : { "maxclass" : "comment", "text" : "master", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 0, "id" : "obj-6", "fontname" : "Arial", "patching_rect" : [ 8.0, 72.0, 47.0, 20.0 ] } } , { "box" : { "maxclass" : "comment", "text" : "This demonstrates javascript function \"spreading\". Any js object can register itself as a slave of the spread library and receive all compatible messages sent to the master spread.", "linecount" : 3, "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 0, "id" : "obj-4", "fontname" : "Arial", "patching_rect" : [ 8.0, 8.0, 331.0, 48.0 ] } } , { "box" : { "maxclass" : "message", "text" : "hello !", "numinlets" : 2, "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], "id" : "obj-7", "fontname" : "Arial", "patching_rect" : [ 8.0, 96.0, 43.0, 18.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "js spread-test B", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], "id" : "obj-3", "fontname" : "Arial", "patching_rect" : [ 88.0, 120.0, 94.0, 20.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "js spread-test A", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], "id" : "obj-2", "fontname" : "Arial", "patching_rect" : [ 88.0, 96.0, 93.0, 20.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "js spread", "numinlets" : 1, "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], "id" : "obj-1", "fontname" : "Arial", "patching_rect" : [ 8.0, 120.0, 59.0, 20.0 ] } } , { "box" : { "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "id" : "obj-10", "patching_rect" : [ 5.0, 64.0, 66.0, 84.0 ] } } , { "box" : { "maxclass" : "panel", "numinlets" : 1, "numoutlets" : 0, "id" : "obj-11", "patching_rect" : [ 80.0, 64.0, 110.0, 84.0 ] } } ], "lines" : [ { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } }