Msp Help

Nov 11, 2013 at 6:14pm

Msp Help

Hi there I am currently running Max/msp on my osx mac. I have a patcher that I am setting up a air guitar. My problem is that I need to find out how to play a certain audio file (guitar note) when we hit a certain number. We would also like the file to only play once.

Currently we have it set up so that there are 5 fingers that have 2 types of sounds that come out of them depending on wether the other 5 fingers are giving a on or off signal. We are using flex signals to give the signals to tell us how loud to play the sounds.

Here is the patch to take a look. Sorry if I wrote this a little confusing. Basically we just need to know how to set up a audio file to each “finger” that is only played once when a certain number is hit.

{
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "sfplay~",
"fontsize" : 12.0,
"numinlets" : 2,
"numoutlets" : 2,
"patching_rect" : [ 80.0, 569.0, 49.0, 20.0 ],
“id” : “obj-95″,
“fontname” : “Arial”,
“outlettype” : [ "signal", "bang" ],
“save” : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “open”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 26.75, 442.0, 37.0, 18.0 ],
“id” : “obj-94″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “opendialog”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 423.0, 246.0, 69.0, 20.0 ],
“id” : “obj-89″,
“fontname” : “Arial”,
“outlettype” : [ "", "bang" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 724.0, 882.0, 20.0, 20.0 ],
“id” : “obj-78″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 800 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 756.5, 848.0, 149.0, 20.0 ],
“id” : “obj-79″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “gswitch”,
“numinlets” : 3,
“numoutlets” : 1,
“patching_rect” : [ 720.5, 924.0, 112.0, 104.0 ],
“id” : “obj-80″,
“parameter_enable” : 0,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “/ 9″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 575.0, 848.0, 32.5, 20.0 ],
“id” : “obj-83″,
“fontname” : “Arial”,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 575.0, 817.0, 50.0, 20.0 ],
“id” : “obj-84″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“interp” : 80.384613,
“numoutlets” : 2,
“patching_rect” : [ 673.0, 888.0, 22.0, 140.0 ],
“id” : “obj-85″,
“parameter_enable” : 0,
“outlettype” : [ "signal", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 500 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 960.0, 902.0, 149.0, 20.0 ],
“id” : “obj-86″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “cycle~”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 720.5, 1052.0, 45.0, 20.0 ],
“id” : “obj-87″,
“fontname” : “Arial”,
“outlettype” : [ "signal" ]
}

}
, {
“box” : {
“maxclass” : “ezdac~”,
“numinlets” : 2,
“numoutlets” : 0,
“patching_rect” : [ 661.5, 1081.0, 45.0, 45.0 ],
“id” : “obj-88″
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 803.0, 549.0, 20.0, 20.0 ],
“id” : “obj-69″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 800 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 835.5, 515.0, 149.0, 20.0 ],
“id” : “obj-70″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “gswitch”,
“numinlets” : 3,
“numoutlets” : 1,
“patching_rect” : [ 799.5, 591.0, 112.0, 104.0 ],
“id” : “obj-71″,
“parameter_enable” : 0,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “/ 9″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 654.0, 515.0, 32.5, 20.0 ],
“id” : “obj-72″,
“fontname” : “Arial”,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 654.0, 484.0, 50.0, 20.0 ],
“id” : “obj-73″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“interp” : 80.384613,
“numoutlets” : 2,
“patching_rect” : [ 752.0, 555.0, 22.0, 140.0 ],
“id” : “obj-74″,
“parameter_enable” : 0,
“outlettype” : [ "signal", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 500 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 1039.0, 569.0, 149.0, 20.0 ],
“id” : “obj-75″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “cycle~”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 799.5, 719.0, 45.0, 20.0 ],
“id” : “obj-76″,
“fontname” : “Arial”,
“outlettype” : [ "signal" ]
}

}
, {
“box” : {
“maxclass” : “ezdac~”,
“numinlets” : 2,
“numoutlets” : 0,
“patching_rect” : [ 740.5, 748.0, 45.0, 45.0 ],
“id” : “obj-77″
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 178.0, 1078.0, 20.0, 20.0 ],
“id” : “obj-60″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 800 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 210.5, 1044.0, 149.0, 20.0 ],
“id” : “obj-61″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “gswitch”,
“numinlets” : 3,
“numoutlets” : 1,
“patching_rect” : [ 174.5, 1120.0, 112.0, 104.0 ],
“id” : “obj-62″,
“parameter_enable” : 0,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “/ 9″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 29.0, 1044.0, 32.5, 20.0 ],
“id” : “obj-63″,
“fontname” : “Arial”,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 29.0, 1013.0, 50.0, 20.0 ],
“id” : “obj-64″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“interp” : 80.384613,
“numoutlets” : 2,
“patching_rect” : [ 127.0, 1084.0, 22.0, 140.0 ],
“id” : “obj-65″,
“parameter_enable” : 0,
“outlettype” : [ "signal", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 500 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 414.0, 1098.0, 149.0, 20.0 ],
“id” : “obj-66″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “cycle~”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 174.5, 1248.0, 45.0, 20.0 ],
“id” : “obj-67″,
“fontname” : “Arial”,
“outlettype” : [ "signal" ]
}

}
, {
“box” : {
“maxclass” : “ezdac~”,
“numinlets” : 2,
“numoutlets” : 0,
“patching_rect” : [ 115.5, 1277.0, 45.0, 45.0 ],
“id” : “obj-68″
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 178.0, 740.0, 20.0, 20.0 ],
“id” : “obj-3″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 800 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 221.0, 712.0, 149.0, 20.0 ],
“id” : “obj-4″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “gswitch”,
“numinlets” : 3,
“numoutlets” : 1,
“patching_rect” : [ 174.5, 782.0, 112.0, 104.0 ],
“id” : “obj-7″,
“parameter_enable” : 0,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “/ 9″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 29.0, 706.0, 32.5, 20.0 ],
“id” : “obj-8″,
“fontname” : “Arial”,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 29.0, 675.0, 50.0, 20.0 ],
“id” : “obj-10″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“interp” : 80.384613,
“numoutlets” : 2,
“patching_rect” : [ 127.0, 746.0, 22.0, 140.0 ],
“id” : “obj-11″,
“parameter_enable” : 0,
“outlettype” : [ "signal", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 500 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 414.0, 760.0, 149.0, 20.0 ],
“id” : “obj-12″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “cycle~”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 174.5, 910.0, 45.0, 20.0 ],
“id” : “obj-32″,
“fontname” : “Arial”,
“outlettype” : [ "signal" ]
}

}
, {
“box” : {
“maxclass” : “ezdac~”,
“numinlets” : 2,
“numoutlets” : 0,
“patching_rect” : [ 115.5, 939.0, 45.0, 45.0 ],
“id” : “obj-59″
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d12″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 932.0, 169.0, 35.0, 17.0 ],
“id” : “obj-23″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d13″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 975.0, 169.0, 35.0, 17.0 ],
“id” : “obj-24″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d11″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 889.0, 169.0, 35.0, 17.0 ],
“id” : “obj-21″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d10″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 847.0, 169.0, 35.0, 17.0 ],
“id” : “obj-25″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d9″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 810.0, 169.0, 29.0, 17.0 ],
“id” : “obj-26″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d8″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 774.0, 169.0, 29.0, 17.0 ],
“id” : “obj-27″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d6″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 703.0, 169.0, 29.0, 17.0 ],
“id” : “obj-28″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d7″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 738.0, 169.0, 29.0, 17.0 ],
“id” : “obj-29″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d5″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 667.0, 169.0, 29.0, 17.0 ],
“id” : “obj-30″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d4″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 632.0, 169.0, 29.0, 17.0 ],
“id” : “obj-31″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d3″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 598.0, 169.0, 29.0, 17.0 ],
“id” : “obj-33″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d2″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 565.0, 169.0, 29.0, 17.0 ],
“id” : “obj-34″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Reading the Arduino’s digital pins”,
“frgb” : 0.0,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 585.0, 254.0, 223.0, 21.0 ],
“id” : “obj-35″,
“fontname” : “Verdana”
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 565.0, 228.0, 17.0, 17.0 ],
“id” : “obj-36″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 975.0, 228.0, 17.0, 17.0 ],
“id” : “obj-37″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 932.0, 228.0, 17.0, 17.0 ],
“id” : “obj-38″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 889.0, 228.0, 17.0, 17.0 ],
“id” : “obj-39″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 847.0, 228.0, 17.0, 17.0 ],
“id” : “obj-40″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 810.0, 228.0, 17.0, 17.0 ],
“id” : “obj-41″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 774.0, 228.0, 17.0, 17.0 ],
“id” : “obj-42″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 738.0, 228.0, 17.0, 17.0 ],
“id” : “obj-43″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 703.0, 228.0, 17.0, 17.0 ],
“id” : “obj-54″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 667.0, 228.0, 17.0, 17.0 ],
“id” : “obj-57″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 632.0, 228.0, 17.0, 17.0 ],
“id” : “obj-81″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 598.0, 228.0, 17.0, 17.0 ],
“id” : “obj-82″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 209.0, 413.0, 20.0, 20.0 ],
“id” : “obj-22″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 800 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 241.5, 379.0, 149.0, 20.0 ],
“id” : “obj-20″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “gswitch”,
“numinlets” : 3,
“numoutlets” : 1,
“patching_rect” : [ 205.5, 455.0, 112.0, 104.0 ],
“id” : “obj-19″,
“parameter_enable” : 0,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “/ 9″,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 60.0, 379.0, 32.5, 20.0 ],
“id” : “obj-9″,
“fontname” : “Arial”,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 60.0, 348.0, 50.0, 20.0 ],
“id” : “obj-93″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“interp” : 80.384613,
“numoutlets” : 2,
“patching_rect” : [ 158.0, 419.0, 22.0, 140.0 ],
“id” : “obj-92″,
“parameter_enable” : 0,
“outlettype” : [ "signal", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if $i1 == 1 then 500 else 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 366.5, 426.0, 149.0, 20.0 ],
“id” : “obj-58″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “cycle~”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 205.5, 583.0, 45.0, 20.0 ],
“id” : “obj-2″,
“fontname” : “Arial”,
“outlettype” : [ "signal" ]
}

}
, {
“box” : {
“maxclass” : “ezdac~”,
“numinlets” : 2,
“numoutlets” : 0,
“patching_rect” : [ 146.5, 591.0, 45.0, 45.0 ],
“id” : “obj-1″
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r portinfo”,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 285.0, 61.0, 54.0, 17.0 ],
“id” : “obj-5″,
“fontname” : “Arial”,
“outlettype” : [ "" ],
“hidden” : 1
}

}
, {
“box” : {
“maxclass” : “umenu”,
“fontsize” : 9.0,
“labelclick” : 1,
“items” : [ "Bluetooth-Incoming-Port", ",", "Bluetooth-Modem", ",", "usbmodemfa131", ",", "usbmodem1421", ",", "Bluetooth-Modem", ",", 5, ",", 6, ",", 7 ],
“numinlets” : 1,
“numoutlets” : 3,
“patching_rect” : [ 285.0, 105.0, 149.0, 17.0 ],
“id” : “obj-6″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“textcolor” : [ 0.047059, 0.0, 0.839216, 1.0 ],
“outlettype” : [ "int", "", "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a4″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 236.0, 220.0, 29.0, 17.0 ],
“id” : “obj-13″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a5″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 281.0, 220.0, 29.0, 17.0 ],
“id” : “obj-14″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a3″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 193.0, 220.0, 29.0, 17.0 ],
“id” : “obj-15″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a2″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 149.0, 220.0, 29.0, 17.0 ],
“id” : “obj-16″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a1″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 105.0, 220.0, 29.0, 17.0 ],
“id” : “obj-17″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a0″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 60.0, 220.0, 29.0, 17.0 ],
“id” : “obj-18″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 60.0, 281.0, 40.0, 18.0 ],
“id” : “obj-44″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 105.0, 281.0, 40.0, 18.0 ],
“id” : “obj-45″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 149.0, 281.0, 40.0, 18.0 ],
“id” : “obj-46″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 193.0, 281.0, 40.0, 18.0 ],
“id” : “obj-47″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 236.0, 281.0, 40.0, 18.0 ],
“id” : “obj-48″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 281.0, 281.0, 40.0, 18.0 ],
“id” : “obj-49″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 57.0, 85.0, 50.0, 50.0 ],
“id” : “obj-50″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “start”,
“frgb” : 0.0,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 64.0, 62.0, 40.0, 20.0 ],
“id” : “obj-51″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Reading the Arduino’s analog pins”,
“frgb” : 0.0,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 78.0, 308.0, 225.0, 21.0 ],
“id” : “obj-52″,
“fontname” : “Verdana”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p arduinoSerialreader”,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 0,
“patching_rect” : [ 57.0, 151.0, 247.0, 17.0 ],
“id” : “obj-53″,
“fontname” : “Arial”,
“patcher” : {
“fileversion” : 1,
“appversion” : {
“major” : 6,
“minor” : 1,
“revision” : 4,
“architecture” : “x86″
}
,
“rect” : [ 18.0, 44.0, 1370.0, 856.0 ],
“bglocked” : 0,
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“statusbarvisible” : 2,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“description” : “”,
“digest” : “”,
“tags” : “”,
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "r help",
"fontsize" : 9.0,
"numinlets" : 0,
"numoutlets" : 1,
"patching_rect" : [ 976.0, 191.0, 36.0, 17.0 ],
“id” : “obj-1″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s portselect”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 1173.0, 205.0, 64.0, 17.0 ],
“id” : “obj-2″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r portselect”,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 35.0, 276.0, 64.0, 17.0 ],
“id” : “obj-3″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s portinfo”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 229.0, 447.0, 54.0, 17.0 ],
“id” : “obj-4″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p sorter”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 229.0, 412.0, 50.0, 17.0 ],
“id” : “obj-5″,
“fontname” : “Arial”,
“outlettype” : [ "" ],
“patcher” : {
“fileversion” : 1,
“appversion” : {
“major” : 6,
“minor” : 1,
“revision” : 4,
“architecture” : “x86″
}
,
“rect” : [ 13.0, 88.0, 471.0, 388.0 ],
“bglocked” : 0,
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“statusbarvisible” : 2,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“description” : “”,
“digest” : “”,
“tags” : “”,
“boxes” : [ {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 24.0, 246.0, 20.0, 20.0 ],
“id” : “obj-1″,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 24.0, 32.0, 20.0, 20.0 ],
“id” : “obj-2″,
“outlettype” : [ "" ],
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 7″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 304.0, 196.0, 127.0, 20.0 ],
“id” : “obj-3″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 6″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 264.0, 170.0, 127.0, 20.0 ],
“id” : “obj-4″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 5″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 224.0, 145.0, 127.0, 20.0 ],
“id” : “obj-5″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 4″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 184.0, 119.0, 127.0, 20.0 ],
“id” : “obj-6″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 3″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 143.0, 197.0, 127.0, 20.0 ],
“id” : “obj-7″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 2″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 104.0, 171.0, 127.0, 20.0 ],
“id” : “obj-8″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 1″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 64.0, 146.0, 127.0, 20.0 ],
“id” : “obj-9″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend setitem 0″,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 24.0, 120.0, 127.0, 20.0 ],
“id” : “obj-10″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “unpack s s s s s s s s”,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 8,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 24.0, 89.0, 293.0, 20.0 ],
“id” : “obj-11″,
“fontname” : “Arial”,
“outlettype” : [ "", "", "", "", "", "", "", "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “route port”,
“fontsize” : 12.0,
“numinlets” : 2,
“numoutlets” : 2,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 24.0, 59.0, 93.0, 20.0 ],
“id” : “obj-12″,
“fontname” : “Arial”,
“outlettype” : [ "", "" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Manages serial name data. Each port name (up to 8, in this case) replaces an item in the drop-down menu of the parent patch (items in drop-down are numbered 0 – 7).”,
“linecount” : 4,
“frgb” : 0.0,
“fontsize” : 12.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 167.0, 235.0, 258.0, 62.0 ],
“id” : “obj-13″,
“fontname” : “Arial”,
“textcolor” : [ 0.8, 0.611765, 0.380392, 1.0 ]
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-9", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-8", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-7", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-6", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-5", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-3", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-2", 0 ],
“destination” : [ "obj-12", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-12", 0 ],
“destination” : [ "obj-11", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 1 ],
“destination” : [ "obj-9", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 2 ],
“destination” : [ "obj-8", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 3 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 4 ],
“destination” : [ "obj-6", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 5 ],
“destination” : [ "obj-5", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 6 ],
“destination” : [ "obj-4", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 7 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 0 ],
“destination” : [ "obj-10", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-10", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“disabled” : 0
}

}
]
}
,
“saved_object_attributes” : {
“default_fontface” : 0,
“default_fontname” : “Arial”,
“default_fontsize” : 12.0,
“description” : “”,
“digest” : “”,
“fontface” : 0,
“fontname” : “Arial”,
“fontsize” : 12.0,
“globalpatchername” : “”,
“tags” : “”
}

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “prepend port”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 1,
“color” : [ 0.8, 0.611765, 0.380392, 1.0 ],
“patching_rect” : [ 35.0, 307.0, 91.0, 17.0 ],
“id” : “obj-6″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 350.0, 244.0, 27.0, 27.0 ],
“id” : “obj-7″,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Set the sample rate: between every 15ms and every 100ms.”,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 394.0, 162.0, 284.0, 17.0 ],
“id” : “obj-8″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 350.0, 177.0, 35.0, 17.0 ],
“id” : “obj-9″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “slider”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 350.0, 120.0, 169.0, 38.0 ],
“size” : 86.0,
“id” : “obj-10″,
“parameter_enable” : 0,
“orientation” : 1,
“outlettype” : [ "" ],
“min” : 15.0
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “loadbang”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 275.0, 244.0, 48.0, 17.0 ],
“id” : “obj-11″,
“fontname” : “Arial”,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “delay 4″,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 208.0, 267.0, 43.0, 17.0 ],
“id” : “obj-12″,
“fontname” : “Arial”,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 1234.0, 582.0, 35.0, 17.0 ],
“id” : “obj-13″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 1169.0, 582.0, 35.0, 17.0 ],
“id” : “obj-14″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 1104.0, 582.0, 35.0, 17.0 ],
“id” : “obj-15″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 1039.0, 582.0, 35.0, 17.0 ],
“id” : “obj-16″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 974.0, 582.0, 35.0, 17.0 ],
“id” : “obj-17″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 909.0, 582.0, 35.0, 17.0 ],
“id” : “obj-18″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 844.0, 582.0, 35.0, 17.0 ],
“id” : “obj-19″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 779.0, 582.0, 35.0, 17.0 ],
“id” : “obj-20″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 714.0, 582.0, 35.0, 17.0 ],
“id” : “obj-21″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 649.0, 582.0, 35.0, 17.0 ],
“id” : “obj-22″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 584.0, 582.0, 35.0, 17.0 ],
“id” : “obj-23″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 519.0, 582.0, 35.0, 17.0 ],
“id” : “obj-24″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 454.0, 582.0, 35.0, 17.0 ],
“id” : “obj-25″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 389.0, 582.0, 35.0, 17.0 ],
“id” : “obj-26″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 324.0, 582.0, 35.0, 17.0 ],
“id” : “obj-27″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 259.0, 582.0, 35.0, 17.0 ],
“id” : “obj-28″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 194.0, 582.0, 35.0, 17.0 ],
“id” : “obj-29″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 9.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 129.0, 582.0, 35.0, 17.0 ],
“id” : “obj-30″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Serial Port Settings”,
“frgb” : 0.0,
“fontsize” : 18.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 395.0, 86.0, 237.0, 27.0 ],
“id” : “obj-31″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “pcontrol”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 976.0, 242.0, 47.0, 17.0 ],
“id” : “obj-32″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “open”,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 976.0, 221.0, 30.0, 15.0 ],
“id” : “obj-33″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p arduino2max_help”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 976.0, 264.0, 100.0, 17.0 ],
“id” : “obj-34″,
“fontname” : “Arial”,
“patcher” : {
“fileversion” : 1,
“appversion” : {
“major” : 6,
“minor” : 1,
“revision” : 4,
“architecture” : “x86″
}
,
“rect” : [ 483.0, 171.0, 717.0, 593.0 ],
“bglocked” : 0,
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“statusbarvisible” : 2,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“description” : “”,
“digest” : “”,
“tags” : “”,
“boxes” : [ {
"box" : {
"maxclass" : "comment",
"text" : "start",
"frgb" : 0.0,
"fontsize" : 10.0,
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 254.0, 165.0, 48.0, 18.0 ],
“id” : “obj-1″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “settings”,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 412.0, 162.0, 56.0, 18.0 ],
“id” : “obj-2″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 339.0, 190.0, 23.0, 23.0 ],
“id” : “obj-3″,
“fgcolor” : [ 1.0, 0.890196, 0.090196, 1.0 ],
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “help”,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 335.0, 163.0, 35.0, 18.0 ],
“id” : “obj-4″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Arduino2Max uses an Arduino board programmed with the Arduino code that watches the Arduino’s input pins and makes the pin data available through receive objects anywere in your patch.”,
“linecount” : 2,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 33.0, 79.0, 496.0, 29.0 ],
“id” : “obj-5″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “digital pins”,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 549.0, 309.0, 61.0, 17.0 ],
“id” : “obj-6″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “analog pins”,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 80.0, 309.0, 71.0, 17.0 ],
“id” : “obj-7″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 425.0, 190.0, 23.0, 23.0 ],
“id” : “obj-8″,
“fgcolor” : [ 1.0, 0.890196, 0.090196, 1.0 ],
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 253.0, 192.0, 21.0, 21.0 ],
“id” : “obj-9″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p arduinoreader”,
“fontsize” : 9.0,
“numinlets” : 3,
“numoutlets” : 0,
“patching_rect” : [ 253.0, 254.0, 183.0, 17.0 ],
“id” : “obj-10″,
“fontname” : “Arial”,
“patcher” : {
“fileversion” : 1,
“appversion” : {
“major” : 6,
“minor” : 1,
“revision” : 4,
“architecture” : “x86″
}
,
“rect” : [ -8.0, 44.0, 1295.0, 686.0 ],
“bglocked” : 0,
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“statusbarvisible” : 2,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“description” : “”,
“digest” : “”,
“tags” : “”,
“boxes” : [ {
"box" : {
"maxclass" : "inlet",
"numinlets" : 0,
"numoutlets" : 1,
"patching_rect" : [ 666.0, 67.0, 15.0, 15.0 ],
“id” : “obj-1″,
“outlettype” : [ "bang" ],
“comment” : “inlet to open help patch”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 1136.0, 64.0, 15.0, 15.0 ],
“id” : “obj-2″,
“outlettype” : [ "bang" ],
“comment” : “inlet for patcher control”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 73.0, 39.0, 15.0, 15.0 ],
“id” : “obj-3″,
“outlettype” : [ "int" ],
“comment” : “1 or 0 to start/stop serial reads”
}

}
],
“lines” : [ ]
}
,
“saved_object_attributes” : {
“default_fontface” : 0,
“default_fontname” : “Arial”,
“default_fontsize” : 12.0,
“description” : “”,
“digest” : “”,
“fontface” : 0,
“fontname” : “Arial”,
“fontsize” : 12.0,
“globalpatchername” : “”,
“tags” : “”
}

}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “A few notes: – Unused inputs will fluctuate between values. This is normal, as unconected pins do this on their own.”,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 35.0, 417.0, 585.0, 18.0 ],
“id” : “obj-11″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Once you have the above patch, you can get Arduino’s analog and digital values anywere in your own patcher by making a \”receive a#\” or \”receive d#\” object, where # is the input pin you want to read.”,
“linecount” : 3,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 189.0, 343.0, 319.0, 38.0 ],
“id” : “obj-12″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d3″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 600.0, 336.0, 29.0, 17.0 ],
“id” : “obj-13″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r d2″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 544.0, 336.0, 29.0, 17.0 ],
“id” : “obj-14″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a1″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 124.0, 336.0, 29.0, 17.0 ],
“id” : “obj-15″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r a0″,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 67.0, 336.0, 29.0, 17.0 ],
“id” : “obj-16″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 544.0, 364.0, 17.0, 17.0 ],
“id” : “obj-17″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “led”,
“numinlets” : 1,
“oncolor” : [ 1.0, 1.0, 0.0, 1.0 ],
“numoutlets” : 1,
“bgcolor” : [ 0.35294, 0.35294, 0.35294, 1.0 ],
“patching_rect” : [ 600.0, 364.0, 17.0, 17.0 ],
“id” : “obj-18″,
“parameter_enable” : 0,
“offcolor” : [ 1.0, 0.666667, 0.0, 1.0 ],
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 1.0, 0.741176, 0.611765, 1.0 ],
“patching_rect” : [ 67.0, 364.0, 40.0, 18.0 ],
“id” : “obj-19″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “number”,
“fontsize” : 10.0,
“htextcolor” : [ 0.870588, 0.870588, 0.870588, 1.0 ],
“numinlets” : 1,
“triscale” : 0.9,
“numoutlets” : 2,
“bgcolor” : [ 0.866667, 0.866667, 0.866667, 1.0 ],
“patching_rect” : [ 124.0, 364.0, 40.0, 18.0 ],
“id” : “obj-20″,
“fontname” : “Arial”,
“parameter_enable” : 0,
“outlettype” : [ "int", "bang" ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “- Arduino2Max runs flawlessly on a 1.83 GHz Macbook Pro;\ryour mileage may vary.”,
“linecount” : 2,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 35.0, 462.0, 655.0, 29.0 ],
“id” : “obj-21″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “- Patch adapted from Thomas Ouellet Fredericks’ \”Simple Message Sytem\” example. Serial writes are possible, but not implemented here: see the S.M.S. code. Thanks to Seejay James one the MAX list for the pull-down menu code!”,
“linecount” : 2,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 36.0, 491.0, 636.0, 29.0 ],
“id” : “obj-22″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “- You may have to change your serial port to suit the port in use. Click on the yellow button to see the guts of the serial read and to make changes to how the patch talks to the serial port.”,
“linecount” : 2,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 35.0, 433.0, 643.0, 29.0 ],
“id” : “obj-23″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “At minimum, you need the \”arduinoreader\” patcher at the right, which does the work of reading the pins. The toggle turns serial reads from the Arduino on and off.”,
“linecount” : 7,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 97.0, 175.0, 122.0, 79.0 ],
“id” : “obj-24″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “The right-hand yellow button opens the patch so that you can adjust settings, like how often to read from the Arduino and which port to use.”,
“linecount” : 7,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 495.0, 179.0, 104.0, 79.0 ],
“id” : “obj-25″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Arduino2Max”,
“frgb” : 0.0,
“fontsize” : 18.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 33.0, 33.0, 163.0, 27.0 ],
“id” : “obj-26″,
“fontname” : “Arial”,
“textcolor” : [ 0.082353, 0.219608, 0.035294, 1.0 ]
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Read the 6 analog and 12 digital input pins of the Arduino into MAX.”,
“frgb” : 0.0,
“fontsize” : 10.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 218.0, 39.0, 334.0, 18.0 ],
“id” : “obj-27″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 1.0, 0.968627, 0.811765, 1.0 ],
“patching_rect” : [ 18.0, 29.0, 670.0, 101.0 ],
“id” : “obj-28″,
“rounded” : 0
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 594.0, 21.0, 15.0, 15.0 ],
“id” : “obj-29″,
“outlettype” : [ "" ],
“hidden” : 1,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 1.0, 0.968627, 0.811765, 1.0 ],
“patching_rect” : [ 18.0, 412.0, 671.0, 114.0 ],
“id” : “obj-30″,
“rounded” : 0
}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 0.509804, 0.854902, 0.909804, 1.0 ],
“patching_rect” : [ 43.0, 332.0, 128.0, 57.0 ],
“id” : “obj-31″,
“rounded” : 0
}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 0.509804, 0.854902, 0.909804, 1.0 ],
“patching_rect” : [ 245.0, 154.0, 227.0, 129.0 ],
“id” : “obj-32″,
“rounded” : 0
}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 0.509804, 0.854902, 0.909804, 1.0 ],
“patching_rect” : [ 515.0, 329.0, 139.0, 57.0 ],
“id” : “obj-33″,
“rounded” : 0
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-9", 0 ],
“destination” : [ "obj-10", 0 ],
“hidden” : 0,
“midpoints” : [ 262.5, 224.0, 262.5, 224.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-8", 0 ],
“destination” : [ "obj-10", 2 ],
“hidden” : 0,
“midpoints” : [ 434.5, 226.0, 426.5, 226.0 ],
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-16", 0 ],
“destination” : [ "obj-19", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-15", 0 ],
“destination” : [ "obj-20", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-14", 0 ],
“destination” : [ "obj-17", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-18", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
]
}
,
“saved_object_attributes” : {
“default_fontface” : 0,
“default_fontname” : “Arial”,
“default_fontsize” : 12.0,
“description” : “”,
“digest” : “”,
“fontface” : 0,
“fontname” : “Arial”,
“fontsize” : 12.0,
“globalpatchername” : “”,
“tags” : “”
}

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “r onoff”,
“fontsize” : 9.0,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 61.0, 137.0, 41.0, 17.0 ],
“id” : “obj-35″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 1173.0, 146.0, 15.0, 15.0 ],
“id” : “obj-36″,
“outlettype” : [ "int" ],
“comment” : “inlet for patcher control”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “help and patcher control stuff.”,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 978.0, 289.0, 168.0, 17.0 ],
“id” : “obj-37″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 129.0, 120.0, 15.0, 15.0 ],
“id” : “obj-38″,
“outlettype” : [ "int" ],
“comment” : “1 or 0 to start/stop serial reads”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Print a list of serial ports to the max window”,
“frgb” : 0.0,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 397.0, 251.0, 243.0, 17.0 ],
“id” : “obj-39″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 208.0, 299.0, 15.0, 15.0 ],
“id” : “obj-40″,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p convert”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 129.0, 290.0, 53.0, 17.0 ],
“id” : “obj-41″,
“fontname” : “Arial”,
“outlettype” : [ "" ],
“patcher” : {
“fileversion” : 1,
“appversion” : {
“major” : 6,
“minor” : 1,
“revision” : 4,
“architecture” : “x86″
}
,
“rect” : [ 289.0, 44.0, 838.0, 659.0 ],
“bglocked” : 0,
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“statusbarvisible” : 2,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“description” : “”,
“digest” : “”,
“tags” : “”,
“boxes” : [ {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 99.0, 316.0, 15.0, 15.0 ],
“id” : “obj-1″,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “spell”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 107.0, 210.0, 31.0, 17.0 ],
“id” : “obj-2″,
“fontname” : “Arial”,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “13″,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 90.0, 241.0, 20.0, 15.0 ],
“id” : “obj-3″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “t b l”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 90.0, 127.0, 27.0, 17.0 ],
“id” : “obj-4″,
“fontname” : “Arial”,
“outlettype” : [ "bang", "" ]
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 90.0, 70.0, 15.0, 15.0 ],
“id” : “obj-5″,
“outlettype” : [ "" ],
“comment” : “”
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-5", 0 ],
“destination” : [ "obj-4", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“midpoints” : [ 99.5, 235.0, 98.0, 235.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-4", 1 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-3", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“midpoints” : [ 99.5, 286.0, 108.0, 286.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-2", 0 ],
“destination” : [ "obj-1", 0 ],
“hidden” : 0,
“midpoints” : [ 116.5, 286.0, 108.0, 286.0 ],
“disabled” : 0
}

}
]
}
,
“saved_object_attributes” : {
“default_fontface” : 0,
“default_fontname” : “Arial”,
“default_fontsize” : 12.0,
“description” : “”,
“digest” : “”,
“fontface” : 0,
“fontname” : “Arial”,
“fontsize” : 12.0,
“globalpatchername” : “”,
“tags” : “”
}

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d12″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 1169.0, 697.0, 35.0, 17.0 ],
“id” : “obj-42″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d13″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 1234.0, 697.0, 35.0, 17.0 ],
“id” : “obj-43″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d11″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 1104.0, 697.0, 35.0, 17.0 ],
“id” : “obj-44″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d10″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 1039.0, 697.0, 35.0, 17.0 ],
“id” : “obj-45″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d9″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 974.0, 697.0, 29.0, 17.0 ],
“id” : “obj-46″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d8″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 909.0, 697.0, 29.0, 17.0 ],
“id” : “obj-47″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d6″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 779.0, 697.0, 29.0, 17.0 ],
“id” : “obj-48″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d7″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 844.0, 697.0, 29.0, 17.0 ],
“id” : “obj-49″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d5″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 714.0, 697.0, 29.0, 17.0 ],
“id” : “obj-50″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d4″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 649.0, 697.0, 29.0, 17.0 ],
“id” : “obj-51″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d3″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 584.0, 697.0, 29.0, 17.0 ],
“id” : “obj-52″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s d2″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 519.0, 697.0, 29.0, 17.0 ],
“id” : “obj-53″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s a4″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 389.0, 697.0, 29.0, 17.0 ],
“id” : “obj-54″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s a5″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 454.0, 697.0, 29.0, 17.0 ],
“id” : “obj-55″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s a3″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 324.0, 697.0, 29.0, 17.0 ],
“id” : “obj-56″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s a2″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 259.0, 697.0, 29.0, 17.0 ],
“id” : “obj-57″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s a1″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 194.0, 697.0, 29.0, 17.0 ],
“id” : “obj-58″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “s a0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 0,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 129.0, 697.0, 29.0, 17.0 ],
“id” : “obj-59″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p convertback”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 129.0, 412.0, 73.0, 17.0 ],
“id” : “obj-60″,
“fontname” : “Arial”,
“outlettype” : [ "" ],
“patcher” : {
“fileversion” : 1,
“appversion” : {
“major” : 6,
“minor” : 1,
“revision” : 4,
“architecture” : “x86″
}
,
“rect” : [ 582.0, 197.0, 281.0, 423.0 ],
“bglocked” : 0,
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“statusbarvisible” : 2,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“description” : “”,
“digest” : “”,
“tags” : “”,
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "fromsymbol",
"fontsize" : 9.0,
"numinlets" : 1,
"numoutlets" : 1,
"patching_rect" : [ 137.0, 226.0, 64.0, 17.0 ],
“id” : “obj-1″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “itoa”,
“fontsize” : 9.0,
“numinlets” : 3,
“numoutlets” : 1,
“patching_rect” : [ 137.0, 182.0, 40.0, 17.0 ],
“id” : “obj-2″,
“fontname” : “Arial”,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “zl group 78″,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 137.0, 148.0, 61.0, 17.0 ],
“id” : “obj-3″,
“fontname” : “Arial”,
“outlettype” : [ "", "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “sel 10 13″,
“fontsize” : 9.0,
“numinlets” : 3,
“numoutlets” : 3,
“patching_rect” : [ 137.0, 84.0, 53.0, 17.0 ],
“id” : “obj-4″,
“fontname” : “Arial”,
“outlettype” : [ "bang", "bang", "" ]
}

}
, {
“box” : {
“maxclass” : “outlet”,
“numinlets” : 1,
“numoutlets” : 0,
“patching_rect” : [ 137.0, 298.0, 26.0, 26.0 ],
“id” : “obj-5″,
“comment” : “out”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 137.0, 37.0, 15.0, 15.0 ],
“id” : “obj-6″,
“outlettype” : [ "int" ],
“comment” : “in”
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-6", 0 ],
“destination” : [ "obj-4", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-4", 1 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“midpoints” : [ 163.5, 124.0, 146.5, 124.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-4", 2 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“midpoints” : [ 180.5, 124.0, 146.5, 124.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-3", 0 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

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

}
]
}
,
“saved_object_attributes” : {
“default_fontface” : 0,
“default_fontname” : “Arial”,
“default_fontsize” : 12.0,
“description” : “”,
“digest” : “”,
“fontface” : 0,
“fontname” : “Arial”,
“fontsize” : 12.0,
“globalpatchername” : “”,
“tags” : “”
}

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “route list”,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 129.0, 470.0, 52.0, 17.0 ],
“id” : “obj-61″,
“fontname” : “Arial”,
“outlettype” : [ "", "" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 1234.0, 611.0, 49.0, 17.0 ],
“id” : “obj-62″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 1169.0, 611.0, 49.0, 17.0 ],
“id” : “obj-63″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 1104.0, 611.0, 49.0, 17.0 ],
“id” : “obj-64″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 1039.0, 611.0, 49.0, 17.0 ],
“id” : “obj-65″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 974.0, 611.0, 49.0, 17.0 ],
“id” : “obj-66″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 909.0, 611.0, 49.0, 17.0 ],
“id” : “obj-67″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 844.0, 611.0, 49.0, 17.0 ],
“id” : “obj-68″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 779.0, 611.0, 49.0, 17.0 ],
“id” : “obj-69″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 714.0, 611.0, 49.0, 17.0 ],
“id” : “obj-70″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 649.0, 611.0, 49.0, 17.0 ],
“id” : “obj-71″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 584.0, 611.0, 49.0, 17.0 ],
“id” : “obj-72″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 0.156863, 0.8, 0.54902, 1.0 ],
“patching_rect” : [ 519.0, 611.0, 49.0, 17.0 ],
“id” : “obj-73″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 454.0, 611.0, 49.0, 17.0 ],
“id” : “obj-74″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 389.0, 611.0, 49.0, 17.0 ],
“id” : “obj-75″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 324.0, 611.0, 49.0, 17.0 ],
“id” : “obj-76″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 259.0, 611.0, 49.0, 17.0 ],
“id” : “obj-77″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 194.0, 611.0, 49.0, 17.0 ],
“id” : “obj-78″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 3,
“color” : [ 1.0, 0.360784, 0.682353, 1.0 ],
“patching_rect” : [ 129.0, 611.0, 49.0, 17.0 ],
“id” : “obj-79″,
“fontname” : “Arial”,
“outlettype” : [ "", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “unpack i i i i i i i i i i i i i i i i i i”,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 18,
“patching_rect” : [ 129.0, 528.0, 1131.0, 17.0 ],
“id” : “obj-80″,
“fontname” : “Arial”,
“outlettype” : [ "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int", "int" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “r”,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 129.0, 240.0, 16.0, 15.0 ],
“id” : “obj-81″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 129.0, 157.0, 15.0, 15.0 ],
“id” : “obj-82″,
“parameter_enable” : 0,
“outlettype” : [ "int" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “metro 15″,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 129.0, 204.0, 52.0, 17.0 ],
“id” : “obj-83″,
“fontname” : “Arial”,
“outlettype” : [ "bang" ]
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “serial a 115200 8 1 0″,
“fontsize” : 9.0,
“numinlets” : 1,
“numoutlets” : 2,
“patching_rect” : [ 129.0, 365.0, 110.0, 17.0 ],
“id” : “obj-84″,
“fontname” : “Arial”,
“outlettype” : [ "int", "" ]
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “print”,
“fontsize” : 9.0,
“numinlets” : 2,
“numoutlets” : 1,
“patching_rect” : [ 350.0, 301.0, 32.0, 15.0 ],
“id” : “obj-85″,
“fontname” : “Arial”,
“outlettype” : [ "" ]
}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 0.619608, 0.87451, 0.996078, 1.0 ],
“patching_rect” : [ 327.0, 76.0, 398.0, 255.0 ],
“id” : “obj-86″,
“rounded” : 0
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-9", 0 ],
“destination” : [ "obj-83", 1 ],
“hidden” : 0,
“midpoints” : [ 359.5, 199.0, 171.5, 199.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-85", 0 ],
“destination” : [ "obj-84", 0 ],
“hidden” : 0,
“midpoints” : [ 359.5, 341.0, 138.5, 341.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-84", 0 ],
“destination” : [ "obj-60", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-84", 1 ],
“destination” : [ "obj-5", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-83", 0 ],
“destination” : [ "obj-81", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-83", 0 ],
“destination” : [ "obj-12", 0 ],
“hidden” : 0,
“midpoints” : [ 138.5, 232.0, 217.5, 232.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-82", 0 ],
“destination” : [ "obj-83", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-80", 0 ],
“destination” : [ "obj-30", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 1 ],
“destination” : [ "obj-29", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 2 ],
“destination” : [ "obj-28", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 3 ],
“destination” : [ "obj-27", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 4 ],
“destination” : [ "obj-26", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 5 ],
“destination” : [ "obj-25", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 6 ],
“destination” : [ "obj-24", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 7 ],
“destination” : [ "obj-23", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 8 ],
“destination” : [ "obj-22", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 9 ],
“destination” : [ "obj-21", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 10 ],
“destination” : [ "obj-20", 0 ],
“hidden” : 0,
“midpoints” : [ 792.617676, 570.0, 788.5, 570.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 11 ],
“destination” : [ "obj-19", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 12 ],
“destination” : [ "obj-18", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 13 ],
“destination” : [ "obj-17", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 14 ],
“destination” : [ "obj-16", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 15 ],
“destination” : [ "obj-15", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 16 ],
“destination” : [ "obj-14", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 17 ],
“destination” : [ "obj-13", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-79", 0 ],
“destination” : [ "obj-59", 0 ],
“hidden” : 0,
“midpoints” : [ 138.5, 678.0, 138.5, 678.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-78", 0 ],
“destination” : [ "obj-58", 0 ],
“hidden” : 0,
“midpoints” : [ 203.5, 680.0, 203.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-77", 0 ],
“destination” : [ "obj-57", 0 ],
“hidden” : 0,
“midpoints” : [ 268.5, 680.0, 268.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-76", 0 ],
“destination” : [ "obj-56", 0 ],
“hidden” : 0,
“midpoints” : [ 333.5, 680.0, 333.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-75", 0 ],
“destination” : [ "obj-54", 0 ],
“hidden” : 0,
“midpoints” : [ 398.5, 680.0, 398.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-74", 0 ],
“destination” : [ "obj-55", 0 ],
“hidden” : 0,
“midpoints” : [ 463.5, 680.0, 463.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-73", 0 ],
“destination” : [ "obj-53", 0 ],
“hidden” : 0,
“midpoints” : [ 528.5, 680.0, 528.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-72", 0 ],
“destination” : [ "obj-52", 0 ],
“hidden” : 0,
“midpoints” : [ 593.5, 680.0, 593.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-71", 0 ],
“destination” : [ "obj-51", 0 ],
“hidden” : 0,
“midpoints” : [ 658.5, 680.0, 658.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-70", 0 ],
“destination” : [ "obj-50", 0 ],
“hidden” : 0,
“midpoints” : [ 723.5, 680.0, 723.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-7", 0 ],
“destination” : [ "obj-85", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-69", 0 ],
“destination” : [ "obj-48", 0 ],
“hidden” : 0,
“midpoints” : [ 788.5, 680.0, 788.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-68", 0 ],
“destination” : [ "obj-49", 0 ],
“hidden” : 0,
“midpoints” : [ 853.5, 680.0, 853.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-67", 0 ],
“destination” : [ "obj-47", 0 ],
“hidden” : 0,
“midpoints” : [ 918.5, 680.0, 918.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-66", 0 ],
“destination” : [ "obj-46", 0 ],
“hidden” : 0,
“midpoints” : [ 983.5, 680.0, 983.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-65", 0 ],
“destination” : [ "obj-45", 0 ],
“hidden” : 0,
“midpoints” : [ 1048.5, 680.0, 1048.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-64", 0 ],
“destination” : [ "obj-44", 0 ],
“hidden” : 0,
“midpoints” : [ 1113.5, 680.0, 1113.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-63", 0 ],
“destination” : [ "obj-42", 0 ],
“hidden” : 0,
“midpoints” : [ 1178.5, 680.0, 1178.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-62", 0 ],
“destination” : [ "obj-43", 0 ],
“hidden” : 0,
“midpoints” : [ 1243.5, 680.0, 1243.5, 680.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-61", 0 ],
“destination” : [ "obj-80", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-60", 0 ],
“destination” : [ "obj-61", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-6", 0 ],
“destination” : [ "obj-84", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-5", 0 ],
“destination” : [ "obj-4", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-40", 0 ],
“destination” : [ "obj-84", 0 ],
“hidden” : 0,
“midpoints” : [ 217.0, 333.0, 138.5, 333.0 ],
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-36", 0 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-35", 0 ],
“destination” : [ "obj-82", 0 ],
“hidden” : 0,
“midpoints” : [ 70.5, 155.0, 138.0, 155.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-33", 0 ],
“destination” : [ "obj-32", 0 ],
“hidden” : 1,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-32", 0 ],
“destination” : [ "obj-34", 0 ],
“hidden” : 1,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-30", 0 ],
“destination” : [ "obj-79", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-3", 0 ],
“destination” : [ "obj-6", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-29", 0 ],
“destination” : [ "obj-78", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-27", 0 ],
“destination” : [ "obj-76", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-26", 0 ],
“destination” : [ "obj-75", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-24", 0 ],
“destination” : [ "obj-73", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-22", 0 ],
“destination” : [ "obj-71", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-20", 0 ],
“destination” : [ "obj-69", 0 ],
“hidden” : 0,
“midpoints” : [ 788.5, 604.0, 788.5, 604.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-19", 0 ],
“destination” : [ "obj-68", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-18", 0 ],
“destination” : [ "obj-67", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-17", 0 ],
“destination” : [ "obj-66", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-16", 0 ],
“destination” : [ "obj-65", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-15", 0 ],
“destination” : [ "obj-64", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-14", 0 ],
“destination” : [ "obj-63", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-62", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-11", 0 ],
“destination” : [ "obj-85", 0 ],
“hidden” : 0,
“midpoints” : [ 284.5, 281.0, 359.5, 281.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-10", 0 ],
“destination” : [ "obj-9", 0 ],
“hidden” : 0,
“midpoints” : [ 359.5, 167.0, 359.5, 167.0 ],
“disabled” : 0
}

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

}
]
}
,
“saved_object_attributes” : {
“default_fontface” : 0,
“default_fontname” : “Arial”,
“default_fontsize” : 12.0,
“description” : “”,
“digest” : “”,
“fontface” : 0,
“fontname” : “Arial”,
“fontsize” : 12.0,
“globalpatchername” : “”,
“tags” : “”
}

}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 0.509804, 0.854902, 0.909804, 1.0 ],
“patching_rect” : [ 43.0, 208.0, 300.0, 128.0 ],
“id” : “obj-55″,
“rounded” : 0
}

}
, {
“box” : {
“maxclass” : “panel”,
“numinlets” : 1,
“numoutlets” : 0,
“bgcolor” : [ 0.509804, 0.854902, 0.909804, 1.0 ],
“patching_rect” : [ 41.0, 52.0, 487.0, 129.0 ],
“id” : “obj-56″,
“rounded” : 0
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-92", 1 ],
“destination” : [ "obj-1", 1 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-93", 0 ],
“destination” : [ "obj-9", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-9", 0 ],
“destination” : [ "obj-92", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-87", 0 ],
“destination” : [ "obj-85", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-86", 0 ],
“destination” : [ "obj-80", 2 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-85", 0 ],
“destination” : [ "obj-88", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-85", 0 ],
“destination” : [ "obj-88", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-84", 0 ],
“destination” : [ "obj-83", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-83", 0 ],
“destination” : [ "obj-85", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-82", 0 ],
“destination” : [ "obj-4", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-82", 0 ],
“destination” : [ "obj-12", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-81", 0 ],
“destination” : [ "obj-66", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-81", 0 ],
“destination” : [ "obj-61", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-80", 0 ],
“destination” : [ "obj-87", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-79", 0 ],
“destination” : [ "obj-80", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-78", 0 ],
“destination” : [ "obj-80", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-76", 0 ],
“destination” : [ "obj-74", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-75", 0 ],
“destination” : [ "obj-71", 2 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-74", 0 ],
“destination” : [ "obj-77", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-74", 0 ],
“destination” : [ "obj-77", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-73", 0 ],
“destination” : [ "obj-72", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-72", 0 ],
“destination” : [ "obj-74", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-71", 0 ],
“destination” : [ "obj-76", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-70", 0 ],
“destination” : [ "obj-71", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-7", 0 ],
“destination” : [ "obj-32", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-69", 0 ],
“destination” : [ "obj-71", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-67", 0 ],
“destination” : [ "obj-65", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-66", 0 ],
“destination” : [ "obj-62", 2 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-65", 0 ],
“destination” : [ "obj-68", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-65", 0 ],
“destination” : [ "obj-68", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-64", 0 ],
“destination” : [ "obj-63", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-63", 0 ],
“destination” : [ "obj-65", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-62", 0 ],
“destination” : [ "obj-67", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-61", 0 ],
“destination” : [ "obj-62", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-60", 0 ],
“destination” : [ "obj-62", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-6", 0 ],
“destination” : [ "obj-53", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-58", 0 ],
“destination” : [ "obj-19", 2 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-57", 0 ],
“destination” : [ "obj-75", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-57", 0 ],
“destination” : [ "obj-70", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-54", 0 ],
“destination” : [ "obj-86", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-54", 0 ],
“destination” : [ "obj-79", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-50", 0 ],
“destination” : [ "obj-53", 0 ],
“hidden” : 0,
“midpoints” : [ 66.5, 128.0, 66.5, 128.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-5", 0 ],
“destination” : [ "obj-6", 0 ],
“hidden” : 1,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-48", 0 ],
“destination” : [ "obj-84", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-47", 0 ],
“destination” : [ "obj-73", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-46", 0 ],
“destination” : [ "obj-64", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-45", 0 ],
“destination” : [ "obj-10", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-44", 0 ],
“destination” : [ "obj-93", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-43", 0 ],
“destination” : [ "obj-22", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-42", 0 ],
“destination” : [ "obj-3", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

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

}
, {
“patchline” : {
“source” : [ "obj-4", 0 ],
“destination” : [ "obj-7", 1 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-36", 0 ],
“destination” : [ "obj-58", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-36", 0 ],
“destination” : [ "obj-20", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-33", 0 ],
“destination” : [ "obj-82", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-32", 0 ],
“destination” : [ "obj-11", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-31", 0 ],
“destination” : [ "obj-81", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-30", 0 ],
“destination” : [ "obj-57", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-3", 0 ],
“destination” : [ "obj-7", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-29", 0 ],
“destination” : [ "obj-43", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-28", 0 ],
“destination” : [ "obj-54", 0 ],
“hidden” : 0,
“midpoints” : [ 712.5, 198.0, 712.5, 198.0 ],
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-27", 0 ],
“destination” : [ "obj-42", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

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

}
, {
“patchline” : {
“source” : [ "obj-24", 0 ],
“destination” : [ "obj-37", 0 ],
“hidden” : 0,
“midpoints” : [ 984.5, 202.0, 984.5, 202.0 ],
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-22", 0 ],
“destination” : [ "obj-19", 0 ],
“hidden” : 0,
“disabled” : 0
}

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

}
, {
“patchline” : {
“source” : [ "obj-20", 0 ],
“destination” : [ "obj-19", 1 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-2", 0 ],
“destination” : [ "obj-92", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-19", 0 ],
“destination” : [ "obj-2", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-18", 0 ],
“destination” : [ "obj-44", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-17", 0 ],
“destination” : [ "obj-45", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-16", 0 ],
“destination” : [ "obj-46", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-15", 0 ],
“destination” : [ "obj-47", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-14", 0 ],
“destination” : [ "obj-49", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-13", 0 ],
“destination” : [ "obj-48", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-12", 0 ],
“destination” : [ "obj-7", 2 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 0 ],
“destination” : [ "obj-59", 0 ],
“hidden” : 0,
“disabled” : 0
}

}
, {
“patchline” : {
“source” : [ "obj-11", 0 ],
“destination” : [ "obj-59", 1 ],
“hidden” : 0,
“disabled” : 0
}

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

}
],
“appversion” : {
“major” : 6,
“minor” : 1,
“revision” : 4,
“architecture” : “x86″
}

}

#270887
Nov 11, 2013 at 6:16pm

We are also using Arduino Unos

#270888
Nov 12, 2013 at 4:23am

Try uploading the code with the copy compressed function.

#270942
Nov 12, 2013 at 9:08am

Ok I will once I find out how to do it haha

#270969
Nov 12, 2013 at 9:10am

I added the file instead. So you that you can just open it up in Max/msp if thats ok

#270970

You must be logged in to reply to this topic.