Skip to content

Commit

Permalink
adding broadcast mode to ws
Browse files Browse the repository at this point in the history
  • Loading branch information
grrrwaaa committed Mar 28, 2016
1 parent 0ff7a1d commit 29c962d
Show file tree
Hide file tree
Showing 6 changed files with 296 additions and 101 deletions.
Binary file modified externals/ws.mxo/Contents/MacOS/ws
Binary file not shown.
274 changes: 202 additions & 72 deletions help/ws.maxhelp
Expand Up @@ -3,13 +3,13 @@
"fileversion" : 1,
"appversion" : {
"major" : 7,
"minor" : 1,
"minor" : 2,
"revision" : 0,
"architecture" : "x64",
"architecture" : "x86",
"modernui" : 1
}
,
"rect" : [ 250.0, 148.0, 823.0, 520.0 ],
"rect" : [ 61.0, 80.0, 927.0, 723.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
Expand Down Expand Up @@ -37,6 +37,134 @@
"style" : "",
"subpatcher_template" : "",
"boxes" : [ {
"box" : {
"id" : "obj-41",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 267.0, 275.0, 24.0, 24.0 ],
"style" : ""
}

}
, {
"box" : {
"id" : "obj-38",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 4,
"outlettype" : [ "dictionary", "", "", "" ],
"patching_rect" : [ 229.0, 319.0, 67.0, 22.0 ],
"saved_object_attributes" : {
"embed" : 0,
"parameter_enable" : 0
}
,
"style" : "",
"text" : "dict bigdict"
}

}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 33.0, 397.0, 60.0, 22.0 ],
"style" : "",
"text" : "loadbang"
}

}
, {
"box" : {
"id" : "obj-25",
"maxclass" : "dict.view",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 33.0, 468.0, 100.0, 100.0 ],
"style" : ""
}

}
, {
"box" : {
"id" : "obj-23",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 4,
"outlettype" : [ "dictionary", "", "", "" ],
"patching_rect" : [ 33.0, 433.0, 67.0, 22.0 ],
"saved_object_attributes" : {
"embed" : 0,
"parameter_enable" : 0
}
,
"style" : "",
"text" : "dict bigdict"
}

}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 334.0, 512.0, 103.0, 22.0 ],
"style" : "",
"text" : "prepend received"
}

}
, {
"box" : {
"id" : "obj-39",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 233.0, 473.0, 85.0, 22.0 ],
"style" : "",
"text" : "compile, bang"
}

}
, {
"box" : {
"id" : "obj-34",
"maxclass" : "button",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "bang" ],
"patching_rect" : [ 190.0, 472.0, 24.0, 24.0 ],
"style" : ""
}

}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 185.0, 521.0, 79.0, 22.0 ],
"saved_object_attributes" : {
"filename" : "ws_help.js",
"parameter_enable" : 0
}
,
"style" : "",
"text" : "js ws_help.js"
}

}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "message",
Expand Down Expand Up @@ -148,54 +276,6 @@
"text" : "dict.pack num : 0"
}

}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 17.0, 321.0, 125.0, 20.0 ],
"style" : "",
"text" : "if we received JSON:"
}

}
, {
"box" : {
"id" : "obj-25",
"maxclass" : "dict.view",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 17.0, 379.0, 100.0, 100.0 ],
"style" : ""
}

}
, {
"box" : {
"id" : "obj-23",
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 162.0, 465.0, 138.0, 22.0 ],
"style" : ""
}

}
, {
"box" : {
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 17.0, 345.0, 118.0, 22.0 ],
"style" : "",
"text" : "routepass dictionary"
}

}
, {
"box" : {
Expand All @@ -213,14 +293,13 @@
, {
"box" : {
"id" : "obj-18",
"linecount" : 4,
"maxclass" : "message",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 711.0, 198.0, 50.0, 62.0 ],
"patching_rect" : [ 654.0, 196.5, 237.0, 22.0 ],
"style" : "",
"text" : "dictionary u347000377"
"text" : "{\\\"hello\\\":\\\"world\\\"}"
}

}
Expand Down Expand Up @@ -465,7 +544,7 @@
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 128.0, 409.0, 83.0, 22.0 ],
"patching_rect" : [ 114.0, 373.0, 83.0, 22.0 ],
"style" : "",
"text" : "print received"
}
Expand All @@ -478,7 +557,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 147.5, 316.0, 81.0, 22.0 ],
"patching_rect" : [ 114.0, 319.0, 81.0, 22.0 ],
"style" : "",
"text" : "ws"
}
Expand All @@ -487,10 +566,10 @@
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-23", 1 ],
"destination" : [ "obj-2", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-1", 1 ]
"source" : [ "obj-1", 0 ]
}

}
Expand All @@ -502,15 +581,6 @@
"source" : [ "obj-1", 1 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-1", 0 ]
}

}
, {
"patchline" : {
Expand Down Expand Up @@ -583,6 +653,15 @@
"source" : [ "obj-22", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-23", 0 ]
}

}
, {
"patchline" : {
Expand Down Expand Up @@ -619,6 +698,15 @@
"source" : [ "obj-27", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-23", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-28", 0 ]
}

}
, {
"patchline" : {
Expand Down Expand Up @@ -664,6 +752,33 @@
"source" : [ "obj-33", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-34", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-38", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-39", 0 ]
}

}
, {
"patchline" : {
Expand All @@ -673,6 +788,15 @@
"source" : [ "obj-4", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-38", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-41", 0 ]
}

}
, {
"patchline" : {
Expand All @@ -694,25 +818,25 @@
}
, {
"patchline" : {
"destination" : [ "obj-13", 0 ],
"destination" : [ "obj-8", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-7", 0 ]
"source" : [ "obj-6", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"destination" : [ "obj-13", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-8", 1 ]
"source" : [ "obj-7", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"destination" : [ "obj-21", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-8", 0 ]
Expand All @@ -730,6 +854,12 @@
}
],
"dependency_cache" : [ {
"name" : "ws_help.js",
"bootpath" : "~/Documents/Max 7/Packages/Max_Worldmaking_Package/help",
"type" : "TEXT",
"implicit" : 1
}
, {
"name" : "ws.mxo",
"type" : "iLaX"
}
Expand Down

0 comments on commit 29c962d

Please sign in to comment.