516 lines
10 KiB
Plaintext
516 lines
10 KiB
Plaintext
{
|
|
"patcher" : {
|
|
"fileversion" : 1,
|
|
"appversion" : {
|
|
"major" : 5,
|
|
"minor" : 1,
|
|
"revision" : 9
|
|
}
|
|
,
|
|
"rect" : [ 29.0, 69.0, 766.0, 713.0 ],
|
|
"bglocked" : 0,
|
|
"defrect" : [ 29.0, 69.0, 766.0, 713.0 ],
|
|
"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
|
|
"openinpresentation" : 0,
|
|
"default_fontsize" : 12.0,
|
|
"default_fontface" : 0,
|
|
"default_fontname" : "Arial",
|
|
"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" : "newobj",
|
|
"text" : "print",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 87.0, 235.0, 34.0, 20.0 ],
|
|
"id" : "obj-2",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 12.0
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "comment",
|
|
"text" : "convert int to ascii value",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 239.0, 296.0, 150.0, 20.0 ],
|
|
"id" : "obj-38",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "message",
|
|
"text" : "2",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 322.0, 435.0, 40.0, 18.0 ],
|
|
"id" : "obj-36",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "message",
|
|
"text" : "12",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 271.0, 436.0, 40.0, 18.0 ],
|
|
"id" : "obj-35",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "message",
|
|
"text" : "1f1",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 220.0, 437.0, 40.0, 18.0 ],
|
|
"id" : "obj-34",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "message",
|
|
"text" : "1ee",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 169.0, 437.0, 40.0, 18.0 ],
|
|
"id" : "obj-33",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "zl nth 4",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 343.0, 409.0, 48.0, 20.0 ],
|
|
"id" : "obj-31",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "zl nth 3",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 292.0, 409.0, 48.0, 20.0 ],
|
|
"id" : "obj-30",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "zl nth 2",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 241.0, 409.0, 48.0, 20.0 ],
|
|
"id" : "obj-29",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "comment",
|
|
"text" : "need this since list is presented as one giant symbol (remove this to see what I mean)",
|
|
"linecount" : 2,
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 263.0, 366.0, 383.0, 33.0 ],
|
|
"id" : "obj-28",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "fromsymbol",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 190.0, 374.0, 70.0, 20.0 ],
|
|
"id" : "obj-25",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "zl nth 1",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 190.0, 409.0, 48.0, 20.0 ],
|
|
"id" : "obj-19",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "comment",
|
|
"text" : "reassembled packet from the serial object",
|
|
"linecount" : 2,
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 418.0, 333.0, 194.0, 33.0 ],
|
|
"id" : "obj-18",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "itoa",
|
|
"numinlets" : 3,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 190.0, 296.0, 46.0, 20.0 ],
|
|
"id" : "obj-17",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "int" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "comment",
|
|
"text" : "passes thru all values BUT 13 (cr). If 13, then you are done making this little \"packet\" and can pass it along",
|
|
"linecount" : 2,
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 238.0, 223.0, 317.0, 33.0 ],
|
|
"id" : "obj-16",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "comment",
|
|
"text" : "make sure we are just looking at one int at a time",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 244.0, 191.0, 262.0, 20.0 ],
|
|
"id" : "obj-15",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "comment",
|
|
"text" : "note that 13 = cr, 9 = tab",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 271.0, 157.0, 136.0, 20.0 ],
|
|
"id" : "obj-14",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "zl iter 1",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 190.0, 190.0, 48.0, 20.0 ],
|
|
"id" : "obj-13",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "comment",
|
|
"text" : "serial data from screen shot for testing",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 245.0, 106.0, 208.0, 20.0 ],
|
|
"id" : "obj-12",
|
|
"fontname" : "Arial",
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "message",
|
|
"text" : "49 101 101 9 49 102 49 9 48 49 50 9 48 48 50 13",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 233.0, 131.0, 275.0, 18.0 ],
|
|
"id" : "obj-7",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "message",
|
|
"text" : "1ee\t1f1\t012\t002",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"patching_rect" : [ 240.0, 338.0, 173.0, 18.0 ],
|
|
"id" : "obj-6",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "zl group 256",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 190.0, 271.0, 74.0, 20.0 ],
|
|
"id" : "obj-4",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "sel 13",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 190.0, 223.0, 41.0, 20.0 ],
|
|
"id" : "obj-3",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "bang", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"maxclass" : "newobj",
|
|
"text" : "serial",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 2,
|
|
"patching_rect" : [ 190.0, 131.0, 38.0, 20.0 ],
|
|
"id" : "obj-1",
|
|
"fontname" : "Arial",
|
|
"outlettype" : [ "int", "" ],
|
|
"fontsize" : 11.59
|
|
}
|
|
|
|
}
|
|
],
|
|
"lines" : [ {
|
|
"patchline" : {
|
|
"source" : [ "obj-13", 0 ],
|
|
"destination" : [ "obj-2", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-3", 0 ],
|
|
"destination" : [ "obj-4", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-13", 0 ],
|
|
"destination" : [ "obj-3", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-7", 0 ],
|
|
"destination" : [ "obj-13", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ 242.5, 171.0, 199.5, 171.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-1", 0 ],
|
|
"destination" : [ "obj-13", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-3", 1 ],
|
|
"destination" : [ "obj-4", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ 221.5, 264.0, 199.5, 264.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-4", 0 ],
|
|
"destination" : [ "obj-17", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-17", 0 ],
|
|
"destination" : [ "obj-6", 1 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ 199.5, 324.0, 403.5, 324.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-19", 0 ],
|
|
"destination" : [ "obj-33", 1 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-29", 0 ],
|
|
"destination" : [ "obj-34", 1 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-30", 0 ],
|
|
"destination" : [ "obj-35", 1 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-31", 0 ],
|
|
"destination" : [ "obj-36", 1 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-25", 0 ],
|
|
"destination" : [ "obj-31", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ 199.5, 401.0, 352.5, 401.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-25", 0 ],
|
|
"destination" : [ "obj-30", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ 199.5, 401.0, 301.5, 401.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-25", 0 ],
|
|
"destination" : [ "obj-29", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ 199.5, 401.0, 250.5, 401.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-25", 0 ],
|
|
"destination" : [ "obj-19", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ 199.5, 401.0, 199.5, 401.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"source" : [ "obj-17", 0 ],
|
|
"destination" : [ "obj-25", 0 ],
|
|
"hidden" : 0,
|
|
"midpoints" : [ ]
|
|
}
|
|
|
|
}
|
|
]
|
|
}
|
|
|
|
}
|