Getting single bangs from sliders controlled by arduino….

May 21, 2010 at 11:20am

Getting single bangs from sliders controlled by arduino….

Hi

This is a really simple question but I just can’t figure it out.

I have a one input soundcard and want to record to four separate buffers at different times, so I have light sensor information controlling the signal levels going into each of four buffers. Basically I want to say ‘when this light sensor makes this slider move above 50, turn off the signal going into the other buffers’. It seems to work when I just drag the sliders, but not when they run off the arduino sensor informtion.

Also, along the same lines, I need to be able to say ‘when the value (coming in from a light sensor) on this slider is below 50, don’t play the buffer, and when it is above 50 set the sample to loop). I can’t figure out a way to get single bangs from the ==50 object to do this….

Please help!

Here’s the Patch…

{
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "sel",
"numinlets" : 2,
"fontsize" : 12.0,
"numoutlets" : 2,
"patching_rect" : [ 513.0, 339.0, 32.5, 20.0 ],
“outlettype” : [ "bang", "" ],
“id” : “obj-302″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “change”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 3,
“patching_rect” : [ 513.0, 270.0, 50.0, 20.0 ],
“outlettype” : [ "", "int", "int" ],
“id” : “obj-301″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “if”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 504.0, 306.0, 18.0, 20.0 ],
“id” : “obj-293″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “number”,
“presentation_rect” : [ 139.0, 243.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 2,
“patching_rect” : [ 139.0, 243.0, 50.0, 20.0 ],
“outlettype” : [ "int", "bang" ],
“id” : “obj-290″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send stopyfour”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1386.0, 556.0, 89.0, 20.0 ],
“hidden” : 1,
“id” : “obj-275″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send stopthree”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1279.0, 505.0, 90.0, 20.0 ],
“hidden” : 1,
“id” : “obj-271″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send stoptwo”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1167.0, 459.0, 81.0, 20.0 ],
“hidden” : 1,
“id” : “obj-262″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “< 50",
“presentation_rect” : [ 1374.0, 393.0, 0.0, 0.0 ],
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1340.0, 537.0, 34.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-260″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “< 50",
“presentation_rect” : [ 1268.0, 395.0, 0.0, 0.0 ],
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1230.0, 485.0, 34.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-257″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “< 50",
“presentation_rect” : [ 1155.0, 388.0, 0.0, 0.0 ],
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1131.0, 436.0, 34.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-256″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Stop “,
“presentation_rect” : [ 1569.0, 981.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1565.0, 974.0, 42.0, 20.0 ],
“id” : “obj-250″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“presentation_rect” : [ 1539.0, 953.0, 0.0, 0.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 1539.0, 953.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-254″
}

}
, {
“box” : {
“maxclass” : “button”,
“presentation_rect” : [ 1541.0, 983.0, 0.0, 0.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 1540.0, 976.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-255″
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Stop “,
“presentation_rect” : [ 1095.0, 978.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1085.0, 971.0, 42.0, 20.0 ],
“id” : “obj-230″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“presentation_rect” : [ 1065.0, 950.0, 0.0, 0.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 1065.0, 950.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-231″
}

}
, {
“box” : {
“maxclass” : “button”,
“presentation_rect” : [ 1067.0, 980.0, 0.0, 0.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 1065.0, 973.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-248″
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Stop “,
“presentation_rect” : [ 595.0, 1012.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 591.0, 1008.0, 42.0, 20.0 ],
“id” : “obj-227″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“presentation_rect” : [ 565.0, 984.0, 0.0, 0.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 565.0, 984.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-228″
}

}
, {
“box” : {
“maxclass” : “button”,
“presentation_rect” : [ 567.0, 1014.0, 0.0, 0.0 ],
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 565.0, 1008.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-229″
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Stop “,
“presentation_rect” : [ 77.0, 998.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 77.0, 998.0, 42.0, 20.0 ],
“id” : “obj-226″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Play “,
“presentation_rect” : [ 1565.0, 959.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1562.0, 952.0, 42.0, 20.0 ],
“id” : “obj-225″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Play “,
“presentation_rect” : [ 1097.0, 957.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1089.0, 949.0, 42.0, 20.0 ],
“id” : “obj-224″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Play “,
“presentation_rect” : [ 593.0, 989.0, 0.0, 0.0 ],
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 590.0, 985.0, 42.0, 20.0 ],
“id” : “obj-222″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive playfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1473.0, 844.0, 95.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-219″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive stopfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1474.0, 864.0, 96.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-221″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive playthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 991.0, 846.0, 102.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-216″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive stopthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 992.0, 866.0, 103.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-217″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive playtwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 470.0, 878.0, 93.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-99″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive stoptwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 471.0, 898.0, 94.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-178″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive playone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 3.0, 860.0, 95.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-98″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive stopone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 4.0, 880.0, 95.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-96″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “< 50",
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1042.0, 391.0, 34.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-53″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send stopone”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1003.0, 416.0, 83.0, 20.0 ],
“hidden” : 1,
“id” : “obj-56″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive loadbang”,
“presentation_rect” : [ 1696.0, 230.0, 0.0, 0.0 ],
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1696.0, 230.0, 102.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-50″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “90″,
“presentation_rect” : [ 1702.0, 264.0, 0.0, 0.0 ],
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1702.0, 264.0, 34.5, 18.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-48″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “0.5″,
“presentation_rect” : [ 1699.0, 286.0, 0.0, 0.0 ],
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1687.0, 295.0, 34.5, 18.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-49″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive teapot”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1605.0, 250.0, 86.0, 20.0 ],
“outlettype” : [ "" ],
“id” : “obj-18″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 47.0, 970.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-47″
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1291.0, 536.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-19″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1184.0, 486.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-25″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1087.0, 437.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-41″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 967.0, 390.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-44″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recoff”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1635.0, 630.0, 82.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-366″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recoff”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1170.0, 630.0, 82.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-365″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recoff”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 150.0, 630.0, 82.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-364″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1800.0, 705.0, 90.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-359″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1800.0, 675.0, 97.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-360″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rectwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1800.0, 645.0, 88.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-361″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1800.0, 615.0, 89.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-362″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1305.0, 705.0, 90.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-355″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1305.0, 675.0, 97.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-356″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rectwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1305.0, 645.0, 88.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-357″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1305.0, 615.0, 89.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-358″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 780.0, 720.0, 90.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-351″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 780.0, 690.0, 97.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-352″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rectwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 780.0, 660.0, 88.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-353″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 780.0, 630.0, 89.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-354″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 300.0, 705.0, 90.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-350″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 300.0, 675.0, 97.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-349″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rectwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 300.0, 645.0, 88.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-348″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “toggle”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 150.0, 735.0, 20.0, 20.0 ],
“outlettype” : [ "int" ],
“id” : “obj-336″
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “The Switch”,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 16.0,
“numoutlets” : 0,
“patching_rect” : [ 765.0, 150.0, 101.0, 25.0 ],
“id” : “obj-327″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “meter~”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 1581.0, 401.0, 161.0, 38.0 ],
“outlettype” : [ "float" ],
“id” : “obj-326″
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Send out initial Bangs”,
“linecount” : 2,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1492.0, 182.0, 101.0, 34.0 ],
“hidden” : 1,
“id” : “obj-325″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Sund Out”,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 16.0,
“numoutlets” : 0,
“patching_rect” : [ 1531.0, 338.0, 81.0, 25.0 ],
“id” : “obj-324″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Sound In”,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 16.0,
“numoutlets” : 0,
“patching_rect” : [ 1591.0, 36.0, 81.0, 25.0 ],
“id” : “obj-323″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 300.0, 615.0, 89.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-322″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive recoff”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 645.0, 630.0, 82.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-321″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send recfour”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 60.0, 435.0, 77.0, 20.0 ],
“id” : “obj-318″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send recthree”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 60.0, 405.0, 84.0, 20.0 ],
“id” : “obj-317″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send rectwo”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 60.0, 375.0, 75.0, 20.0 ],
“id” : “obj-316″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send recone”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 60.0, 345.0, 77.0, 20.0 ],
“id” : “obj-315″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p send off”,
“numinlets” : 4,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1184.0, 330.0, 63.0, 20.0 ],
“hidden” : 1,
“id” : “obj-314″,
“fontname” : “Arial”,
“patcher” : {
“fileversion” : 1,
“rect” : [ 25.0, 69.0, 640.0, 480.0 ],
“bglocked” : 0,
“defrect” : [ 25.0, 69.0, 640.0, 480.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“boxes” : [ {
"box" : {
"maxclass" : "newobj",
"text" : "send recoff",
"numinlets" : 1,
"fontsize" : 12.0,
"numoutlets" : 0,
"patching_rect" : [ 77.0, 242.0, 70.0, 20.0 ],
“id” : “obj-1″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Switch ON the correct channels when == 50″,
“linecount” : 2,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 321.089966, 107.309998, 140.0, 34.0 ],
“id” : “obj-305″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Start PLAYING when light levels = 50″,
“linecount” : 3,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 50.0, 100.0, 93.0, 48.0 ],
“hidden” : 1,
“id” : “obj-293″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “four”,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 274.0, 138.0, 32.5, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-56″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “three”,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 229.0, 138.0, 38.0, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-53″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “two”,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 184.0, 138.0, 32.5, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-47″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “one”,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 139.0, 138.0, 32.5, 18.0 ],
“outlettype” : [ "" ],
“id” : “obj-45″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “route one two three four”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 5,
“patching_rect” : [ 140.0, 162.0, 168.0, 20.0 ],
“outlettype” : [ "", "", "", "", "" ],
“hidden” : 1,
“id” : “obj-25″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 275.0, 107.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-50″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 229.0, 108.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-49″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 184.0, 108.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-48″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “== 50″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 139.0, 108.0, 41.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-44″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 139.0, 40.0, 25.0, 25.0 ],
“outlettype” : [ "" ],
“id” : “obj-310″,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 184.0, 40.0, 25.0, 25.0 ],
“outlettype” : [ "" ],
“id” : “obj-311″,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 229.0, 40.0, 25.0, 25.0 ],
“outlettype” : [ "" ],
“id” : “obj-312″,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 275.0, 40.0, 25.0, 25.0 ],
“outlettype” : [ "" ],
“id” : “obj-313″,
“comment” : “”
}

}
],
“lines” : [ {
"patchline" : {
"source" : [ "obj-45", 0 ],
“destination” : [ "obj-25", 0 ],
“hidden” : 1,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-47", 0 ],
“destination” : [ "obj-25", 0 ],
“hidden” : 1,
“midpoints” : [ ]
}

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

}
, {
“patchline” : {
“source” : [ "obj-56", 0 ],
“destination” : [ "obj-25", 0 ],
“hidden” : 1,
“midpoints” : [ ]
}

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

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

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

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

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

}
, {
“patchline” : {
“source” : [ "obj-44", 0 ],
“destination” : [ "obj-45", 0 ],
“hidden” : 1,
“midpoints” : [ ]
}

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

}
, {
“patchline” : {
“source” : [ "obj-48", 0 ],
“destination” : [ "obj-47", 0 ],
“hidden” : 1,
“midpoints” : [ ]
}

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

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

}
, {
“patchline” : {
“source” : [ "obj-313", 0 ],
“destination” : [ "obj-50", 0 ],
“hidden” : 0,
“midpoints” : [ ]
}

}
, {
“patchline” : {
“source” : [ "obj-50", 0 ],
“destination” : [ "obj-56", 0 ],
“hidden” : 1,
“midpoints” : [ ]
}

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

}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1499.0, 671.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-252″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1499.0, 647.0, 84.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-266″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rtwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1500.0, 623.0, 75.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-308″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1500.0, 600.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-309″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1035.0, 675.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-204″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1035.0, 651.0, 84.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-234″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rtwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1036.0, 627.0, 75.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-239″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1036.0, 602.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-249″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 536.0, 703.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-74″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 536.0, 679.0, 84.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-75″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rtwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 537.0, 655.0, 75.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-76″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 537.0, 630.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-79″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rfour”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 14.0, 681.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-72″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rthree”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 14.0, 657.0, 84.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-71″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rtwo”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 15.0, 633.0, 75.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-70″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive rone”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 15.0, 608.0, 77.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-69″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Parsed”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 840.0, 352.0, 66.0, 20.0 ],
“id” : “obj-17″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Un Parsed”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 837.0, 306.0, 66.0, 20.0 ],
“id” : “obj-16″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send playfour”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1287.0, 558.0, 83.0, 20.0 ],
“hidden” : 1,
“id” : “obj-299″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send playthree”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1178.0, 508.0, 89.0, 20.0 ],
“hidden” : 1,
“id” : “obj-297″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send playtwo”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1079.0, 462.0, 81.0, 20.0 ],
“hidden” : 1,
“id” : “obj-295″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send playone”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 918.0, 415.0, 82.0, 20.0 ],
“hidden” : 1,
“id” : “obj-294″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Start RECORDING when light levels = 50″,
“linecount” : 3,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 60.0, 300.0, 114.0, 48.0 ],
“hidden” : 1,
“id” : “obj-292″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “button”,
“numinlets” : 1,
“numoutlets” : 1,
“patching_rect” : [ 49.0, 1000.0, 20.0, 20.0 ],
“outlettype” : [ "bang" ],
“id” : “obj-291″
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send~ output”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1738.0, 1111.0, 80.0, 20.0 ],
“hidden” : 1,
“id” : “obj-289″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send~ output”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1275.0, 1110.0, 80.0, 20.0 ],
“hidden” : 1,
“id” : “obj-288″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 1757.0, 967.0, 20.0, 140.0 ],
“outlettype” : [ "signal", "int" ],
“id” : “obj-287″
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 1297.0, 964.0, 20.0, 140.0 ],
“outlettype” : [ "signal", "int" ],
“id” : “obj-286″
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 767.0, 995.0, 20.0, 140.0 ],
“outlettype” : [ "signal", "int" ],
“id” : “obj-285″
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send~ output”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 754.0, 1132.0, 80.0, 20.0 ],
“hidden” : 1,
“id” : “obj-278″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “waveform~”,
“buffername” : “”,
“numinlets” : 5,
“numoutlets” : 6,
“patching_rect” : [ 1515.0, 1080.0, 181.0, 48.0 ],
“outlettype” : [ "float", "float", "float", "float", "list", "" ],
“textcolor” : [ ],
“id” : “obj-276″
}

}
, {
“box” : {
“maxclass” : “waveform~”,
“buffername” : “”,
“numinlets” : 5,
“numoutlets” : 6,
“patching_rect” : [ 1041.0, 1070.0, 181.0, 48.0 ],
“outlettype” : [ "float", "float", "float", "float", "list", "" ],
“textcolor” : [ ],
“id” : “obj-274″
}

}
, {
“box” : {
“maxclass” : “waveform~”,
“buffername” : “”,
“numinlets” : 5,
“numoutlets” : 6,
“patching_rect” : [ 539.0, 1107.0, 181.0, 48.0 ],
“outlettype” : [ "float", "float", "float", "float", "list", "" ],
“textcolor” : [ ],
“id” : “obj-273″
}

}
, {
“box” : {
“maxclass” : “waveform~”,
“buffername” : “”,
“numinlets” : 5,
“numoutlets” : 6,
“patching_rect” : [ 31.0, 1098.0, 181.0, 48.0 ],
“outlettype” : [ "float", "float", "float", "float", "list", "" ],
“textcolor” : [ ],
“id” : “obj-272″
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Record”,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 16.0,
“numoutlets” : 0,
“patching_rect” : [ 263.0, 54.0, 81.0, 25.0 ],
“id” : “obj-223″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Playback”,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 16.0,
“numoutlets” : 0,
“patching_rect” : [ 1207.0, 52.0, 81.0, 25.0 ],
“id” : “obj-197″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send ldrfour”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1318.0, 276.0, 74.0, 20.0 ],
“hidden” : 1,
“id” : “obj-11″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send ldrthree”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1223.0, 276.0, 81.0, 20.0 ],
“hidden” : 1,
“id” : “obj-64″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send ldrtwo”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1143.0, 276.0, 72.0, 20.0 ],
“hidden” : 1,
“id” : “obj-181″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send ldrone”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1066.0, 274.0, 73.0, 20.0 ],
“hidden” : 1,
“id” : “obj-182″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive loadbang”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1741.0, 892.0, 102.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-284″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive loadbang”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1282.0, 889.0, 102.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-283″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive loadbang”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 776.0, 921.0, 102.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-282″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “receive loadbang”,
“numinlets” : 0,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 280.0, 921.0, 102.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-281″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “send loadbang”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1594.0, 203.0, 89.0, 20.0 ],
“hidden” : 1,
“id” : “obj-280″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “loadbang”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 1594.0, 176.0, 60.0, 20.0 ],
“outlettype” : [ "bang" ],
“hidden” : 1,
“id” : “obj-279″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “4″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1347.0, 109.0, 33.0, 20.0 ],
“id” : “obj-253″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “3″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1259.0, 117.0, 33.0, 20.0 ],
“id” : “obj-258″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “2″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1181.0, 111.0, 33.0, 20.0 ],
“id” : “obj-259″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “1″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 1093.0, 108.0, 33.0, 20.0 ],
“id” : “obj-261″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “4″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 386.0, 106.0, 33.0, 20.0 ],
“id” : “obj-199″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “3″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 324.0, 109.0, 33.0, 20.0 ],
“id” : “obj-95″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “2″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 269.0, 106.0, 33.0, 20.0 ],
“id” : “obj-62″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “1″,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 208.0, 104.0, 33.0, 20.0 ],
“id” : “obj-14″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “message”,
“text” : “98″,
“numinlets” : 2,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 375.0, 1005.0, 32.5, 18.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-61″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “loadbang”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 322.0, 1032.0, 60.0, 20.0 ],
“outlettype” : [ "bang" ],
“hidden” : 1,
“id” : “obj-13″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “unpack 0 0 0 0 0″,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 5,
“patching_rect” : [ 1214.0, 82.0, 99.0, 20.0 ],
“outlettype” : [ "int", "int", "int", "int", "int" ],
“hidden” : 1,
“id” : “obj-270″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “unpack 0 0 0 0 0″,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 5,
“patching_rect” : [ 249.0, 82.0, 99.0, 20.0 ],
“outlettype” : [ "int", "int", "int", "int", "int" ],
“hidden” : 1,
“id” : “obj-269″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Playback”,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 833.0, 234.0, 63.0, 20.0 ],
“id” : “obj-268″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “Record”,
“numinlets” : 1,
“fontface” : 1,
“fontsize” : 12.0,
“numoutlets” : 0,
“patching_rect” : [ 776.0, 234.0, 52.0, 20.0 ],
“id” : “obj-267″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “gswitch2″,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 794.0, 184.0, 39.0, 32.0 ],
“outlettype” : [ "", "" ],
“id” : “obj-265″
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “pack 0 0 0 0 0″,
“numinlets” : 5,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 624.0, 102.0, 86.0, 20.0 ],
“outlettype” : [ "" ],
“hidden” : 1,
“id” : “obj-264″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “gain~”,
“numinlets” : 2,
“numoutlets” : 2,
“patching_rect” : [ 305.0, 991.0, 20.0, 140.0 ],
“outlettype” : [ "signal", "int" ],
“id” : “obj-263″
}

}
, {
“box” : {
“maxclass” : “number”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 2,
“patching_rect” : [ 792.0, 354.0, 46.996094, 20.0 ],
“outlettype” : [ "int", "bang" ],
“id” : “obj-93″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “p parse”,
“numinlets” : 1,
“fontsize” : 12.0,
“numoutlets” : 1,
“patching_rect” : [ 791.0, 332.0, 51.0, 20.0 ],
“outlettype” : [ "int" ],
“hidden” : 1,
“id” : “obj-92″,
“fontname” : “Arial”,
“patcher” : {
“fileversion” : 1,
“rect” : [ 25.0, 69.0, 640.0, 480.0 ],
“bglocked” : 0,
“defrect” : [ 25.0, 69.0, 640.0, 480.0 ],
“openrect” : [ 0.0, 0.0, 0.0, 0.0 ],
“openinpresentation” : 0,
“default_fontsize” : 12.0,
“default_fontface” : 0,
“default_fontname” : “Arial”,
“gridonopen” : 0,
“gridsize” : [ 15.0, 15.0 ],
“gridsnaponopen” : 0,
“toolbarvisible” : 1,
“boxanimatetime” : 200,
“imprint” : 0,
“enablehscroll” : 1,
“enablevscroll” : 1,
“devicewidth” : 0.0,
“boxes” : [ {
"box" : {
"maxclass" : "outlet",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 135.0, 332.0, 25.0, 25.0 ],
“id” : “obj-14″,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “inlet”,
“numinlets” : 0,
“numoutlets” : 1,
“patching_rect” : [ 167.0, 21.0, 25.0, 25.0 ],
“outlettype” : [ "int" ],
“id” : “obj-13″,
“comment” : “”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “raw input”,
“numinlets” : 1,
“fontsize” : 9.0,
“numoutlets” : 0,
“patching_rect” : [ 80.0, 37.0, 53.0, 17.0 ],
“id” : “obj-1″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “comment”,
“text” : “filtered input”,
“numinlets” : 1,
“fontsize” : 9.0,
“numoutlets” : 0,
“patching_rect” : [ 37.0, 331.0, 69.0, 17.0 ],
“id” : “obj-2″,
“fontname” : “Arial”
}

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

}
, {
“box” : {
“maxclass” : “newobj”,
“text” : “t i i i”,
“numinlets” : 1,
“fontsize” : 9.0,
“numoutlets” : 3,
“patching_rect” : [ 88.0, 77.0, 47.0, 17.0 ],
“outlettype” : [ "int", "int", "int" ],
“id” : “obj-4″,
“fontname” : “Arial”
}

}
, {
“box” : {
“maxclass” : “number”,
“numinlets” : 1,
“triscale” : 0

#50438
May 21, 2010 at 12:11pm

haven’t looked at the patch yet, but have you looked at [togedge] and [onebang]?

Brendan

#180965

You must be logged in to reply to this topic.