Commit 4211f51b authored by maybites's avatar maybites
Browse files

fix channel topic for unSubscribe

parent d4e2baab
......@@ -39,6 +39,334 @@
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 2,
"revision" : 2,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 504.0, 191.0, 530.0, 405.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 1,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 1,
"objectsnaponopen" : 1,
"statusbarvisible" : 2,
"toolbarvisible" : 1,
"lefttoolbarpinned" : 0,
"toptoolbarpinned" : 0,
"righttoolbarpinned" : 0,
"bottomtoolbarpinned" : 0,
"toolbars_unpinned_last_save" : 0,
"tallnewobj" : 0,
"boxanimatetime" : 200,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-7",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 221.0, 278.0, 121.0, 22.0 ],
"text" : "prepend unsubscribe"
}
}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 50.0, 339.0, 68.0, 22.0 ],
"text" : "s iBusInput"
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 278.0, 107.0, 22.0 ],
"text" : "prepend subscribe"
}
}
, {
"box" : {
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 221.0, 239.0, 81.0, 22.0 ],
"text" : "sprintf %s/%s"
}
}
, {
"box" : {
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 221.0, 194.0, 136.0, 22.0 ],
"text" : "join 2 @triggers 1"
}
}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 338.0, 108.0, 145.0, 22.0 ],
"text" : "r #0_channelUnsubscribe"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 167.0, 108.0, 131.0, 22.0 ],
"text" : "r #0_channelSubscribe"
}
}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"index" : 1,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 46.0, 30.0, 30.0 ]
}
}
, {
"box" : {
"id" : "obj-19",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 112.0, 92.0, 22.0 ],
"text" : "sprintf /peer/%s"
}
}
, {
"box" : {
"id" : "obj-18",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 194.0, 136.0, 22.0 ],
"text" : "join 2 @triggers 1"
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 239.0, 81.0, 22.0 ],
"text" : "sprintf %s/%s"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-19", 0 ],
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"source" : [ "obj-18", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 0 ],
"order" : 1,
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"order" : 0,
"source" : [ "obj-19", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 1 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-18", 1 ],
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-4", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-7", 0 ],
"source" : [ "obj-5", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"source" : [ "obj-6", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"source" : [ "obj-7", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"source" : [ "obj-9", 0 ]
}
}
],
"styles" : [ {
"name" : "rnbodefault",
"default" : {
"bgcolor" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"color1" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"color2" : [ 0.263682, 0.004541, 0.038797, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0.0
}
,
"fontsize" : [ 12.0 ],
"color" : [ 0.929412, 0.929412, 0.352941, 1.0 ],
"accentcolor" : [ 0.343034118413925, 0.506230533123016, 0.86220508813858, 1.0 ],
"fontname" : [ "Lato" ],
"stripecolor" : [ 0.258338063955307, 0.352425158023834, 0.511919498443604, 1.0 ],
"elementcolor" : [ 0.357540726661682, 0.515565991401672, 0.861786782741547, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
, {
"name" : "rnbohighcontrast",
"default" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"selectioncolor" : [ 0.301960784313725, 0.694117647058824, 0.949019607843137, 1.0 ],
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"color1" : [ 0.090196078431373, 0.090196078431373, 0.090196078431373, 1.0 ],
"color2" : [ 0.156862745098039, 0.168627450980392, 0.164705882352941, 1.0 ],
"angle" : 270.0,
"proportion" : 0.5,
"autogradient" : 0.0
}
,
"fontsize" : [ 13.0 ],
"locked_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"color" : [ 1.0, 0.874509803921569, 0.141176470588235, 1.0 ],
"accentcolor" : [ 0.666666666666667, 0.666666666666667, 0.666666666666667, 1.0 ],
"stripecolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"elementcolor" : [ 0.223386004567146, 0.254748553037643, 0.998085916042328, 1.0 ],
"clearcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"editing_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"textcolor_inverse" : [ 1.0, 1.0, 1.0, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
,
"patching_rect" : [ 104.0, 239.0, 133.0, 22.0 ],
"saved_object_attributes" : {
"description" : "",
"digest" : "",
"globalpatchername" : "",
"tags" : ""
}
,
"text" : "p channelSubscriptions"
}
}
, {
"box" : {
"id" : "obj-10",
"linecount" : 2,
......@@ -1920,7 +2248,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 72.0, 349.5, 83.0, 22.0 ],
"patching_rect" : [ 72.0, 349.5, 71.0, 22.0 ],
"text" : "PeerBus #1"
}
......@@ -3153,6 +3481,13 @@
"source" : [ "obj-12", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"source" : [ "obj-12", 0 ]
}
}
, {
"patchline" : {
......@@ -3254,7 +3589,7 @@
, {
"patchline" : {
"destination" : [ "obj-34", 1 ],
"midpoints" : [ 47.5, 471.0, 200.75, 471.0, 200.75, 339.0, 145.5, 339.0 ],
"midpoints" : [ 47.5, 471.0, 200.75, 471.0, 200.75, 339.0, 133.5, 339.0 ],
"order" : 0,
"source" : [ "obj-35", 0 ]
}
......
......@@ -4,7 +4,7 @@
"appversion" : {
"major" : 8,
"minor" : 2,
"revision" : 1,
"revision" : 2,
"architecture" : "x64",
"modernui" : 1
}
......@@ -39,6 +39,28 @@
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 476.0, 435.0, 147.0, 22.0 ],
"text" : "s #1_channelUnsubscribe"
}
}
, {
"box" : {
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 331.5, 435.0, 133.0, 22.0 ],
"text" : "s #1_channelSubscribe"
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
......@@ -81,7 +103,7 @@
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 331.5, 367.0, 38.0, 22.0 ],
"patching_rect" : [ 331.5, 401.0, 38.0, 22.0 ],
"text" : "zl.reg"
}
......@@ -93,7 +115,7 @@
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 459.0, 367.0, 38.0, 22.0 ],
"patching_rect" : [ 476.0, 401.0, 38.0, 22.0 ],
"text" : "zl.reg"
}
......@@ -102,11 +124,11 @@
"box" : {
"id" : "obj-71",
"maxclass" : "newobj",
"numinlets" : 5,
"numinlets" : 4,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 350.5, 239.0, 155.0, 22.0 ],
"text" : "sprintf /%s/%s/%s/%s/%s/#"
"patching_rect" : [ 350.5, 239.0, 131.0, 22.0 ],
"text" : "sprintf %s/%s/%s/%s/#"
}
}
......@@ -126,46 +148,11 @@
"box" : {
"id" : "obj-64",
"maxclass" : "newobj",
"numinlets" : 5,
"numinlets" : 4,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 350.5, 207.0, 159.0, 22.0 ],
"text" : "pack peer rack #5 #6 device"
}
}
, {
"box" : {
"id" : "obj-31",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 459.0, 399.0, 121.0, 22.0 ],
"text" : "prepend unsubscribe"
}
}
, {
"box" : {
"id" : "obj-29",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 331.5, 399.0, 123.0, 22.0 ],
"text" : "prepend subscribe"
}
}
, {
"box" : {
"id" : "obj-63",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 331.5, 438.0, 68.0, 22.0 ],
"text" : "s iBusInput"
"patching_rect" : [ 350.5, 207.0, 135.0, 22.0 ],
"text" : "pack rack #5 #6 device"
}
}
......@@ -314,9 +301,9 @@
"numoutlets" : 3,
"outlettype" : [ "int", "", "" ],
"parameter_enable" : 0,
"patching_rect" : [ 54.0, 89.0, 37.0, 18.0 ],
"patching_rect" : [ 54.0, 89.0, 37.0, 17.0 ],
"presentation" : 1,
"presentation_rect" : [ 1.0, -2.0, 16.0, 18.0 ]
"presentation_rect" : [ 1.0, -2.0, 16.0, 17.0 ]
}
}
......@@ -355,7 +342,7 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 86.0, 321.0, 112.0, 105.0 ],
"patching_rect" : [ 86.0, 321.0, 117.0, 102.0 ],
"text" : "script newobject bpatcher #3 @size #4 40 @args #1 #2 @presentation_rect 0 0 #4 40 @varname device @presentation 1"
}
......@@ -401,7 +388,7 @@
"numoutlets" : 0,
"patching_rect" : [ 349.0, 130.0, 64.0, 31.5 ],
"presentation" : 1,
"presentation_rect" : [ 0.0, 0.0, 4.0, 40.0 ],
"presentation_rect" : [ 0.0, 0.0, 40.0, 40.0 ],
"proportion" : 0.5,
"rounded" : 0
}
......@@ -414,13 +401,6 @@
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-63", 0 ],
"source" : [ "obj-29", 0 ]
}
}
, {
"patchline" : {
......@@ -428,13 +408,6 @@
"source" : [ "obj-3", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-63", 0 ],
"source" : [ "obj-31", 0 ]
}
}
, {
"patchline" : {
......@@ -559,14 +532,14 @@
}
, {
"patchline" : {
"destination" : [ "obj-31", 0 ],
"destination" : [ "obj-4", 0 ],
"source" : [ "obj-74", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-29", 0 ],
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-75", 0 ]
}
......@@ -622,7 +595,63 @@
}
],
"dependency_cache" : [ ],
"autosave" : 0
"autosave" : 0,
"styles" : [ {
"name" : "rnbodefault",
"default" : {
"bgcolor" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"color1" : [ 0.031372549019608, 0.125490196078431, 0.211764705882353, 1.0 ],
"color2" : [ 0.263682, 0.004541, 0.038797, 1.0 ],
"angle" : 270.0,
"proportion" : 0.39,
"autogradient" : 0.0
}
,
"fontsize" : [ 12.0 ],
"color" : [ 0.929412, 0.929412, 0.352941, 1.0 ],
"accentcolor" : [ 0.343034118413925, 0.506230533123016, 0.86220508813858, 1.0 ],
"fontname" : [ "Lato" ],
"stripecolor" : [ 0.258338063955307, 0.352425158023834, 0.511919498443604, 1.0 ],
"elementcolor" : [ 0.357540726661682, 0.515565991401672, 0.861786782741547, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
, {
"name" : "rnbohighcontrast",
"default" : {
"bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ],
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
"selectioncolor" : [ 0.301960784313725, 0.694117647058824, 0.949019607843137, 1.0 ],
"bgfillcolor" : {
"type" : "color",
"color" : [ 0.0, 0.0, 0.0, 1.0 ],
"color1" : [ 0.090196078431373, 0.090196078431373, 0.090196078431373, 1.0 ],
"color2" : [ 0.156862745098039, 0.168627450980392, 0.164705882352941, 1.0 ],
"angle" : 270.0,
"proportion" : 0.5,
"autogradient" : 0.0
}
,
"fontsize" : [ 13.0 ],
"locked_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"color" : [ 1.0, 0.874509803921569, 0.141176470588235, 1.0 ],
"accentcolor" : [ 0.666666666666667, 0.666666666666667, 0.666666666666667, 1.0 ],
"stripecolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"elementcolor" : [ 0.223386004567146, 0.254748553037643, 0.998085916042328, 1.0 ],
"clearcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"editing_bgcolor" : [ 0.258823529411765, 0.258823529411765, 0.258823529411765, 1.0 ],
"textcolor_inverse" : [ 1.0, 1.0, 1.0, 1.0 ]
}
,
"parentstyle" : "",
"multi" : 0
}
]
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment