# HG changeset patch # User Andrew N Robertson # Date 1299247013 0 # Node ID 763d56955d1048c963fee6c815d06fb5168e5bc1 # Parent b1c6e3d3a18b2d569547f68b7929de8f074d2c1b taken tim's code inside the of patch diff -r b1c6e3d3a18b -r 763d56955d10 Ableton Project/AbletonExCel_v1.als Binary file Ableton Project/AbletonExCel_v1.als has changed diff -r b1c6e3d3a18b -r 763d56955d10 Abletons max connection.maxpat --- a/Abletons max connection.maxpat Tue Mar 01 12:28:19 2011 +0000 +++ b/Abletons max connection.maxpat Fri Mar 04 13:56:53 2011 +0000 @@ -1,9 +1,9 @@ { "patcher" : { "fileversion" : 1, - "rect" : [ 128.0, 300.0, 1443.0, 937.0 ], + "rect" : [ 189.0, 67.0, 1443.0, 937.0 ], "bglocked" : 0, - "defrect" : [ 128.0, 300.0, 1443.0, 937.0 ], + "defrect" : [ 189.0, 67.0, 1443.0, 937.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -20,12 +20,375 @@ "devicewidth" : 0.0, "boxes" : [ { "box" : { + "maxclass" : "message", + "text" : "83 127 1", + "numinlets" : 2, + "patching_rect" : [ 325.0, 213.0, 57.0, 18.0 ], + "id" : "obj-110", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 795.0, 481.0, 50.0, 20.0 ], + "id" : "obj-106", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "umenu", + "items" : [ "1n", ",", "1nd", ",", "1nt", ",", "2n", ",", "2nd", ",", "2nt", ",", "4n", ",", "4nd", ",", "4nt", ",", "8n", ",", "8nd", ",", "8nt", ",", "16n", ",", "16nd", ",", "16nt", ",", "32n", ",", "32nd", ",", "32nt", ",", "64n", ",", "64nd", ",", "64nt", ",", "128n", ",", "128nd", ",", "128nt" ], + "types" : [ ], + "numinlets" : 1, + "patching_rect" : [ 1094.0, 317.0, 64.0, 20.0 ], + "id" : "obj-64", + "fontname" : "Arial", + "numoutlets" : 3, + "outlettype" : [ "int", "", "" ], + "fontsize" : 11.595187 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "makenote 127 4n", + "numinlets" : 3, + "patching_rect" : [ 855.0, 372.0, 101.0, 20.0 ], + "id" : "obj-82", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "float", "float" ], + "fontsize" : 11.595187 + } + + } +, { + "box" : { + "maxclass" : "kslider", + "presentation_rect" : [ 15.0, 15.0, 336.0, 53.0 ], + "numinlets" : 2, + "patching_rect" : [ 853.0, 306.0, 224.0, 38.0 ], + "id" : "obj-89", + "numoutlets" : 2, + "outlettype" : [ "int", "int" ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 200", + "numinlets" : 1, + "patching_rect" : [ 308.0, 845.0, 85.0, 20.0 ], + "id" : "obj-104", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "15", + "numinlets" : 2, + "patching_rect" : [ 660.0, 780.0, 50.0, 18.0 ], + "id" : "obj-103", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "unpack 0 0", + "numinlets" : 1, + "patching_rect" : [ 756.0, 795.0, 69.0, 20.0 ], + "id" : "obj-101", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "route 15", + "numinlets" : 1, + "patching_rect" : [ 756.0, 747.0, 55.0, 20.0 ], + "id" : "obj-100", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "zl rev", + "numinlets" : 2, + "patching_rect" : [ 757.0, 718.0, 39.0, 20.0 ], + "id" : "obj-99", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "pack 0 0 0", + "numinlets" : 3, + "patching_rect" : [ 744.0, 826.0, 66.0, 20.0 ], + "id" : "obj-97", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 309.0, 868.0, 50.0, 20.0 ], + "id" : "obj-91", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 251.0, 892.0, 20.0, 20.0 ], + "id" : "obj-84", + "numoutlets" : 1, + "outlettype" : [ "bang" ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "split 0 200", + "numinlets" : 3, + "patching_rect" : [ 193.0, 857.0, 65.0, 20.0 ], + "id" : "obj-81", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 221.0, 824.0, 50.0, 20.0 ], + "id" : "obj-79", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "int", "bang" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "timer", + "numinlets" : 2, + "patching_rect" : [ 189.0, 788.0, 37.0, 20.0 ], + "id" : "obj-73", + "fontname" : "Arial", + "numoutlets" : 2, + "outlettype" : [ "float", "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "numinlets" : 1, + "patching_rect" : [ 339.0, 308.0, 34.0, 20.0 ], + "id" : "obj-71", + "fontname" : "Arial", + "numoutlets" : 0, + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "button", + "numinlets" : 1, + "patching_rect" : [ 74.0, 870.0, 20.0, 20.0 ], + "id" : "obj-68", + "numoutlets" : 1, + "outlettype" : [ "bang" ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "delay 200", + "numinlets" : 2, + "patching_rect" : [ 21.0, 797.0, 63.0, 20.0 ], + "id" : "obj-62", + "fontname" : "Arial", "numoutlets" : 1, "outlettype" : [ "bang" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/test bassdrum 15 0 127 15", + "numinlets" : 2, + "patching_rect" : [ 21.0, 826.0, 157.0, 18.0 ], + "id" : "obj-60", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "message", + "text" : "/test bassdrum 15 1 127 15", + "numinlets" : 2, + "patching_rect" : [ 11.0, 750.0, 156.0, 18.0 ], + "id" : "obj-48", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "button", + "numinlets" : 1, + "patching_rect" : [ 11.0, 717.0, 20.0, 20.0 ], + "id" : "obj-40", + "numoutlets" : 1, + "outlettype" : [ "bang" ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "print", + "numinlets" : 1, + "patching_rect" : [ 51.0, 710.0, 34.0, 20.0 ], + "id" : "obj-33", + "fontname" : "Arial", + "numoutlets" : 0, + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "udpreceive 12332", + "numinlets" : 1, + "patching_rect" : [ 10.0, 674.0, 106.0, 20.0 ], + "id" : "obj-28", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "numinlets" : 1, + "patching_rect" : [ 184.0, 154.0, 72.0, 20.0 ], + "id" : "obj-26", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 1", + "numinlets" : 1, + "patching_rect" : [ 706.0, 359.0, 72.0, 20.0 ], + "id" : "obj-4", + "fontname" : "Arial", + "numoutlets" : 1, + "outlettype" : [ "" ], + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "instructions: \nopen a network - eg hello\nget your i.p. to processing patch and the processing patch to the left udpsend 'to joe'\n\n\n\nmidi settings - change 'a' to iac-busA\n", + "linecount" : 11, + "numinlets" : 1, + "patching_rect" : [ 1058.0, 636.0, 150.0, 158.0 ], + "id" : "obj-18", + "fontname" : "Arial", + "numoutlets" : 0, + "fontsize" : 12.0 + } + + } +, { + "box" : { + "maxclass" : "button", + "numinlets" : 1, "patching_rect" : [ 239.0, 207.0, 20.0, 20.0 ], - "id" : "obj-98" + "id" : "obj-98", + "numoutlets" : 1, + "outlettype" : [ "bang" ] } } @@ -33,13 +396,13 @@ "box" : { "maxclass" : "newobj", "text" : "p muteChannel", + "numinlets" : 1, + "patching_rect" : [ 515.0, 567.0, 92.0, 20.0 ], + "id" : "obj-96", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 3, "outlettype" : [ "float", "float", "int" ], - "patching_rect" : [ 515.0, 567.0, 92.0, 20.0 ], - "id" : "obj-96", + "fontsize" : 12.0, "patcher" : { "fileversion" : 1, "rect" : [ 25.0, 69.0, 640.0, 480.0 ], @@ -59,31 +422,30 @@ "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, - "visible" : 1, "boxes" : [ { "box" : { "maxclass" : "message", "text" : "1", + "numinlets" : 2, + "patching_rect" : [ 266.0, 211.0, 32.5, 18.0 ], + "id" : "obj-4", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 266.0, 211.0, 32.5, 18.0 ], - "id" : "obj-4" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 244.0, 239.0, 50.0, 20.0 ], + "id" : "obj-2", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 244.0, 239.0, 50.0, 20.0 ], - "id" : "obj-2" + "fontsize" : 12.0 } } @@ -91,26 +453,26 @@ "box" : { "maxclass" : "newobj", "text" : "t b i", + "numinlets" : 1, + "patching_rect" : [ 50.0, 100.0, 32.5, 20.0 ], + "id" : "obj-48", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], - "patching_rect" : [ 50.0, 100.0, 32.5, 20.0 ], - "id" : "obj-48" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 66.0, 136.0, 50.0, 20.0 ], + "id" : "obj-46", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 66.0, 136.0, 50.0, 20.0 ], - "id" : "obj-46" + "fontsize" : 12.0 } } @@ -118,13 +480,13 @@ "box" : { "maxclass" : "newobj", "text" : "makenote", + "numinlets" : 3, + "patching_rect" : [ 50.0, 255.0, 63.0, 20.0 ], + "id" : "obj-40", "fontname" : "Arial", - "numinlets" : 3, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "float", "float" ], - "patching_rect" : [ 50.0, 255.0, 63.0, 20.0 ], - "id" : "obj-40" + "fontsize" : 12.0 } } @@ -132,12 +494,12 @@ "box" : { "maxclass" : "newobj", "text" : "print", + "numinlets" : 1, + "patching_rect" : [ 74.0, 255.0, 34.0, 20.0 ], + "id" : "obj-34", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 74.0, 255.0, 34.0, 20.0 ], - "id" : "obj-34" + "fontsize" : 12.0 } } @@ -145,13 +507,13 @@ "box" : { "maxclass" : "newobj", "text" : "append 0", + "numinlets" : 1, + "patching_rect" : [ 50.0, 226.0, 61.0, 20.0 ], + "id" : "obj-33", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 226.0, 61.0, 20.0 ], - "id" : "obj-33" + "fontsize" : 12.0 } } @@ -159,13 +521,13 @@ "box" : { "maxclass" : "newobj", "text" : "counter 0 0 127", + "numinlets" : 5, + "patching_rect" : [ 50.0, 194.0, 94.0, 20.0 ], + "id" : "obj-28", "fontname" : "Arial", - "numinlets" : 5, - "fontsize" : 12.0, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], - "patching_rect" : [ 50.0, 194.0, 94.0, 20.0 ], - "id" : "obj-28" + "fontsize" : 12.0 } } @@ -173,13 +535,13 @@ "box" : { "maxclass" : "newobj", "text" : "uzi 127", + "numinlets" : 2, + "patching_rect" : [ 50.0, 163.0, 49.0, 20.0 ], + "id" : "obj-26", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], - "patching_rect" : [ 50.0, 163.0, 49.0, 20.0 ], - "id" : "obj-26" + "fontsize" : 12.0 } } @@ -187,10 +549,10 @@ "box" : { "maxclass" : "inlet", "numinlets" : 0, + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "id" : "obj-84", "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], - "id" : "obj-84", "comment" : "" } @@ -199,9 +561,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 0, "patching_rect" : [ 50.0, 335.0, 25.0, 25.0 ], "id" : "obj-89", + "numoutlets" : 0, "comment" : "" } @@ -210,9 +572,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 0, "patching_rect" : [ 200.0, 341.0, 25.0, 25.0 ], "id" : "obj-91", + "numoutlets" : 0, "comment" : "" } @@ -221,9 +583,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 0, "patching_rect" : [ 116.0, 336.0, 25.0, 25.0 ], "id" : "obj-95", + "numoutlets" : 0, "comment" : "" } @@ -231,7 +593,61 @@ ], "lines" : [ { "patchline" : { - "source" : [ "obj-2", 0 ], + "source" : [ "obj-40", 1 ], + "destination" : [ "obj-95", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-46", 0 ], + "destination" : [ "obj-91", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-89", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-84", 0 ], + "destination" : [ "obj-48", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 0 ], + "destination" : [ "obj-26", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-33", 0 ], + "destination" : [ "obj-40", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-28", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -240,6 +656,24 @@ } , { "patchline" : { + "source" : [ "obj-26", 0 ], + "destination" : [ "obj-28", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 1 ], + "destination" : [ "obj-46", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, @@ -249,96 +683,24 @@ } , { "patchline" : { - "source" : [ "obj-48", 1 ], - "destination" : [ "obj-46", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-26", 0 ], - "destination" : [ "obj-28", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-28", 0 ], + "source" : [ "obj-2", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } -, { - "patchline" : { - "source" : [ "obj-33", 0 ], - "destination" : [ "obj-40", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-48", 0 ], - "destination" : [ "obj-26", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-84", 0 ], - "destination" : [ "obj-48", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-40", 0 ], - "destination" : [ "obj-89", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-46", 0 ], - "destination" : [ "obj-91", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-40", 1 ], - "destination" : [ "obj-95", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } ] } , "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", "fontname" : "Arial", "default_fontsize" : 12.0, "globalpatchername" : "", "fontface" : 0, - "fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial" + "fontsize" : 12.0 } } @@ -349,12 +711,12 @@ "maxclass" : "comment", "text" : "stopping all notes for person", "linecount" : 2, + "numinlets" : 1, + "patching_rect" : [ 703.0, 546.0, 150.0, 34.0 ], + "id" : "obj-76", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 703.0, 546.0, 150.0, 34.0 ], - "id" : "obj-76" + "fontsize" : 12.0 } } @@ -362,10 +724,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 633.0, 544.0, 70.0, 70.0 ], + "id" : "obj-66", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 633.0, 544.0, 70.0, 70.0 ], - "id" : "obj-66" + "outlettype" : [ "bang" ] } } @@ -373,13 +735,13 @@ "box" : { "maxclass" : "newobj", "text" : "unpack 0 0 0 0", + "numinlets" : 1, + "patching_rect" : [ 632.0, 509.0, 89.0, 20.0 ], + "id" : "obj-61", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 4, "outlettype" : [ "int", "int", "int", "int" ], - "patching_rect" : [ 632.0, 509.0, 89.0, 20.0 ], - "id" : "obj-61" + "fontsize" : 12.0 } } @@ -387,10 +749,10 @@ "box" : { "maxclass" : "toggle", "numinlets" : 1, + "patching_rect" : [ 629.0, 391.0, 20.0, 20.0 ], + "id" : "obj-58", "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 777.0, 450.0, 20.0, 20.0 ], - "id" : "obj-58" + "outlettype" : [ "int" ] } } @@ -398,12 +760,12 @@ "box" : { "maxclass" : "newobj", "text" : "print", + "numinlets" : 1, + "patching_rect" : [ 708.0, 454.0, 34.0, 20.0 ], + "id" : "obj-53", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 777.0, 510.0, 34.0, 20.0 ], - "id" : "obj-53" + "fontsize" : 12.0 } } @@ -411,27 +773,27 @@ "box" : { "maxclass" : "newobj", "text" : "gate", + "numinlets" : 2, + "patching_rect" : [ 629.0, 424.0, 34.0, 20.0 ], + "id" : "obj-51", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 777.0, 483.0, 34.0, 20.0 ], - "id" : "obj-51" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", - "text" : "route /stoppedperson", + "text" : "route /stopperson", + "numinlets" : 1, + "patching_rect" : [ 632.0, 480.0, 124.0, 20.0 ], + "id" : "obj-45", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 632.0, 480.0, 124.0, 20.0 ], - "id" : "obj-45" + "fontsize" : 12.0 } } @@ -439,13 +801,13 @@ "box" : { "maxclass" : "newobj", "text" : "udpreceive 12343", + "numinlets" : 1, + "patching_rect" : [ 654.0, 399.0, 106.0, 20.0 ], + "id" : "obj-44", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 632.0, 446.0, 106.0, 20.0 ], - "id" : "obj-44" + "fontsize" : 12.0 } } @@ -453,13 +815,13 @@ "box" : { "maxclass" : "newobj", "text" : "togedge", + "numinlets" : 1, + "patching_rect" : [ 148.0, 176.0, 54.0, 20.0 ], + "id" : "obj-42", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 148.0, 176.0, 54.0, 20.0 ], - "id" : "obj-42" + "fontsize" : 12.0 } } @@ -467,25 +829,25 @@ "box" : { "maxclass" : "comment", "text" : "reset all", + "numinlets" : 1, + "patching_rect" : [ 507.0, 361.0, 56.0, 20.0 ], + "id" : "obj-36", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 507.0, 361.0, 56.0, 20.0 ], - "id" : "obj-36" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "flonum", + "numinlets" : 1, + "patching_rect" : [ 1293.0, 148.0, 50.0, 20.0 ], + "id" : "obj-63", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 1293.0, 148.0, 50.0, 20.0 ], - "id" : "obj-63" + "fontsize" : 12.0 } } @@ -493,10 +855,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 1340.0, 71.0, 20.0, 20.0 ], + "id" : "obj-59", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 1340.0, 71.0, 20.0, 20.0 ], - "id" : "obj-59" + "outlettype" : [ "bang" ] } } @@ -504,10 +866,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 1301.0, 62.0, 20.0, 20.0 ], + "id" : "obj-57", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 1301.0, 62.0, 20.0, 20.0 ], - "id" : "obj-57" + "outlettype" : [ "bang" ] } } @@ -515,13 +877,13 @@ "box" : { "maxclass" : "message", "text" : "1, 1000", + "numinlets" : 2, + "patching_rect" : [ 1363.0, 99.0, 52.0, 18.0 ], + "id" : "obj-55", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1363.0, 99.0, 52.0, 18.0 ], - "id" : "obj-55" + "fontsize" : 12.0 } } @@ -529,13 +891,13 @@ "box" : { "maxclass" : "message", "text" : "0, 1000", + "numinlets" : 2, + "patching_rect" : [ 1294.0, 97.0, 51.0, 18.0 ], + "id" : "obj-52", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1294.0, 97.0, 51.0, 18.0 ], - "id" : "obj-52" + "fontsize" : 12.0 } } @@ -543,13 +905,13 @@ "box" : { "maxclass" : "newobj", "text" : "line 0.", + "numinlets" : 3, + "patching_rect" : [ 1292.0, 122.0, 46.0, 20.0 ], + "id" : "obj-50", "fontname" : "Arial", - "numinlets" : 3, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 1292.0, 122.0, 46.0, 20.0 ], - "id" : "obj-50" + "fontsize" : 12.0 } } @@ -557,13 +919,13 @@ "box" : { "maxclass" : "newobj", "text" : "metro 200", + "numinlets" : 2, + "patching_rect" : [ 511.0, 447.0, 65.0, 20.0 ], + "id" : "obj-49", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 511.0, 447.0, 65.0, 20.0 ], - "id" : "obj-49" + "fontsize" : 12.0 } } @@ -571,13 +933,13 @@ "box" : { "maxclass" : "newobj", "text" : "counter 0 0 4", + "numinlets" : 5, + "patching_rect" : [ 511.0, 474.0, 81.0, 20.0 ], + "id" : "obj-47", "fontname" : "Arial", - "numinlets" : 5, - "fontsize" : 12.0, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], - "patching_rect" : [ 511.0, 474.0, 81.0, 20.0 ], - "id" : "obj-47" + "fontsize" : 12.0 } } @@ -585,10 +947,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 511.0, 383.0, 56.0, 56.0 ], + "id" : "obj-37", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 511.0, 383.0, 56.0, 56.0 ], - "id" : "obj-37" + "outlettype" : [ "bang" ] } } @@ -596,10 +958,10 @@ "box" : { "maxclass" : "toggle", "numinlets" : 1, + "patching_rect" : [ 468.0, 160.0, 20.0, 20.0 ], + "id" : "obj-22", "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 468.0, 160.0, 20.0, 20.0 ], - "id" : "obj-22" + "outlettype" : [ "int" ] } } @@ -607,13 +969,13 @@ "box" : { "maxclass" : "newobj", "text" : "gate", + "numinlets" : 2, + "patching_rect" : [ 482.0, 187.0, 34.0, 20.0 ], + "id" : "obj-12", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 482.0, 187.0, 34.0, 20.0 ], - "id" : "obj-12" + "fontsize" : 12.0 } } @@ -622,12 +984,12 @@ "maxclass" : "comment", "text" : "need to listen - changed by andrew to 1345 from 12346", "linecount" : 3, + "numinlets" : 1, + "patching_rect" : [ 270.0, 15.0, 150.0, 48.0 ], + "id" : "obj-41", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 270.0, 15.0, 150.0, 48.0 ], - "id" : "obj-41" + "fontsize" : 12.0 } } @@ -635,25 +997,25 @@ "box" : { "maxclass" : "comment", "text" : "sending joe osc on 12345", + "numinlets" : 1, + "patching_rect" : [ 309.0, 761.0, 150.0, 20.0 ], + "id" : "obj-38", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 199.0, 743.0, 150.0, 20.0 ], - "id" : "obj-38" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "comment", - "text" : "169.254.49.68", + "text" : "me: 169.254.27.126", + "numinlets" : 1, + "patching_rect" : [ 1184.0, 387.0, 150.0, 20.0 ], + "id" : "obj-24", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 1184.0, 387.0, 150.0, 20.0 ], - "id" : "obj-24" + "fontsize" : 12.0 } } @@ -661,13 +1023,13 @@ "box" : { "maxclass" : "message", "text" : "/hello joe 1.3", + "numinlets" : 2, + "patching_rect" : [ 84.0, 492.0, 79.0, 18.0 ], + "id" : "obj-20", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 84.0, 492.0, 79.0, 18.0 ], - "id" : "obj-20" + "fontsize" : 12.0 } } @@ -675,27 +1037,27 @@ "box" : { "maxclass" : "message", "text" : "host 169.254.25.239 12345", + "numinlets" : 2, + "patching_rect" : [ 332.0, 783.0, 157.0, 18.0 ], + "id" : "obj-9", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 84.0, 708.0, 157.0, 18.0 ], - "id" : "obj-9" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", - "text" : "1 2 98", + "text" : "1 1 117", + "numinlets" : 2, + "patching_rect" : [ 678.0, 240.0, 50.0, 18.0 ], + "id" : "obj-167", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 678.0, 240.0, 50.0, 18.0 ], - "id" : "obj-167" + "fontsize" : 12.0 } } @@ -703,10 +1065,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 668.0, 157.0, 20.0, 20.0 ], + "id" : "obj-165", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 668.0, 157.0, 20.0, 20.0 ], - "id" : "obj-165" + "outlettype" : [ "bang" ] } } @@ -714,12 +1076,12 @@ "box" : { "maxclass" : "newobj", "text" : "ctlout a", + "numinlets" : 3, + "patching_rect" : [ 325.0, 648.0, 49.0, 20.0 ], + "id" : "obj-163", "fontname" : "Arial", - "numinlets" : 3, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 325.0, 648.0, 49.0, 20.0 ], - "id" : "obj-163" + "fontsize" : 12.0 } } @@ -727,12 +1089,12 @@ "box" : { "maxclass" : "comment", "text" : "map to launch scene", + "numinlets" : 1, + "patching_rect" : [ 1182.0, 560.0, 122.0, 20.0 ], + "id" : "obj-162", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 1182.0, 560.0, 122.0, 20.0 ], - "id" : "obj-162" + "fontsize" : 12.0 } } @@ -740,13 +1102,13 @@ "box" : { "maxclass" : "message", "text" : "127 2 16, 0 2 16", + "numinlets" : 2, + "patching_rect" : [ 1084.0, 561.0, 97.0, 18.0 ], + "id" : "obj-161", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1084.0, 561.0, 97.0, 18.0 ], - "id" : "obj-161" + "fontsize" : 12.0 } } @@ -755,12 +1117,12 @@ "maxclass" : "comment", "text" : "launch scene and move to next scene. (different scenes are different drum loop)", "linecount" : 7, + "numinlets" : 1, + "patching_rect" : [ 334.0, 529.285706, 72.0, 86.0 ], + "id" : "obj-144", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 9.836608, "numoutlets" : 0, - "patching_rect" : [ 334.0, 529.285706, 72.0, 86.0 ], - "id" : "obj-144" + "fontsize" : 9.836608 } } @@ -769,13 +1131,13 @@ "maxclass" : "message", "text" : "127 2 16, 0 2 16", "linecount" : 2, + "numinlets" : 2, + "patching_rect" : [ 325.0, 497.0, 62.0, 32.0 ], + "id" : "obj-141", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 325.0, 497.0, 62.0, 32.0 ], - "id" : "obj-141" + "fontsize" : 12.0 } } @@ -784,15 +1146,15 @@ "maxclass" : "comment", "text" : "IAC Driver Bus should be set to output 'a' under MIDI settings.", "linecount" : 2, + "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], + "numinlets" : 1, + "patching_rect" : [ 12.0, 67.37207, 220.0, 39.0 ], + "id" : "obj-139", "fontname" : "Arial", "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], - "numinlets" : 1, - "fontsize" : 14.012403, "numoutlets" : 0, "bgcolor" : [ 0.811765, 0.372549, 0.372549, 1.0 ], - "patching_rect" : [ 12.0, 67.37207, 220.0, 39.0 ], - "id" : "obj-139" + "fontsize" : 14.012403 } } @@ -800,12 +1162,12 @@ "box" : { "maxclass" : "comment", "text" : "to Ableton", + "numinlets" : 1, + "patching_rect" : [ 405.0, 670.0, 67.0, 20.0 ], + "id" : "obj-138", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 405.0, 670.0, 67.0, 20.0 ], - "id" : "obj-138" + "fontsize" : 12.0 } } @@ -814,15 +1176,15 @@ "maxclass" : "comment", "text" : "We listen to JOe on port 12346.(or 5)", "linecount" : 3, + "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], + "numinlets" : 1, + "patching_rect" : [ 530.0, 18.37207, 123.0, 55.0 ], + "id" : "obj-135", "fontname" : "Arial", "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], - "numinlets" : 1, - "fontsize" : 14.012403, "numoutlets" : 0, "bgcolor" : [ 0.811765, 0.372549, 0.372549, 1.0 ], - "patching_rect" : [ 401.0, 2.37207, 123.0, 55.0 ], - "id" : "obj-135" + "fontsize" : 14.012403 } } @@ -830,12 +1192,12 @@ "box" : { "maxclass" : "comment", "text" : "CC2", + "numinlets" : 1, + "patching_rect" : [ 876.0, 563.0, 35.0, 20.0 ], + "id" : "obj-134", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 876.0, 563.0, 35.0, 20.0 ], - "id" : "obj-134" + "fontsize" : 12.0 } } @@ -843,12 +1205,12 @@ "box" : { "maxclass" : "comment", "text" : "CC1", + "numinlets" : 1, + "patching_rect" : [ 876.0, 536.0, 35.0, 20.0 ], + "id" : "obj-133", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 876.0, 536.0, 35.0, 20.0 ], - "id" : "obj-133" + "fontsize" : 12.0 } } @@ -856,12 +1218,12 @@ "box" : { "maxclass" : "comment", "text" : "Inst 3", + "numinlets" : 1, + "patching_rect" : [ 1026.0, 509.0, 43.0, 20.0 ], + "id" : "obj-131", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 1026.0, 509.0, 43.0, 20.0 ], - "id" : "obj-131" + "fontsize" : 12.0 } } @@ -869,12 +1231,12 @@ "box" : { "maxclass" : "comment", "text" : "Inst 2", + "numinlets" : 1, + "patching_rect" : [ 974.0, 509.0, 43.0, 20.0 ], + "id" : "obj-130", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 974.0, 509.0, 43.0, 20.0 ], - "id" : "obj-130" + "fontsize" : 12.0 } } @@ -882,12 +1244,12 @@ "box" : { "maxclass" : "comment", "text" : "Inst 1", + "numinlets" : 1, + "patching_rect" : [ 920.0, 509.0, 43.0, 20.0 ], + "id" : "obj-129", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 920.0, 509.0, 43.0, 20.0 ], - "id" : "obj-129" + "fontsize" : 12.0 } } @@ -895,13 +1257,13 @@ "box" : { "maxclass" : "message", "text" : "50 2 3", + "numinlets" : 2, + "patching_rect" : [ 1026.0, 563.0, 44.0, 18.0 ], + "id" : "obj-126", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1026.0, 563.0, 44.0, 18.0 ], - "id" : "obj-126" + "fontsize" : 12.0 } } @@ -909,13 +1271,13 @@ "box" : { "maxclass" : "message", "text" : "50 1 3", + "numinlets" : 2, + "patching_rect" : [ 1026.0, 536.0, 44.0, 18.0 ], + "id" : "obj-127", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 1026.0, 536.0, 44.0, 18.0 ], - "id" : "obj-127" + "fontsize" : 12.0 } } @@ -923,13 +1285,13 @@ "box" : { "maxclass" : "message", "text" : "50 2 2", + "numinlets" : 2, + "patching_rect" : [ 974.0, 563.0, 44.0, 18.0 ], + "id" : "obj-124", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 974.0, 563.0, 44.0, 18.0 ], - "id" : "obj-124" + "fontsize" : 12.0 } } @@ -937,13 +1299,13 @@ "box" : { "maxclass" : "message", "text" : "50 1 2", + "numinlets" : 2, + "patching_rect" : [ 974.0, 536.0, 44.0, 18.0 ], + "id" : "obj-125", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 974.0, 536.0, 44.0, 18.0 ], - "id" : "obj-125" + "fontsize" : 12.0 } } @@ -951,13 +1313,13 @@ "box" : { "maxclass" : "message", "text" : "50 2 1", + "numinlets" : 2, + "patching_rect" : [ 920.0, 563.0, 44.0, 18.0 ], + "id" : "obj-123", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 920.0, 563.0, 44.0, 18.0 ], - "id" : "obj-123" + "fontsize" : 12.0 } } @@ -965,13 +1327,13 @@ "box" : { "maxclass" : "message", "text" : "50 1 1", + "numinlets" : 2, + "patching_rect" : [ 920.0, 536.0, 44.0, 18.0 ], + "id" : "obj-122", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 920.0, 536.0, 44.0, 18.0 ], - "id" : "obj-122" + "fontsize" : 12.0 } } @@ -979,12 +1341,12 @@ "box" : { "maxclass" : "newobj", "text" : "ctlout a", + "numinlets" : 3, + "patching_rect" : [ 974.0, 602.0, 49.0, 20.0 ], + "id" : "obj-120", "fontname" : "Arial", - "numinlets" : 3, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 974.0, 602.0, 49.0, 20.0 ], - "id" : "obj-120" + "fontsize" : 12.0 } } @@ -993,12 +1355,12 @@ "maxclass" : "comment", "text" : "For setting up the mapping in Ableton:", "linecount" : 2, + "numinlets" : 1, + "patching_rect" : [ 870.0, 459.191345, 135.0, 40.0 ], + "id" : "obj-119", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 14.350855, "numoutlets" : 0, - "patching_rect" : [ 870.0, 459.191345, 135.0, 40.0 ], - "id" : "obj-119" + "fontsize" : 14.350855 } } @@ -1006,12 +1368,12 @@ "box" : { "maxclass" : "comment", "text" : "Send chord changes 68ms early.", + "numinlets" : 1, + "patching_rect" : [ 197.0, 385.92392, 167.0, 18.0 ], + "id" : "obj-115", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 10.29036, "numoutlets" : 0, - "patching_rect" : [ 197.0, 385.92392, 167.0, 18.0 ], - "id" : "obj-115" + "fontsize" : 10.29036 } } @@ -1020,15 +1382,15 @@ "maxclass" : "comment", "text" : "IP address for Joe needs to be set below", "linecount" : 2, + "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], + "numinlets" : 1, + "patching_rect" : [ 12.0, 6.492308, 226.0, 57.0 ], + "id" : "obj-113", "fontname" : "Arial", "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], - "numinlets" : 1, - "fontsize" : 22.117697, "numoutlets" : 0, "bgcolor" : [ 0.811765, 0.372549, 0.372549, 1.0 ], - "patching_rect" : [ 12.0, 6.492308, 226.0, 57.0 ], - "id" : "obj-113" + "fontsize" : 22.117697 } } @@ -1036,15 +1398,15 @@ "box" : { "maxclass" : "comment", "text" : "to Joe", + "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], + "numinlets" : 1, + "patching_rect" : [ 120.0, 520.37207, 50.0, 23.0 ], + "id" : "obj-111", "fontname" : "Arial", "textcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "frgb" : [ 1.0, 1.0, 1.0, 1.0 ], - "numinlets" : 1, - "fontsize" : 14.012403, "numoutlets" : 0, "bgcolor" : [ 0.811765, 0.372549, 0.372549, 1.0 ], - "patching_rect" : [ 120.0, 520.37207, 50.0, 23.0 ], - "id" : "obj-111" + "fontsize" : 14.012403 } } @@ -1052,13 +1414,13 @@ "box" : { "maxclass" : "newobj", "text" : "delay 68", + "numinlets" : 2, + "patching_rect" : [ 127.0, 414.0, 56.0, 20.0 ], + "id" : "obj-109", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 127.0, 414.0, 56.0, 20.0 ], - "id" : "obj-109" + "fontsize" : 12.0 } } @@ -1066,13 +1428,13 @@ "box" : { "maxclass" : "newobj", "text" : "delay 400", + "numinlets" : 2, + "patching_rect" : [ 127.0, 375.0, 63.0, 20.0 ], + "id" : "obj-108", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 127.0, 375.0, 63.0, 20.0 ], - "id" : "obj-108" + "fontsize" : 12.0 } } @@ -1080,12 +1442,12 @@ "box" : { "maxclass" : "comment", "text" : "final beat", + "numinlets" : 1, + "patching_rect" : [ 146.0, 340.0, 59.0, 20.0 ], + "id" : "obj-107", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 146.0, 340.0, 59.0, 20.0 ], - "id" : "obj-107" + "fontsize" : 12.0 } } @@ -1093,10 +1455,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 126.0, 340.0, 20.0, 20.0 ], + "id" : "obj-105", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 126.0, 340.0, 20.0, 20.0 ], - "id" : "obj-105" + "outlettype" : [ "bang" ] } } @@ -1104,13 +1466,13 @@ "box" : { "maxclass" : "newobj", "text" : "+ 1", + "numinlets" : 2, + "patching_rect" : [ 52.0, 363.756714, 26.5, 17.0 ], + "id" : "obj-94", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 9.108685, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 52.0, 363.756714, 26.5, 17.0 ], - "id" : "obj-94" + "fontsize" : 9.108685 } } @@ -1118,43 +1480,43 @@ "box" : { "maxclass" : "newobj", "text" : "+ 1", + "numinlets" : 2, + "patching_rect" : [ 86.0, 362.756714, 26.5, 17.0 ], + "id" : "obj-93", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 9.108685, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 86.0, 362.756714, 26.5, 17.0 ], - "id" : "obj-93" + "fontsize" : 9.108685 } } , { "box" : { "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 86.0, 386.0, 17.996094, 20.0 ], + "id" : "obj-92", "fontname" : "Arial", + "numoutlets" : 2, "triangle" : 0, - "numinlets" : 1, - "fontsize" : 12.0, - "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "ignoreclick" : 1, - "patching_rect" : [ 86.0, 386.0, 17.996094, 20.0 ], - "id" : "obj-92" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 52.0, 386.0, 31.0, 20.0 ], + "id" : "obj-90", "fontname" : "Arial", + "numoutlets" : 2, "triangle" : 0, - "numinlets" : 1, - "fontsize" : 12.0, - "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "ignoreclick" : 1, - "patching_rect" : [ 52.0, 386.0, 31.0, 20.0 ], - "id" : "obj-90" + "fontsize" : 12.0 } } @@ -1162,13 +1524,13 @@ "box" : { "maxclass" : "newobj", "text" : "% 4", + "numinlets" : 2, + "patching_rect" : [ 86.0, 342.84613, 26.5, 17.0 ], + "id" : "obj-88", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 9.108685, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 86.0, 342.84613, 26.5, 17.0 ], - "id" : "obj-88" + "fontsize" : 9.108685 } } @@ -1176,13 +1538,13 @@ "box" : { "maxclass" : "newobj", "text" : "/ 4", + "numinlets" : 2, + "patching_rect" : [ 52.0, 342.84613, 26.5, 17.0 ], + "id" : "obj-87", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 9.164513, "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 52.0, 342.84613, 26.5, 17.0 ], - "id" : "obj-87" + "fontsize" : 9.164513 } } @@ -1190,13 +1552,13 @@ "box" : { "maxclass" : "newobj", "text" : "loadmess 8", + "numinlets" : 1, + "patching_rect" : [ 110.0, 242.0, 79.0, 20.0 ], + "id" : "obj-86", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 110.0, 242.0, 79.0, 20.0 ], - "id" : "obj-86" + "fontsize" : 12.0 } } @@ -1204,12 +1566,12 @@ "box" : { "maxclass" : "comment", "text" : "bars per chord & drum loop", + "numinlets" : 1, + "patching_rect" : [ 161.0, 265.0, 158.0, 20.0 ], + "id" : "obj-85", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 161.0, 265.0, 158.0, 20.0 ], - "id" : "obj-85" + "fontsize" : 12.0 } } @@ -1217,26 +1579,26 @@ "box" : { "maxclass" : "newobj", "text" : "expr $i1*4 - 1", + "numinlets" : 1, + "patching_rect" : [ 110.0, 289.374817, 70.0, 18.0 ], + "id" : "obj-83", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 10.024733, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 110.0, 289.374817, 70.0, 18.0 ], - "id" : "obj-83" + "fontsize" : 10.024733 } } , { "box" : { "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 110.0, 265.0, 50.0, 20.0 ], + "id" : "obj-80", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], - "patching_rect" : [ 110.0, 265.0, 50.0, 20.0 ], - "id" : "obj-80" + "fontsize" : 12.0 } } @@ -1244,25 +1606,25 @@ "box" : { "maxclass" : "newobj", "text" : "counter 0 63", + "numinlets" : 5, + "patching_rect" : [ 52.0, 312.0, 77.0, 20.0 ], + "id" : "obj-78", "fontname" : "Arial", - "numinlets" : 5, - "fontsize" : 12.0, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], - "patching_rect" : [ 52.0, 312.0, 77.0, 20.0 ], - "id" : "obj-78" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "led", - "blinktime" : 234, "numinlets" : 1, + "patching_rect" : [ 78.0, 228.0, 28.0, 28.0 ], + "id" : "obj-75", "numoutlets" : 1, "outlettype" : [ "int" ], - "patching_rect" : [ 78.0, 228.0, 28.0, 28.0 ], - "id" : "obj-75" + "blinktime" : 234 } } @@ -1270,10 +1632,10 @@ "box" : { "maxclass" : "toggle", "numinlets" : 1, + "patching_rect" : [ 41.0, 168.0, 20.0, 20.0 ], + "id" : "obj-74", "numoutlets" : 1, - "outlettype" : [ "int" ], - "patching_rect" : [ 41.0, 168.0, 20.0, 20.0 ], - "id" : "obj-74" + "outlettype" : [ "int" ] } } @@ -1281,12 +1643,12 @@ "box" : { "maxclass" : "comment", "text" : "nearly 128 BPM", + "numinlets" : 1, + "patching_rect" : [ 110.0, 205.0, 99.0, 20.0 ], + "id" : "obj-72", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 110.0, 205.0, 99.0, 20.0 ], - "id" : "obj-72" + "fontsize" : 12.0 } } @@ -1294,13 +1656,13 @@ "box" : { "maxclass" : "newobj", "text" : "metro 468", + "numinlets" : 2, + "patching_rect" : [ 41.0, 205.0, 65.0, 20.0 ], + "id" : "obj-70", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "bang" ], - "patching_rect" : [ 41.0, 205.0, 65.0, 20.0 ], - "id" : "obj-70" + "fontsize" : 12.0 } } @@ -1309,12 +1671,12 @@ "maxclass" : "comment", "text" : "Clock to change drum loop and chord", "linecount" : 2, + "numinlets" : 1, + "patching_rect" : [ 13.0, 125.0, 150.0, 34.0 ], + "id" : "obj-69", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 13.0, 125.0, 150.0, 34.0 ], - "id" : "obj-69" + "fontsize" : 12.0 } } @@ -1322,12 +1684,12 @@ "box" : { "maxclass" : "comment", "text" : "Simulate Kinect input", + "numinlets" : 1, + "patching_rect" : [ 981.0, 16.441864, 164.0, 26.0 ], + "id" : "obj-67", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 16.599777, "numoutlets" : 0, - "patching_rect" : [ 981.0, 16.441864, 164.0, 26.0 ], - "id" : "obj-67" + "fontsize" : 16.599777 } } @@ -1335,13 +1697,13 @@ "box" : { "maxclass" : "newobj", "text" : "p delay note-offs for instrument 1", + "numinlets" : 1, + "patching_rect" : [ 466.0, 307.944763, 186.0, 20.0 ], + "id" : "obj-65", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 466.0, 307.944763, 186.0, 20.0 ], - "id" : "obj-65", + "fontsize" : 12.0, "patcher" : { "fileversion" : 1, "rect" : [ 25.0, 69.0, 640.0, 480.0 ], @@ -1365,12 +1727,12 @@ "box" : { "maxclass" : "comment", "text" : "pitch vel chan", + "numinlets" : 1, + "patching_rect" : [ 208.0, 461.0, 96.0, 20.0 ], + "id" : "obj-5", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 208.0, 461.0, 96.0, 20.0 ], - "id" : "obj-5" + "fontsize" : 12.0 } } @@ -1378,12 +1740,12 @@ "box" : { "maxclass" : "comment", "text" : "pitch vel chan", + "numinlets" : 1, + "patching_rect" : [ 161.0, 57.0, 86.0, 20.0 ], + "id" : "obj-2", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 161.0, 57.0, 86.0, 20.0 ], - "id" : "obj-2" + "fontsize" : 12.0 } } @@ -1391,13 +1753,13 @@ "box" : { "maxclass" : "newobj", "text" : "zl rev", + "numinlets" : 2, + "patching_rect" : [ 192.0, 414.055237, 39.0, 20.0 ], + "id" : "obj-62", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 192.0, 414.055237, 39.0, 20.0 ], - "id" : "obj-62" + "fontsize" : 12.0 } } @@ -1405,12 +1767,12 @@ "box" : { "maxclass" : "comment", "text" : "chan vel pitch", + "numinlets" : 1, + "patching_rect" : [ 208.0, 389.566895, 73.0, 17.0 ], + "id" : "obj-61", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 9.106835, "numoutlets" : 0, - "patching_rect" : [ 208.0, 389.566895, 73.0, 17.0 ], - "id" : "obj-61" + "fontsize" : 9.106835 } } @@ -1418,13 +1780,13 @@ "box" : { "maxclass" : "newobj", "text" : "prepend 1", + "numinlets" : 1, + "patching_rect" : [ 192.0, 367.055237, 65.0, 20.0 ], + "id" : "obj-59", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 192.0, 367.055237, 65.0, 20.0 ], - "id" : "obj-59" + "fontsize" : 12.0 } } @@ -1432,13 +1794,13 @@ "box" : { "maxclass" : "newobj", "text" : "pack 0 0", + "numinlets" : 2, + "patching_rect" : [ 192.0, 310.055237, 56.0, 20.0 ], + "id" : "obj-58", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 192.0, 310.055237, 56.0, 20.0 ], - "id" : "obj-58" + "fontsize" : 12.0 } } @@ -1446,13 +1808,13 @@ "box" : { "maxclass" : "newobj", "text" : "pipe 100", + "numinlets" : 2, + "patching_rect" : [ 50.0, 337.055237, 57.0, 20.0 ], + "id" : "obj-57", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 337.055237, 57.0, 20.0 ], - "id" : "obj-57" + "fontsize" : 12.0 } } @@ -1460,13 +1822,13 @@ "box" : { "maxclass" : "newobj", "text" : "pack 0 0", + "numinlets" : 2, + "patching_rect" : [ 50.0, 310.055237, 56.0, 20.0 ], + "id" : "obj-56", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 310.055237, 56.0, 20.0 ], - "id" : "obj-56" + "fontsize" : 12.0 } } @@ -1474,12 +1836,12 @@ "box" : { "maxclass" : "comment", "text" : "chan vel pitch", + "numinlets" : 1, + "patching_rect" : [ 157.0, 164.629944, 79.0, 19.0 ], + "id" : "obj-53", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 10.536201, "numoutlets" : 0, - "patching_rect" : [ 157.0, 164.629944, 79.0, 19.0 ], - "id" : "obj-53" + "fontsize" : 10.536201 } } @@ -1487,12 +1849,12 @@ "box" : { "maxclass" : "comment", "text" : "vel pitch", + "numinlets" : 1, + "patching_rect" : [ 148.0, 217.055237, 55.0, 20.0 ], + "id" : "obj-51", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 148.0, 217.055237, 55.0, 20.0 ], - "id" : "obj-51" + "fontsize" : 12.0 } } @@ -1500,13 +1862,13 @@ "box" : { "maxclass" : "newobj", "text" : "if $i1!=0 then $i1 else out2 0", + "numinlets" : 1, + "patching_rect" : [ 50.0, 277.055237, 161.0, 20.0 ], + "id" : "obj-24", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 50.0, 277.055237, 161.0, 20.0 ], - "id" : "obj-24" + "fontsize" : 12.0 } } @@ -1514,13 +1876,13 @@ "box" : { "maxclass" : "newobj", "text" : "unpack 0 0", + "numinlets" : 1, + "patching_rect" : [ 131.0, 238.055237, 69.0, 20.0 ], + "id" : "obj-22", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "int", "int" ], - "patching_rect" : [ 131.0, 238.055237, 69.0, 20.0 ], - "id" : "obj-22" + "fontsize" : 12.0 } } @@ -1529,12 +1891,12 @@ "maxclass" : "comment", "text" : "Instrument 1 is monophonic with glide: this bit of patching delays the note-offs slightly", "linecount" : 3, + "numinlets" : 1, + "patching_rect" : [ 155.0, 100.0, 147.0, 42.0 ], + "id" : "obj-20", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 10.385214, "numoutlets" : 0, - "patching_rect" : [ 155.0, 100.0, 147.0, 42.0 ], - "id" : "obj-20" + "fontsize" : 10.385214 } } @@ -1542,13 +1904,13 @@ "box" : { "maxclass" : "newobj", "text" : "zl rev", + "numinlets" : 2, + "patching_rect" : [ 131.0, 145.055237, 39.0, 20.0 ], + "id" : "obj-12", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 131.0, 145.055237, 39.0, 20.0 ], - "id" : "obj-12" + "fontsize" : 12.0 } } @@ -1556,13 +1918,13 @@ "box" : { "maxclass" : "newobj", "text" : "route 1", + "numinlets" : 1, + "patching_rect" : [ 131.0, 185.055237, 48.0, 20.0 ], + "id" : "obj-4", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 131.0, 185.055237, 48.0, 20.0 ], - "id" : "obj-4" + "fontsize" : 12.0 } } @@ -1570,10 +1932,10 @@ "box" : { "maxclass" : "inlet", "numinlets" : 0, + "patching_rect" : [ 131.0, 40.0, 25.0, 25.0 ], + "id" : "obj-63", "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 131.0, 40.0, 25.0, 25.0 ], - "id" : "obj-63", "comment" : "" } @@ -1582,9 +1944,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "numoutlets" : 0, "patching_rect" : [ 192.0, 494.055237, 25.0, 25.0 ], "id" : "obj-64", + "numoutlets" : 0, "comment" : "" } @@ -1592,8 +1954,107 @@ ], "lines" : [ { "patchline" : { - "source" : [ "obj-62", 0 ], - "destination" : [ "obj-64", 0 ], + "source" : [ "obj-12", 0 ], + "destination" : [ "obj-4", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-4", 0 ], + "destination" : [ "obj-22", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 0 ], + "destination" : [ "obj-24", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 1 ], + "destination" : [ "obj-56", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-24", 0 ], + "destination" : [ "obj-56", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-56", 0 ], + "destination" : [ "obj-57", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-24", 1 ], + "destination" : [ "obj-58", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 1 ], + "destination" : [ "obj-58", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-57", 0 ], + "destination" : [ "obj-59", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-58", 0 ], + "destination" : [ "obj-59", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-4", 1 ], + "destination" : [ "obj-62", 1 ], + "hidden" : 0, + "midpoints" : [ 169.5, 212.055237, 301.0, 212.055237, 301.0, 409.055237, 221.5, 409.055237 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-59", 0 ], + "destination" : [ "obj-62", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -1610,107 +2071,8 @@ } , { "patchline" : { - "source" : [ "obj-59", 0 ], - "destination" : [ "obj-62", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-4", 1 ], - "destination" : [ "obj-62", 1 ], - "hidden" : 0, - "midpoints" : [ 169.5, 212.055237, 301.0, 212.055237, 301.0, 409.055237, 221.5, 409.055237 ] - } - - } -, { - "patchline" : { - "source" : [ "obj-58", 0 ], - "destination" : [ "obj-59", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-57", 0 ], - "destination" : [ "obj-59", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-22", 1 ], - "destination" : [ "obj-58", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-24", 1 ], - "destination" : [ "obj-58", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-56", 0 ], - "destination" : [ "obj-57", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-24", 0 ], - "destination" : [ "obj-56", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-22", 1 ], - "destination" : [ "obj-56", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-22", 0 ], - "destination" : [ "obj-24", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-4", 0 ], - "destination" : [ "obj-22", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-12", 0 ], - "destination" : [ "obj-4", 0 ], + "source" : [ "obj-62", 0 ], + "destination" : [ "obj-64", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -1720,13 +2082,13 @@ } , "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", "fontname" : "Arial", "default_fontsize" : 12.0, "globalpatchername" : "", "fontface" : 0, - "fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial" + "fontsize" : 12.0 } } @@ -1736,12 +2098,12 @@ "box" : { "maxclass" : "newobj", "text" : "udpsend localhost 12344", + "numinlets" : 1, + "patching_rect" : [ 998.0, 214.0, 144.0, 20.0 ], + "id" : "obj-32", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 998.0, 214.0, 144.0, 20.0 ], - "id" : "obj-32" + "fontsize" : 12.0 } } @@ -1749,13 +2111,13 @@ "box" : { "maxclass" : "newobj", "text" : "prepend /person", + "numinlets" : 1, + "patching_rect" : [ 998.0, 174.0, 98.0, 20.0 ], + "id" : "obj-31", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 998.0, 174.0, 98.0, 20.0 ], - "id" : "obj-31" + "fontsize" : 12.0 } } @@ -1763,67 +2125,67 @@ "box" : { "maxclass" : "newobj", "text" : "pak i f f f", + "numinlets" : 4, + "patching_rect" : [ 998.0, 95.0, 59.5, 20.0 ], + "id" : "obj-30", "fontname" : "Arial", - "numinlets" : 4, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 998.0, 95.0, 59.5, 20.0 ], - "id" : "obj-30" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "flonum", + "numinlets" : 1, + "patching_rect" : [ 1084.0, 50.0, 80.0, 20.0 ], + "id" : "obj-29", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 1084.0, 50.0, 80.0, 20.0 ], - "id" : "obj-29" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "flonum", + "numinlets" : 1, + "patching_rect" : [ 1030.0, 50.0, 50.0, 20.0 ], + "id" : "obj-27", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 1030.0, 50.0, 50.0, 20.0 ], - "id" : "obj-27" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "flonum", + "numinlets" : 1, + "patching_rect" : [ 977.0, 50.0, 50.0, 20.0 ], + "id" : "obj-25", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], - "patching_rect" : [ 977.0, 50.0, 50.0, 20.0 ], - "id" : "obj-25" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "number", + "numinlets" : 1, + "patching_rect" : [ 923.0, 50.0, 50.0, 20.0 ], + "id" : "obj-23", "fontname" : "Arial", - "numinlets" : 1, - "minimum" : 0, - "fontsize" : 12.0, + "maximum" : 2, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], - "maximum" : 2, - "patching_rect" : [ 923.0, 50.0, 50.0, 20.0 ], - "id" : "obj-23" + "fontsize" : 12.0, + "minimum" : 0 } } @@ -1831,10 +2193,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 414.0, 466.0, 20.0, 20.0 ], + "id" : "obj-21", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 414.0, 466.0, 20.0, 20.0 ], - "id" : "obj-21" + "outlettype" : [ "bang" ] } } @@ -1842,10 +2204,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, + "patching_rect" : [ 325.0, 436.0, 20.0, 20.0 ], + "id" : "obj-19", "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 325.0, 436.0, 20.0, 20.0 ], - "id" : "obj-19" + "outlettype" : [ "bang" ] } } @@ -1853,13 +2215,13 @@ "box" : { "maxclass" : "newobj", "text" : "flush", + "numinlets" : 2, + "patching_rect" : [ 401.0, 497.0, 49.0, 20.0 ], + "id" : "obj-17", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 2, "outlettype" : [ "int", "int" ], - "patching_rect" : [ 401.0, 497.0, 49.0, 20.0 ], - "id" : "obj-17" + "fontsize" : 12.0 } } @@ -1867,26 +2229,26 @@ "box" : { "maxclass" : "message", "text" : "/chord", + "numinlets" : 2, + "patching_rect" : [ 72.0, 522.0, 44.0, 18.0 ], + "id" : "obj-16", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 72.0, 522.0, 44.0, 18.0 ], - "id" : "obj-16" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "newobj", - "text" : "udpsend 169.254.25.239 12346", + "text" : "udpsend 169.254.169.93 12346", + "numinlets" : 1, + "patching_rect" : [ 94.0, 586.0, 188.0, 20.0 ], + "id" : "obj-10", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 72.0, 546.0, 181.0, 20.0 ], - "id" : "obj-10" + "fontsize" : 12.0 } } @@ -1894,27 +2256,27 @@ "box" : { "maxclass" : "newobj", "text" : "unpack 0 0 0", + "numinlets" : 1, + "patching_rect" : [ 401.0, 413.0, 79.0, 20.0 ], + "id" : "obj-7", "fontname" : "Arial", - "numinlets" : 1, - "fontsize" : 12.0, "numoutlets" : 3, "outlettype" : [ "int", "int", "int" ], - "patching_rect" : [ 401.0, 413.0, 79.0, 20.0 ], - "id" : "obj-7" + "fontsize" : 12.0 } } , { "box" : { "maxclass" : "message", - "text" : "79 0 1", + "text" : "63 0 1", + "numinlets" : 2, + "patching_rect" : [ 345.0, 243.0, 50.0, 18.0 ], + "id" : "obj-6", "fontname" : "Arial", - "numinlets" : 2, - "fontsize" : 12.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 345.0, 243.0, 50.0, 18.0 ], - "id" : "obj-6" + "fontsize" : 12.0 } } @@ -1922,12 +2284,12 @@ "box" : { "maxclass" : "newobj", "text" : "ctlout a", + "numinlets" : 3, + "patching_rect" : [ 694.0, 193.387756, 52.0, 21.0 ], + "id" : "obj-2", "fontname" : "Arial", - "numinlets" : 3, - "fontsize" : 12.88093, "numoutlets" : 0, - "patching_rect" : [ 694.0, 193.387756, 52.0, 21.0 ], - "id" : "obj-2" + "fontsize" : 12.88093 } } @@ -1936,12 +2298,12 @@ "maxclass" : "comment", "text" : "OSC input is routed to instruments 1-3.", "linecount" : 2, + "numinlets" : 1, + "patching_rect" : [ 528.0, 31.91593, 176.0, 45.0 ], + "id" : "obj-54", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 16.935125, "numoutlets" : 0, - "patching_rect" : [ 528.0, 31.91593, 176.0, 45.0 ], - "id" : "obj-54" + "fontsize" : 16.935125 } } @@ -1949,12 +2311,12 @@ "box" : { "maxclass" : "comment", "text" : "value, CC number, channel", + "numinlets" : 1, + "patching_rect" : [ 738.0, 159.794876, 120.0, 16.0 ], + "id" : "obj-43", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 8.46547, "numoutlets" : 0, - "patching_rect" : [ 738.0, 159.794876, 120.0, 16.0 ], - "id" : "obj-43" + "fontsize" : 8.46547 } } @@ -1962,13 +2324,13 @@ "box" : { "maxclass" : "newobj", "text" : "zl rev", + "numinlets" : 2, + "patching_rect" : [ 694.0, 156.25, 39.0, 19.0 ], + "id" : "obj-39", "fontname" : "Arial Bold", - "numinlets" : 2, - "fontsize" : 11.134259, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 694.0, 156.25, 39.0, 19.0 ], - "id" : "obj-39" + "fontsize" : 11.134259 } } @@ -1977,12 +2339,12 @@ "maxclass" : "comment", "text" : "Route MIDI data from Joe to the three instruments.", "linecount" : 5, + "numinlets" : 1, + "patching_rect" : [ 327.0, 107.0, 71.0, 64.0 ], + "id" : "obj-35", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 10.0, "numoutlets" : 0, - "patching_rect" : [ 327.0, 107.0, 71.0, 64.0 ], - "id" : "obj-35" + "fontsize" : 10.0 } } @@ -1990,13 +2352,13 @@ "box" : { "maxclass" : "newobj", "text" : "fromsymbol", + "numinlets" : 1, + "patching_rect" : [ 401.0, 218.0, 68.0, 18.0 ], + "id" : "obj-15", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 401.0, 218.0, 68.0, 18.0 ], - "id" : "obj-15" + "fontsize" : 10.0 } } @@ -2004,12 +2366,12 @@ "box" : { "maxclass" : "newobj", "text" : "print unhandled_osc", + "numinlets" : 1, + "patching_rect" : [ 495.0, 245.0, 109.0, 18.0 ], + "id" : "obj-14", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 10.0, "numoutlets" : 0, - "patching_rect" : [ 495.0, 245.0, 109.0, 18.0 ], - "id" : "obj-14" + "fontsize" : 10.0 } } @@ -2018,12 +2380,12 @@ "maxclass" : "comment", "text" : "From tim's Grid mapping.\nIn form: channel, CC number, value", "linecount" : 2, + "numinlets" : 1, + "patching_rect" : [ 702.0, 100.703423, 155.0, 27.0 ], + "id" : "obj-13", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 8.716659, "numoutlets" : 0, - "patching_rect" : [ 702.0, 100.703423, 155.0, 27.0 ], - "id" : "obj-13" + "fontsize" : 8.716659 } } @@ -2031,12 +2393,12 @@ "box" : { "maxclass" : "comment", "text" : "From Joe as one big string", + "numinlets" : 1, + "patching_rect" : [ 417.0, 116.231461, 105.0, 15.0 ], + "id" : "obj-11", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 7.352522, "numoutlets" : 0, - "patching_rect" : [ 417.0, 116.231461, 105.0, 15.0 ], - "id" : "obj-11" + "fontsize" : 7.352522 } } @@ -2044,13 +2406,13 @@ "box" : { "maxclass" : "newobj", "text" : "route /cc", + "numinlets" : 1, + "patching_rect" : [ 694.0, 132.480774, 55.0, 19.0 ], + "id" : "obj-8", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 10.605745, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 694.0, 132.480774, 55.0, 19.0 ], - "id" : "obj-8" + "fontsize" : 10.605745 } } @@ -2058,13 +2420,13 @@ "box" : { "maxclass" : "newobj", "text" : "route /pitch_vel_chan", + "numinlets" : 1, + "patching_rect" : [ 401.0, 133.0, 113.0, 18.0 ], + "id" : "obj-5", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], - "patching_rect" : [ 401.0, 133.0, 113.0, 18.0 ], - "id" : "obj-5" + "fontsize" : 10.0 } } @@ -2072,13 +2434,13 @@ "box" : { "maxclass" : "newobj", "text" : "udpreceive 12345", + "numinlets" : 1, + "patching_rect" : [ 399.0, 42.0, 94.0, 18.0 ], + "id" : "obj-3", "fontname" : "Arial Bold", - "numinlets" : 1, - "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 399.0, 42.0, 94.0, 18.0 ], - "id" : "obj-3" + "fontsize" : 10.0 } } @@ -2086,20 +2448,20 @@ "box" : { "maxclass" : "newobj", "text" : "noteout a", + "numinlets" : 3, + "patching_rect" : [ 401.0, 648.0, 79.0, 20.0 ], + "id" : "obj-1", "fontname" : "Arial", - "numinlets" : 3, - "fontsize" : 12.0, "numoutlets" : 0, - "patching_rect" : [ 401.0, 648.0, 79.0, 20.0 ], - "id" : "obj-1" + "fontsize" : 12.0 } } ], "lines" : [ { "patchline" : { - "source" : [ "obj-42", 1 ], - "destination" : [ "obj-98", 0 ], + "source" : [ "obj-6", 0 ], + "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2107,8 +2469,8 @@ } , { "patchline" : { - "source" : [ "obj-74", 0 ], - "destination" : [ "obj-42", 0 ], + "source" : [ "obj-110", 0 ], + "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2116,8 +2478,17 @@ } , { "patchline" : { - "source" : [ "obj-86", 0 ], - "destination" : [ "obj-80", 0 ], + "source" : [ "obj-89", 1 ], + "destination" : [ "obj-82", 1 ], + "hidden" : 0, + "midpoints" : [ 1067.5, 349.0, 905.5, 349.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-89", 0 ], + "destination" : [ "obj-82", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2125,25 +2496,16 @@ } , { "patchline" : { - "source" : [ "obj-47", 0 ], - "destination" : [ "obj-96", 0 ], + "source" : [ "obj-64", 1 ], + "destination" : [ "obj-82", 2 ], "hidden" : 0, - "midpoints" : [ ] + "midpoints" : [ 1126.0, 358.0, 946.5, 358.0 ] } } , { "patchline" : { - "source" : [ "obj-61", 0 ], - "destination" : [ "obj-96", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-96", 0 ], + "source" : [ "obj-82", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -2152,16 +2514,7 @@ } , { "patchline" : { - "source" : [ "obj-96", 2 ], - "destination" : [ "obj-1", 2 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-96", 1 ], + "source" : [ "obj-82", 1 ], "destination" : [ "obj-1", 1 ], "hidden" : 0, "midpoints" : [ ] @@ -2170,71 +2523,8 @@ } , { "patchline" : { - "source" : [ "obj-61", 0 ], - "destination" : [ "obj-66", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-45", 0 ], - "destination" : [ "obj-61", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-44", 0 ], - "destination" : [ "obj-45", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-44", 0 ], - "destination" : [ "obj-51", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-58", 0 ], - "destination" : [ "obj-51", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-51", 0 ], - "destination" : [ "obj-53", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-3", 0 ], - "destination" : [ "obj-5", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-3", 0 ], - "destination" : [ "obj-8", 0 ], + "source" : [ "obj-106", 0 ], + "destination" : [ "obj-1", 2 ], "hidden" : 0, "midpoints" : [ ] } @@ -2269,8 +2559,8 @@ } , { "patchline" : { - "source" : [ "obj-29", 0 ], - "destination" : [ "obj-30", 3 ], + "source" : [ "obj-45", 0 ], + "destination" : [ "obj-61", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2278,8 +2568,8 @@ } , { "patchline" : { - "source" : [ "obj-27", 0 ], - "destination" : [ "obj-30", 2 ], + "source" : [ "obj-51", 0 ], + "destination" : [ "obj-45", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2287,8 +2577,8 @@ } , { "patchline" : { - "source" : [ "obj-25", 0 ], - "destination" : [ "obj-30", 1 ], + "source" : [ "obj-50", 0 ], + "destination" : [ "obj-63", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2296,8 +2586,8 @@ } , { "patchline" : { - "source" : [ "obj-23", 0 ], - "destination" : [ "obj-30", 0 ], + "source" : [ "obj-52", 0 ], + "destination" : [ "obj-50", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2305,8 +2595,8 @@ } , { "patchline" : { - "source" : [ "obj-30", 0 ], - "destination" : [ "obj-31", 0 ], + "source" : [ "obj-55", 0 ], + "destination" : [ "obj-50", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2314,8 +2604,8 @@ } , { "patchline" : { - "source" : [ "obj-31", 0 ], - "destination" : [ "obj-32", 0 ], + "source" : [ "obj-57", 0 ], + "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2323,7 +2613,403 @@ } , { "patchline" : { - "source" : [ "obj-21", 0 ], + "source" : [ "obj-59", 0 ], + "destination" : [ "obj-55", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-37", 0 ], + "destination" : [ "obj-49", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-49", 0 ], + "destination" : [ "obj-47", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-47", 2 ], + "destination" : [ "obj-49", 0 ], + "hidden" : 0, + "midpoints" : [ 561.833313, 508.0, 611.0, 508.0, 611.0, 452.0, 520.5, 452.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-22", 0 ], + "destination" : [ "obj-12", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-12", 0 ], + "destination" : [ "obj-14", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-5", 1 ], + "destination" : [ "obj-12", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 0 ], + "destination" : [ "obj-7", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-8", 0 ], + "destination" : [ "obj-167", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-8", 0 ], + "destination" : [ "obj-165", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-141", 0 ], + "destination" : [ "obj-163", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-19", 0 ], + "destination" : [ "obj-141", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-161", 0 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-127", 0 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-126", 0 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-125", 0 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-124", 0 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-122", 0 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-123", 0 ], + "destination" : [ "obj-120", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-108", 0 ], + "destination" : [ "obj-19", 0 ], + "hidden" : 0, + "midpoints" : [ 136.5, 402.0, 334.5, 402.0 ] + } + + } +, { + "patchline" : { + "source" : [ "obj-105", 0 ], + "destination" : [ "obj-108", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-108", 0 ], + "destination" : [ "obj-109", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-70", 0 ], + "destination" : [ "obj-75", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-74", 0 ], + "destination" : [ "obj-70", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-70", 0 ], + "destination" : [ "obj-78", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-78", 3 ], + "destination" : [ "obj-105", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-80", 0 ], + "destination" : [ "obj-83", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-83", 0 ], + "destination" : [ "obj-78", 4 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-78", 0 ], + "destination" : [ "obj-87", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-78", 0 ], + "destination" : [ "obj-88", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-94", 0 ], + "destination" : [ "obj-90", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-87", 0 ], + "destination" : [ "obj-94", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-93", 0 ], + "destination" : [ "obj-92", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-88", 0 ], + "destination" : [ "obj-93", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 0 ], + "destination" : [ "obj-65", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-5", 0 ], + "destination" : [ "obj-15", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-8", 0 ], + "destination" : [ "obj-39", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-39", 0 ], + "destination" : [ "obj-2", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 0 ], + "destination" : [ "obj-6", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 2 ], + "destination" : [ "obj-1", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 1 ], + "destination" : [ "obj-17", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-7", 0 ], + "destination" : [ "obj-17", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-17", 0 ], + "destination" : [ "obj-1", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-19", 0 ], + "destination" : [ "obj-16", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-19", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -2341,7 +3027,7 @@ } , { "patchline" : { - "source" : [ "obj-19", 0 ], + "source" : [ "obj-21", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -2350,8 +3036,8 @@ } , { "patchline" : { - "source" : [ "obj-19", 0 ], - "destination" : [ "obj-16", 0 ], + "source" : [ "obj-31", 0 ], + "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2359,7 +3045,124 @@ } , { "patchline" : { - "source" : [ "obj-17", 0 ], + "source" : [ "obj-30", 0 ], + "destination" : [ "obj-31", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-23", 0 ], + "destination" : [ "obj-30", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-30", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-27", 0 ], + "destination" : [ "obj-30", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-29", 0 ], + "destination" : [ "obj-30", 3 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-3", 0 ], + "destination" : [ "obj-8", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-3", 0 ], + "destination" : [ "obj-5", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-51", 0 ], + "destination" : [ "obj-53", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-58", 0 ], + "destination" : [ "obj-51", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-44", 0 ], + "destination" : [ "obj-51", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-61", 0 ], + "destination" : [ "obj-66", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-96", 1 ], + "destination" : [ "obj-1", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-96", 2 ], + "destination" : [ "obj-1", 2 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-96", 0 ], "destination" : [ "obj-1", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -2368,8 +3171,8 @@ } , { "patchline" : { - "source" : [ "obj-7", 0 ], - "destination" : [ "obj-17", 0 ], + "source" : [ "obj-61", 0 ], + "destination" : [ "obj-96", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2377,8 +3180,8 @@ } , { "patchline" : { - "source" : [ "obj-7", 1 ], - "destination" : [ "obj-17", 1 ], + "source" : [ "obj-47", 0 ], + "destination" : [ "obj-96", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2386,8 +3189,89 @@ } , { "patchline" : { - "source" : [ "obj-7", 2 ], - "destination" : [ "obj-1", 2 ], + "source" : [ "obj-86", 0 ], + "destination" : [ "obj-80", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-74", 0 ], + "destination" : [ "obj-42", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-42", 1 ], + "destination" : [ "obj-98", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-4", 0 ], + "destination" : [ "obj-58", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-26", 0 ], + "destination" : [ "obj-74", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-28", 0 ], + "destination" : [ "obj-40", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-48", 0 ], + "destination" : [ "obj-10", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-62", 0 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-62", 0 ], + "destination" : [ "obj-60", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-60", 0 ], + "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2396,7 +3280,7 @@ , { "patchline" : { "source" : [ "obj-15", 0 ], - "destination" : [ "obj-6", 1 ], + "destination" : [ "obj-71", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2404,8 +3288,8 @@ } , { "patchline" : { - "source" : [ "obj-39", 0 ], - "destination" : [ "obj-2", 0 ], + "source" : [ "obj-40", 0 ], + "destination" : [ "obj-73", 1 ], "hidden" : 0, "midpoints" : [ ] } @@ -2413,8 +3297,8 @@ } , { "patchline" : { - "source" : [ "obj-8", 0 ], - "destination" : [ "obj-39", 0 ], + "source" : [ "obj-73", 0 ], + "destination" : [ "obj-79", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2422,8 +3306,8 @@ } , { "patchline" : { - "source" : [ "obj-5", 0 ], - "destination" : [ "obj-15", 0 ], + "source" : [ "obj-73", 0 ], + "destination" : [ "obj-81", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2431,8 +3315,8 @@ } , { "patchline" : { - "source" : [ "obj-15", 0 ], - "destination" : [ "obj-65", 0 ], + "source" : [ "obj-81", 1 ], + "destination" : [ "obj-84", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2440,8 +3324,8 @@ } , { "patchline" : { - "source" : [ "obj-88", 0 ], - "destination" : [ "obj-93", 0 ], + "source" : [ "obj-84", 0 ], + "destination" : [ "obj-48", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2449,8 +3333,8 @@ } , { "patchline" : { - "source" : [ "obj-93", 0 ], - "destination" : [ "obj-92", 0 ], + "source" : [ "obj-91", 0 ], + "destination" : [ "obj-81", 2 ], "hidden" : 0, "midpoints" : [ ] } @@ -2458,8 +3342,8 @@ } , { "patchline" : { - "source" : [ "obj-87", 0 ], - "destination" : [ "obj-94", 0 ], + "source" : [ "obj-84", 0 ], + "destination" : [ "obj-73", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2467,8 +3351,8 @@ } , { "patchline" : { - "source" : [ "obj-94", 0 ], - "destination" : [ "obj-90", 0 ], + "source" : [ "obj-99", 0 ], + "destination" : [ "obj-100", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2476,8 +3360,8 @@ } , { "patchline" : { - "source" : [ "obj-78", 0 ], - "destination" : [ "obj-88", 0 ], + "source" : [ "obj-100", 0 ], + "destination" : [ "obj-101", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2485,8 +3369,8 @@ } , { "patchline" : { - "source" : [ "obj-78", 0 ], - "destination" : [ "obj-87", 0 ], + "source" : [ "obj-101", 0 ], + "destination" : [ "obj-97", 1 ], "hidden" : 0, "midpoints" : [ ] } @@ -2494,8 +3378,8 @@ } , { "patchline" : { - "source" : [ "obj-83", 0 ], - "destination" : [ "obj-78", 4 ], + "source" : [ "obj-101", 1 ], + "destination" : [ "obj-97", 2 ], "hidden" : 0, "midpoints" : [ ] } @@ -2503,134 +3387,8 @@ } , { "patchline" : { - "source" : [ "obj-80", 0 ], - "destination" : [ "obj-83", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-78", 3 ], - "destination" : [ "obj-105", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-70", 0 ], - "destination" : [ "obj-78", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-74", 0 ], - "destination" : [ "obj-70", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-70", 0 ], - "destination" : [ "obj-75", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-108", 0 ], - "destination" : [ "obj-109", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-105", 0 ], - "destination" : [ "obj-108", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-108", 0 ], - "destination" : [ "obj-19", 0 ], - "hidden" : 0, - "midpoints" : [ 136.5, 402.0, 334.5, 402.0 ] - } - - } -, { - "patchline" : { - "source" : [ "obj-123", 0 ], - "destination" : [ "obj-120", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-122", 0 ], - "destination" : [ "obj-120", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-124", 0 ], - "destination" : [ "obj-120", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-125", 0 ], - "destination" : [ "obj-120", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-126", 0 ], - "destination" : [ "obj-120", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-127", 0 ], - "destination" : [ "obj-120", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-161", 0 ], - "destination" : [ "obj-120", 0 ], + "source" : [ "obj-104", 0 ], + "destination" : [ "obj-91", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2639,142 +3397,7 @@ , { "patchline" : { "source" : [ "obj-19", 0 ], - "destination" : [ "obj-141", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-141", 0 ], - "destination" : [ "obj-163", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-8", 0 ], - "destination" : [ "obj-165", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-8", 0 ], - "destination" : [ "obj-167", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-15", 0 ], - "destination" : [ "obj-7", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-5", 1 ], - "destination" : [ "obj-12", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-12", 0 ], - "destination" : [ "obj-14", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-22", 0 ], - "destination" : [ "obj-12", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-47", 2 ], - "destination" : [ "obj-49", 0 ], - "hidden" : 0, - "midpoints" : [ 561.833313, 508.0, 611.0, 508.0, 611.0, 452.0, 520.5, 452.0 ] - } - - } -, { - "patchline" : { - "source" : [ "obj-49", 0 ], - "destination" : [ "obj-47", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-37", 0 ], - "destination" : [ "obj-49", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-59", 0 ], - "destination" : [ "obj-55", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-57", 0 ], - "destination" : [ "obj-52", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-55", 0 ], - "destination" : [ "obj-50", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-52", 0 ], - "destination" : [ "obj-50", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-50", 0 ], - "destination" : [ "obj-63", 0 ], + "destination" : [ "obj-37", 0 ], "hidden" : 0, "midpoints" : [ ] } diff -r b1c6e3d3a18b -r 763d56955d10 of/testApp.cpp --- a/of/testApp.cpp Tue Mar 01 12:28:19 2011 +0000 +++ b/of/testApp.cpp Fri Mar 04 13:56:53 2011 +0000 @@ -31,7 +31,9 @@ franklinBook.loadFont("frabk.ttf", 32); sender.setup( HOST, PORT ); - stopSender.setup( HOST, STOPPORT ); + stopSender.setup( STOPHOST, STOPPORT ); + heresySender.setup(HERESY_HOST, HERESY_PORT); + maxTorsoValues[0] = 0; maxTorsoValues[1] = 0; @@ -66,10 +68,19 @@ //printf("tracking time %d and last recorded %d\n", timeNow, lastRecordedTime[userID]); userPresent[userID] = true; lastRecordedTime[userID] = timeNow ; + torso[userID][0] = tracked->left_upper_torso.end.x; torso[userID][1] = tracked->left_upper_torso.end.y; torso[userID][2] = tracked->left_upper_torso.end.z; - + + leftHandPosition[userID][0] = tracked->left_lower_arm.end.x; + leftHandPosition[userID][1] = tracked->left_lower_arm.end.y; + leftHandPosition[userID][2] = tracked->left_lower_arm.end.z; + + rightHandPosition[userID][0] = tracked->right_lower_arm.end.x; + rightHandPosition[userID][1] = tracked->right_lower_arm.end.y; + rightHandPosition[userID][2] = tracked->right_lower_arm.end.z; + checkTorsoMaxima(userID); //recent track, low distance but do nothing yet @@ -113,14 +124,119 @@ void testApp::sendStopMessageForUser(int userID){ ofxOscMessage m; - m.setAddress( "/stoppedperson" ); + m.setAddress( "/stopperson" ); m.addIntArg( userID ); m.addFloatArg( torso[userID][0]/maxTorsoValues[0] ); m.addFloatArg( torso[userID][1] /maxTorsoValues[1]); m.addFloatArg( torso[userID][2] /maxTorsoValues[2]); stopSender.sendMessage( m ); + + + ofxOscMessage newMess; + newMess.setAddress( "/stopperson" ); + newMess.addIntArg( userID ); + sender.sendMessage( newMess ); } + +void testApp::sendInformationToHeresy(int userID){ + + //map to pitches interpolation + double zVal = torso[userID][2] /maxTorsoValues[2]; + int pitch; + if (zVal < 1) + pitch = (int)(16 * zVal); + else + pitch = 15; + + double leftHand, rightHand; + leftHand = leftHandPosition[userID][2]/maxTorsoValues[2];//i.e. z position but 0 to 1 + rightHand = rightHandPosition[userID][2]/maxTorsoValues[2];//same for right + + + if (userID == 0){ + //i.e. monophonic + + if (pitch != pitchPlaying[userID]){ + //then we have a change + //send note off + sendNoteMessageToHeresy(pitchPlaying[userID], 0, 0, userID); + sendNoteMessageToHeresy(pitch, 1, 127, userID);// int channel){ + pitchPlaying[userID] = pitch; + + //the send control change for the hands XXX TO DO + + } + } + else{ + //i.e. channel for user 2 and 3 + double minimum = min(leftHand, rightHand); + double maximum = max(leftHand, rightHand); + int minPitch = (int) (16 * minimum); + int maxPitch = (int) (16 * maximum); + minMaxValues[userID][0] = minPitch; + minMaxValues[userID][1] = maxPitch; + if (maxPitch > 15) + maxPitch = 15; + + printf("user %i min %i max %i\n", userID, minPitch, maxPitch); + for (int p = 0;p < 16;p++){ + + if (p < minPitch || p > maxPitch){ + //sendNoteMessageToHeresy(p, 0, 0, userID); + nowPlaying[userID][p] = false; + } + else{ + nowPlaying[userID][p] = true; + } + + + if (nowPlaying[userID][p] != lastPlaying[userID][p]){ + if (nowPlaying[userID][p]) + { + sendNoteMessageToHeresy(p, 1, 127, userID); + lastPlaying[userID][p] = true; + } + else { + sendNoteMessageToHeresy(p, 0, 0, userID); + lastPlaying[userID][p] = false; + } + } + }//edn for + + } + + + + + + //x and y get sent to max after being mapped 0 to 127 + //these are control change messages + //cvan be sent straight to max + int xVal, yVal; + xVal = (int)(127 * torso[userID][0]/maxTorsoValues[0] ); + yVal = (int)(127 * torso[userID][1]/maxTorsoValues[1] ); + + + +} + +void testApp::sendNoteMessageToHeresy(int noteNumber, int onOrOff, int velocity, int channel){ + channel++; + + ofxOscMessage m; + m.setAddress( "/test" ); + m.addStringArg("note"); + m.addIntArg( noteNumber ); + m.addIntArg( onOrOff ); + m.addIntArg( velocity ); + m.addIntArg( channel ); + heresySender.sendMessage( m ); + + +} + + //-------------------------------------------------------------- void testApp::draw(){ ofBackground(238,238,224); @@ -156,6 +272,7 @@ if (userPresent[userID]){ sendDataViaOSC(userID); + sendInformationToHeresy(userID); ofSetColor(0x000000); outputString = "Us "; @@ -248,7 +365,9 @@ ofSetColor(238,238,224); ofFill(); ofRect(0,0,ofGetWidth(),ofGetHeight()); - + + int pitch = (int) ofRandom(0, 15); + sendNoteMessageToHeresy(pitch, 1, 127, 1); } //-------------------------------------------------------------- diff -r b1c6e3d3a18b -r 763d56955d10 of/testApp.h --- a/of/testApp.h Tue Mar 01 12:28:19 2011 +0000 +++ b/of/testApp.h Fri Mar 04 13:56:53 2011 +0000 @@ -8,9 +8,13 @@ #include "ofxOpenNI.h" #include "ofxOsc.h" #define NUMBER_OF_USERS 6 -#define HOST "localhost" +#define HOST "169.254.107.152"//"localhost" #define PORT 12344 #define STOPPORT 12343 +#define STOPHOST "localhost" + +#define HERESY_PORT 12346 +#define HERESY_HOST "169.254.169.93" class testApp : public ofBaseApp{ @@ -37,6 +41,8 @@ ofxImageGenerator image; //ofImage Davy; void sendStopMessageForUser(int userID); + void sendInformationToHeresy(int userID); + void sendNoteMessageToHeresy(int noteNumber, int onOrOff, int velocity, int channel); ofImage anubis; bool drawIt; @@ -47,10 +53,18 @@ double lastRecordedTime[NUMBER_OF_USERS];//x,y,and z of the head float torso[6][3];//x,y,and z of the head bool userPresent[6]; + bool notePlayingArray[NUMBER_OF_USERS][16]; + int pitchPlaying[NUMBER_OF_USERS]; + bool nowPlaying[NUMBER_OF_USERS][16]; + bool lastPlaying[NUMBER_OF_USERS][16]; + + float rightHandPosition[NUMBER_OF_USERS][3]; + float leftHandPosition[NUMBER_OF_USERS][3]; + double minMaxValues[NUMBER_OF_USERS][2]; ofTrueTypeFont franklinBook; string outputString; - ofxOscSender sender, stopSender; + ofxOscSender sender, stopSender, heresySender; }; #endif