Skip to content

Commit

Permalink
calcExpr only processes symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
tmhglnd committed Jul 2, 2022
1 parent 2c17809 commit 4db25aa
Showing 1 changed file with 68 additions and 34 deletions.
102 changes: 68 additions & 34 deletions mercury_ide/patchers/calcExpr.maxpat
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
"fileversion" : 1,
"appversion" : {
"major" : 8,
"minor" : 1,
"revision" : 3,
"minor" : 2,
"revision" : 2,
"architecture" : "x64",
"modernui" : 1
}
,
"classnamespace" : "box",
"rect" : [ 908.0, 206.0, 640.0, 480.0 ],
"rect" : [ 766.0, 206.0, 640.0, 480.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
Expand All @@ -37,27 +37,40 @@
"tags" : "",
"style" : "",
"subpatcher_template" : "",
"assistshowspatchername" : 0,
"boxes" : [ {
"box" : {
"id" : "obj-1",
"id" : "obj-27",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 185.0, 180.0, 60.0, 22.0 ],
"text" : "zl.change"
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 149.0, 120.0, 57.0, 22.0 ],
"text" : "tosymbol"
}

}
, {
"box" : {
"id" : "obj-86",
"id" : "obj-26",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 174.0, 90.0, 59.0, 22.0 ],
"text" : "tosymbol"
"outlettype" : [ "float" ],
"patching_rect" : [ 90.0, 135.0, 19.0, 22.0 ],
"text" : "t f"
}

}
, {
"box" : {
"id" : "obj-25",
"maxclass" : "newobj",
"numinlets" : 3,
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 90.0, 90.0, 78.0, 22.0 ],
"text" : "route float int"
}

}
Expand All @@ -68,7 +81,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 174.0, 120.0, 30.0, 22.0 ],
"patching_rect" : [ 149.0, 155.0, 30.0, 22.0 ],
"text" : "t b l"
}

Expand All @@ -78,10 +91,10 @@
"id" : "obj-78",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 185.0, 300.0, 43.0, 22.0 ],
"text" : "jit.spill"
"numoutlets" : 3,
"outlettype" : [ "", "", "" ],
"patching_rect" : [ 160.0, 290.0, 40.0, 22.0 ],
"text" : "jit.iter"
}

}
Expand All @@ -92,7 +105,7 @@
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 60.0, 180.0, 113.0, 22.0 ],
"patching_rect" : [ 35.0, 200.0, 113.0, 22.0 ],
"text" : "jit.matrix 1 float64 1"
}

Expand All @@ -104,7 +117,7 @@
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 185.0, 210.0, 81.0, 22.0 ],
"patching_rect" : [ 160.0, 200.0, 81.0, 22.0 ],
"text" : "prepend expr"
}

Expand All @@ -116,7 +129,7 @@
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "jit_matrix", "" ],
"patching_rect" : [ 185.0, 265.0, 46.0, 22.0 ],
"patching_rect" : [ 160.0, 255.0, 46.0, 22.0 ],
"text" : "jit.expr"
}

Expand All @@ -130,7 +143,7 @@
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 174.0, 40.0, 30.0, 30.0 ]
"patching_rect" : [ 90.0, 45.0, 30.0, 30.0 ]
}

}
Expand All @@ -142,15 +155,43 @@
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 185.0, 375.0, 30.0, 30.0 ]
"patching_rect" : [ 90.0, 335.0, 30.0, 30.0 ]
}

}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-71", 0 ],
"source" : [ "obj-1", 0 ]
"destination" : [ "obj-26", 0 ],
"source" : [ "obj-25", 1 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-26", 0 ],
"source" : [ "obj-25", 0 ]
}

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

}
, {
"patchline" : {
"destination" : [ "obj-88", 0 ],
"source" : [ "obj-26", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-83", 0 ],
"source" : [ "obj-27", 0 ]
}

}
Expand Down Expand Up @@ -184,7 +225,7 @@
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"destination" : [ "obj-71", 0 ],
"source" : [ "obj-83", 1 ]
}

Expand All @@ -198,14 +239,7 @@
}
, {
"patchline" : {
"destination" : [ "obj-83", 0 ],
"source" : [ "obj-86", 0 ]
}

}
, {
"patchline" : {
"destination" : [ "obj-86", 0 ],
"destination" : [ "obj-25", 0 ],
"source" : [ "obj-87", 0 ]
}

Expand Down

0 comments on commit 4db25aa

Please sign in to comment.