Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "patcher" : {
- "fileversion" : 1,
- "rect" : [ 159.0, 1202.0, 1239.0, 557.0 ],
- "bglocked" : 0,
- "defrect" : [ 159.0, 1202.0, 1239.0, 557.0 ],
- "openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
- "openinpresentation" : 0,
- "default_fontsize" : 10.0,
- "default_fontface" : 0,
- "default_fontname" : "Helvetica",
- "gridonopen" : 0,
- "gridsize" : [ 15.0, 15.0 ],
- "gridsnaponopen" : 0,
- "toolbarvisible" : 1,
- "boxanimatetime" : 200,
- "imprint" : 0,
- "enablehscroll" : 1,
- "enablevscroll" : 1,
- "devicewidth" : 0.0,
- "boxes" : [ {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/runScript \"$(test1.fillDiv).css('backgroundColor', '#f00');\"",
- "numoutlets" : 1,
- "id" : "obj-1",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 60.0, 165.0, 293.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/Slider1 0.360417",
- "linecount" : 2,
- "numoutlets" : 1,
- "id" : "obj-35",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 525.123962, 270.0, 238.719025, 64.0 ],
- "fontsize" : 30.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "udpreceive 12001",
- "numoutlets" : 1,
- "id" : "obj-28",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 745.165283, 240.0, 90.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "widget-create-change-remove\ncharlie-roberts.com",
- "linecount" : 2,
- "bgcolor" : [ 0.941176, 0.117647, 0.117647, 0.619608 ],
- "numoutlets" : 0,
- "id" : "obj-25",
- "fontname" : "Helvetica",
- "patching_rect" : [ 525.0, 180.0, 305.0, 30.0 ],
- "fontface" : 1,
- "fontsize" : 12.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "remove the widget",
- "numoutlets" : 0,
- "id" : "obj-23",
- "fontname" : "Helvetica",
- "patching_rect" : [ 255.0, 255.0, 256.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "change the OSC address the widgets is assigned to",
- "numoutlets" : 0,
- "id" : "obj-20",
- "fontname" : "Helvetica",
- "patching_rect" : [ 255.0, 225.0, 256.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "set the min / max values that the widget will output",
- "numoutlets" : 0,
- "id" : "obj-18",
- "fontname" : "Helvetica",
- "patching_rect" : [ 255.0, 195.0, 256.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "change the widget value",
- "numoutlets" : 0,
- "id" : "obj-15",
- "fontname" : "Helvetica",
- "patching_rect" : [ 255.0, 165.0, 256.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "change the widgets position / size",
- "numoutlets" : 0,
- "id" : "obj-13",
- "fontname" : "Helvetica",
- "patching_rect" : [ 240.0, 135.0, 256.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "change the colors of the widget",
- "numoutlets" : 0,
- "id" : "obj-11",
- "fontname" : "Helvetica",
- "patching_rect" : [ 225.0, 105.0, 256.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "text area to enter JSON for a widget\nchange text and press big button to send a different widget\n\nYOU CANNOT USE LINE BREAKS IN THIS TEXT FIELD. YOU CANNOT USE LINE BREAKS IN THIS TEXT FIELD. YOU CANNOT USE LINE BREAKS IN THIS TEXT FIELD.",
- "linecount" : 8,
- "numoutlets" : 0,
- "id" : "obj-9",
- "fontname" : "Helvetica",
- "patching_rect" : [ 840.0, 30.0, 256.0, 86.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "assigns an ip address and port for the device to send to",
- "numoutlets" : 0,
- "id" : "obj-7",
- "fontname" : "Helvetica",
- "patching_rect" : [ 240.0, 30.0, 256.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "comment",
- "text" : "creates an interface on the phone in portrait mode",
- "numoutlets" : 0,
- "id" : "obj-6",
- "fontname" : "Helvetica",
- "patching_rect" : [ 225.0, 15.0, 247.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/removeWidget test1",
- "numoutlets" : 1,
- "id" : "obj-27",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 90.0, 255.0, 135.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/setRange test1 0.25 0.5",
- "numoutlets" : 1,
- "id" : "obj-26",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 75.0, 195.0, 152.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/pushDestination 127.0.0.1:12001",
- "numoutlets" : 1,
- "id" : "obj-24",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 15.0, 30.0, 193.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/setColors test1 #f00 #ff0 #0f0",
- "numoutlets" : 1,
- "id" : "obj-22",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 30.0, 105.000008, 177.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/createBlankInterface testing landscape",
- "numoutlets" : 1,
- "id" : "obj-21",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 0.0, 15.0, 218.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/setAddress test1 /ARGH",
- "numoutlets" : 1,
- "id" : "obj-19",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 75.0, 225.0, 155.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "prepend /control/addWidget",
- "numoutlets" : 1,
- "id" : "obj-17",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 630.0, 135.0, 133.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "route text",
- "numoutlets" : 2,
- "id" : "obj-16",
- "fontname" : "Helvetica",
- "outlettype" : [ "", "" ],
- "patching_rect" : [ 630.0, 120.0, 52.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "button",
- "numoutlets" : 1,
- "id" : "obj-14",
- "outlettype" : [ "bang" ],
- "patching_rect" : [ 555.0, 15.0, 52.101627, 52.101627 ],
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "textedit",
- "text" : "{ 'name': 'Slider1', 'type': 'Slider', 'x': 0, 'y': 0, 'width': .5, 'height': .5,}",
- "linecount" : 2,
- "numoutlets" : 4,
- "outputmode" : 1,
- "id" : "obj-12",
- "fontname" : "Helvetica",
- "outlettype" : [ "", "int", "", "" ],
- "patching_rect" : [ 630.0, 30.0, 198.353928, 83.467651 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/addWidget \"{ 'name': 'Slider1', 'type': 'Slider', 'x': 0, 'y': 0, 'width': .5, 'height': .5,}\"",
- "linecount" : 2,
- "numoutlets" : 1,
- "id" : "obj-10",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 30.0, 60.0, 324.0, 24.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "message",
- "text" : "/control/setBounds test1 0.2 0. 0.75 0.3",
- "numoutlets" : 1,
- "id" : "obj-5",
- "fontname" : "Helvetica",
- "outlettype" : [ "" ],
- "patching_rect" : [ 45.0, 135.0, 185.0, 14.0 ],
- "fontsize" : 10.0,
- "numinlets" : 2
- }
- }
- , {
- "box" : {
- "maxclass" : "newobj",
- "text" : "udpsend 127.0.0.1 8080",
- "numoutlets" : 0,
- "id" : "obj-3",
- "fontname" : "Helvetica",
- "patching_rect" : [ 15.0, 285.0, 118.0, 16.0 ],
- "fontsize" : 10.0,
- "numinlets" : 1
- }
- }
- ],
- "lines" : [ {
- "patchline" : {
- "source" : [ "obj-1", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-5", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-19", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-21", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-22", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-10", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-24", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-26", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-27", 0 ],
- "destination" : [ "obj-3", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-12", 0 ],
- "destination" : [ "obj-16", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-16", 0 ],
- "destination" : [ "obj-17", 0 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-14", 0 ],
- "destination" : [ "obj-12", 0 ],
- "hidden" : 0,
- "midpoints" : [ 564.5, 84.010643, 615.079529, 84.010643, 615.079529, 21.856428, 639.5, 21.856428 ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-14", 0 ],
- "destination" : [ "obj-10", 0 ],
- "hidden" : 0,
- "midpoints" : [ 564.5, 84.010643, 547.265015, 84.010643, 547.265015, 50.542992, 39.5, 50.542992 ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-17", 0 ],
- "destination" : [ "obj-10", 1 ],
- "hidden" : 0,
- "midpoints" : [ 639.5, 160.508148, 519.921753, 160.508148, 519.921753, 60.641071, 344.5, 60.641071 ]
- }
- }
- , {
- "patchline" : {
- "source" : [ "obj-28", 0 ],
- "destination" : [ "obj-35", 1 ],
- "hidden" : 0,
- "midpoints" : [ ]
- }
- }
- ]
- }
- }
Add Comment
Please, Sign In to add comment