Skip to content

Commit

Permalink
added bang for path setter in the event that it does not output
Browse files Browse the repository at this point in the history
  • Loading branch information
equilet committed Jun 13, 2019
1 parent c060155 commit 53926d8
Showing 1 changed file with 70 additions and 16 deletions.
86 changes: 70 additions & 16 deletions patchers/utilities/addpath.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,72 @@
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 6,
"major" : 8,
"minor" : 0,
"revision" : 2
"revision" : 4,
"architecture" : "x64",
"modernui" : 1
}
,
"rect" : [ 25.0, 69.0, 138.0, 186.0 ],
"classnamespace" : "box",
"rect" : [ 34.0, 79.0, 220.0, 315.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridonopen" : 1,
"gridsize" : [ 5.0, 5.0 ],
"gridsnaponopen" : 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,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 10.0,
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 25.0, 128.0, 29.5, 20.0 ],
"text" : "t b s"
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-2",
"index" : 0,
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 25.0, 229.0, 30.0, 30.0 ]
}

}
, {
"box" : {
"comment" : "",
"id" : "obj-1",
"index" : 0,
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
Expand All @@ -47,7 +85,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 25.0, 89.0, 63.0, 18.0 ],
"patching_rect" : [ 25.0, 89.0, 63.0, 20.0 ],
"text" : "prepend set"
}

Expand All @@ -61,7 +99,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 25.0, 65.0, 52.0, 18.0 ],
"patching_rect" : [ 25.0, 65.0, 52.0, 20.0 ],
"text" : "append 1"
}

Expand All @@ -75,7 +113,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 25.0, 113.0, 84.0, 18.0 ],
"patching_rect" : [ 25.0, 207.0, 84.0, 20.0 ],
"text" : "filepath search 0"
}

Expand All @@ -84,32 +122,48 @@
"lines" : [ {
"patchline" : {
"destination" : [ "obj-90", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-1", 0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-93", 0 ],
"source" : [ "obj-3", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"source" : [ "obj-40", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-40", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-90", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-2", 0 ],
"source" : [ "obj-93", 0 ]
}

}
],
"dependency_cache" : [ ]
"dependency_cache" : [ ],
"autosave" : 0
}

}

0 comments on commit 53926d8

Please sign in to comment.