changeset 20:4f6006cac9de

added evaluation of recorded tempo, holding of this data, drawing of recorded and playing tempo estimates
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sun, 12 Feb 2012 00:48:07 +0000
parents 1a62561bd72d
children 604add81822f
files MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat bayesianArraySrc/BayesianArrayStructure.cpp bayesianArraySrc/DynamicVector.cpp src/AudioEventMatcher.cpp src/AudioEventMatcher.h src/TempoFollower.cpp src/TempoFollower.h src/testApp.cpp
diffstat 8 files changed, 4160 insertions(+), 3865 deletions(-) [+]
line wrap: on
line diff
--- a/MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat	Thu Feb 09 18:09:34 2012 +0000
+++ b/MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat	Sun Feb 12 00:48:07 2012 +0000
@@ -1,9 +1,9 @@
 {
 	"patcher" : 	{
 		"fileversion" : 1,
-		"rect" : [ 388.0, 68.0, 1528.0, 909.0 ],
+		"rect" : [ 152.0, 68.0, 1528.0, 909.0 ],
 		"bglocked" : 0,
-		"defrect" : [ 388.0, 68.0, 1528.0, 909.0 ],
+		"defrect" : [ 152.0, 68.0, 1528.0, 909.0 ],
 		"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
 		"openinpresentation" : 0,
 		"default_fontsize" : 10.0,
@@ -16,19 +16,48 @@
 		"boxanimatetime" : 200,
 		"imprint" : 0,
 		"enablehscroll" : 1,
-		"enablevscroll" : 1,
+		"enablevscroll" : 0,
 		"devicewidth" : 0.0,
 		"boxes" : [ 			{
 				"box" : 				{
+					"maxclass" : "number",
+					"presentation_rect" : [ 490.0, 783.0, 50.0, 19.0 ],
+					"fontsize" : 10.0,
+					"patching_rect" : [ 490.0, 783.0, 50.0, 19.0 ],
+					"presentation" : 1,
+					"id" : "obj-138",
+					"numinlets" : 1,
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "bang" ]
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "newobj",
+					"text" : "ftom",
+					"fontsize" : 10.0,
+					"patching_rect" : [ 484.0, 746.0, 34.0, 19.0 ],
+					"id" : "obj-120",
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
+				}
+
+			}
+, 			{
+				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "t b l",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 869.0, 37.0, 32.5, 19.0 ],
-					"outlettype" : [ "bang", "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-156",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "bang", "" ]
 				}
 
 			}
@@ -36,26 +65,26 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "t b b",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1153.0, 315.0, 34.0, 19.0 ],
-					"outlettype" : [ "bang", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-125",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "bang", "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1226.0, 337.0, 65.0, 19.0 ],
-					"outlettype" : [ "float", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-121",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float", "bang" ]
 				}
 
 			}
@@ -63,13 +92,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 995.0, 348.0, 68.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-82",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -77,26 +106,26 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "f 1.",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 977.0, 518.0, 32.5, 19.0 ],
-					"outlettype" : [ "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-115",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 502.0, 170.0, 20.0, 20.0 ],
 					"patching_rect" : [ 976.0, 392.0, 20.0, 20.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "int" ],
-					"presentation_rect" : [ 502.0, 170.0, 20.0, 20.0 ],
 					"id" : "obj-88",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "int" ]
 				}
 
 			}
@@ -104,28 +133,28 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "metro 100",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 976.0, 423.0, 70.0, 19.0 ],
-					"outlettype" : [ "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-69",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 580.0, 198.0, 50.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 991.0, 485.0, 50.0, 19.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "float", "bang" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 580.0, 198.0, 50.0, 19.0 ],
 					"id" : "obj-137",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float", "bang" ]
 				}
 
 			}
@@ -133,13 +162,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "append 1000",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1040.0, 423.0, 77.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-135",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -147,13 +176,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "line 1.",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 991.0, 449.0, 46.0, 19.0 ],
-					"outlettype" : [ "", "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-134",
 					"numinlets" : 3,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "", "" ]
 				}
 
 			}
@@ -161,13 +190,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "route /setSpeed",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1217.0, 296.0, 91.0, 19.0 ],
-					"outlettype" : [ "", "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-133",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "", "" ]
 				}
 
 			}
@@ -175,13 +204,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "udpreceive 10875",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1193.0, 261.0, 101.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-132",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -189,13 +218,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend /accompanimentSpeed",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 991.0, 819.0, 170.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-131",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -203,27 +232,27 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend /accompanimentRatio",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1108.0, 756.0, 165.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-129",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "60644.550781 0.",
-					"numoutlets" : 1,
+					"text" : "758150.4375 0.",
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1235.0, 776.0, 101.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-126",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -231,13 +260,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "r startTime",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1319.0, 610.0, 66.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-124",
 					"numinlets" : 0,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -245,13 +274,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "- 0.",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1253.0, 662.0, 37.5, 19.0 ],
-					"outlettype" : [ "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-123",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float" ]
 				}
 
 			}
@@ -259,13 +288,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "t b f",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1243.0, 577.0, 64.5, 19.0 ],
-					"outlettype" : [ "bang", "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-122",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "bang", "float" ]
 				}
 
 			}
@@ -273,13 +302,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1253.0, 609.0, 58.0, 19.0 ],
-					"outlettype" : [ "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-119",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float" ]
 				}
 
 			}
@@ -287,13 +316,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "pack 0. 0.",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1253.0, 709.0, 66.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-118",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -301,26 +330,26 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "stop",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1240.0, 373.0, 32.5, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-117",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1305.0, 447.0, 88.0, 19.0 ],
-					"outlettype" : [ "float", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-107",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float", "bang" ]
 				}
 
 			}
@@ -328,41 +357,41 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1257.0, 422.0, 68.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-102",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 497.0, 198.0, 79.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1162.0, 446.0, 79.0, 19.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "float", "bang" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 497.0, 198.0, 79.0, 19.0 ],
 					"id" : "obj-90",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float", "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "gain~",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 366.0, 87.0, 20.0, 140.0 ],
 					"patching_rect" : [ 1098.0, 464.0, 20.0, 140.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "signal", "int" ],
-					"presentation_rect" : [ 366.0, 87.0, 20.0, 140.0 ],
 					"id" : "obj-86",
-					"numinlets" : 2
+					"numinlets" : 2,
+					"numoutlets" : 2,
+					"outlettype" : [ "signal", "int" ]
 				}
 
 			}
@@ -370,13 +399,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "startloop",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1179.0, 374.0, 56.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-84",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -384,13 +413,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "buffer~ accomp",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1323.0, 371.0, 90.0, 19.0 ],
-					"outlettype" : [ "float", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-77",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float", "bang" ]
 				}
 
 			}
@@ -398,30 +427,30 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "replace",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 530.0, 171.0, 47.0, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1325.0, 335.0, 47.0, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 530.0, 171.0, 47.0, 17.0 ],
 					"id" : "obj-71",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number~",
-					"numoutlets" : 2,
 					"mode" : 2,
-					"sig" : 0.0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1259.0, 546.0, 108.0, 19.0 ],
-					"outlettype" : [ "signal", "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-67",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"sig" : 0.0,
+					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "float" ]
 				}
 
 			}
@@ -429,46 +458,46 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "elastic~ accomp 1",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1180.0, 483.0, 147.0, 19.0 ],
-					"outlettype" : [ "signal", "signal" ],
-					"fontsize" : 10.0,
 					"id" : "obj-15",
 					"numinlets" : 4,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "signal" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/newRoom_verse2dues.wav\"",
-					"linecount" : 20,
-					"numoutlets" : 1,
-					"patching_rect" : [ 930.0, 220.0, 50.0, 248.0 ],
-					"outlettype" : [ "" ],
+					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/DiamondMatch2/keys_bip.wav\"",
+					"linecount" : 18,
 					"fontsize" : 10.0,
+					"patching_rect" : [ 930.0, 220.0, 50.0, 223.0 ],
 					"id" : "obj-68",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "prefix \"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/\"",
+					"text" : "prefix \"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/DiamondMatch2/\"",
 					"linecount" : 3,
 					"presentation_linecount" : 3,
-					"numoutlets" : 1,
+					"presentation_rect" : [ 766.0, 24.0, 325.0, 41.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1046.0, 58.0, 325.0, 41.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 766.0, 24.0, 325.0, 41.0 ],
 					"id" : "obj-23",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -476,13 +505,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/start",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 469.0, 284.0, 38.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-116",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -490,13 +519,13 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "snare",
-					"numoutlets" : 0,
+					"presentation_rect" : [ 134.0, 232.0, 42.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 340.0, 251.0, 150.0, 19.0 ],
 					"presentation" : 1,
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 134.0, 232.0, 42.0, 19.0 ],
 					"id" : "obj-114",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -505,13 +534,13 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "bass",
-					"numoutlets" : 0,
+					"presentation_rect" : [ 24.0, 232.0, 35.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 325.0, 236.0, 150.0, 19.0 ],
 					"presentation" : 1,
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 24.0, 232.0, 35.0, 19.0 ],
 					"id" : "obj-111",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -520,13 +549,13 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "kick",
-					"numoutlets" : 0,
+					"presentation_rect" : [ 78.0, 232.0, 35.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 310.0, 221.0, 150.0, 19.0 ],
 					"presentation" : 1,
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 78.0, 232.0, 35.0, 19.0 ],
 					"id" : "obj-109",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -536,13 +565,13 @@
 					"maxclass" : "comment",
 					"text" : "drag and drop foler - number them, 01bass, 02kick, 03snare",
 					"linecount" : 3,
-					"numoutlets" : 0,
+					"presentation_rect" : [ 484.0, 2.0, 346.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1160.0, -52.0, 150.0, 43.0 ],
 					"presentation" : 1,
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 484.0, 2.0, 346.0, 19.0 ],
 					"id" : "obj-106",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -551,24 +580,24 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend prefix",
-					"numoutlets" : 1,
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 856.0, 9.0, 85.0, 20.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 11.595187,
 					"id" : "obj-93",
 					"numinlets" : 1,
-					"fontname" : "Arial"
+					"numoutlets" : 1,
+					"fontname" : "Arial",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"patching_rect" : [ 714.0, -14.0, 20.0, 20.0 ],
+					"id" : "obj-94",
+					"numinlets" : 1,
 					"numoutlets" : 1,
-					"patching_rect" : [ 714.0, -14.0, 20.0, 20.0 ],
-					"outlettype" : [ "bang" ],
-					"id" : "obj-94",
-					"numinlets" : 1
+					"outlettype" : [ "bang" ]
 				}
 
 			}
@@ -576,29 +605,29 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend set",
-					"numoutlets" : 1,
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 714.0, -39.0, 72.0, 20.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 11.595187,
 					"id" : "obj-95",
 					"numinlets" : 1,
-					"fontname" : "Arial"
+					"numoutlets" : 1,
+					"fontname" : "Arial",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "dropfile",
+					"presentation_rect" : [ 488.0, 24.0, 270.0, 19.0 ],
 					"types" : [ "fold" ],
-					"numoutlets" : 2,
 					"border" : 0.0,
 					"patching_rect" : [ 809.0, -39.0, 270.0, 19.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "", "" ],
+					"id" : "obj-96",
 					"rounded" : 0.0,
-					"presentation_rect" : [ 488.0, 24.0, 270.0, 19.0 ],
-					"id" : "obj-96",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 2,
+					"outlettype" : [ "", "" ]
 				}
 
 			}
@@ -606,33 +635,33 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "route text",
-					"numoutlets" : 2,
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 856.0, -12.0, 59.0, 20.0 ],
-					"outlettype" : [ "", "" ],
-					"fontsize" : 11.595187,
 					"id" : "obj-97",
 					"numinlets" : 1,
-					"fontname" : "Arial"
+					"numoutlets" : 2,
+					"fontname" : "Arial",
+					"outlettype" : [ "", "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "textedit",
-					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/\"",
+					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/DiamondMatch2/\"",
 					"linecount" : 4,
 					"presentation_linecount" : 4,
-					"numoutlets" : 4,
+					"presentation_rect" : [ 490.0, 26.0, 270.0, 19.0 ],
 					"border" : 1.0,
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 809.0, -40.0, 270.0, 19.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "", "int", "", "" ],
-					"fontsize" : 11.595187,
+					"id" : "obj-98",
 					"rounded" : 6.0,
-					"presentation_rect" : [ 490.0, 26.0, 270.0, 19.0 ],
-					"id" : "obj-98",
 					"numinlets" : 1,
-					"fontname" : "Arial"
+					"numoutlets" : 4,
+					"fontname" : "Arial",
+					"outlettype" : [ "", "int", "", "" ]
 				}
 
 			}
@@ -640,32 +669,32 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "autopopulate 1",
-					"numoutlets" : 1,
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 760.0, 10.0, 87.0, 18.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 11.595187,
 					"id" : "obj-99",
 					"numinlets" : 2,
-					"fontname" : "Arial"
+					"numoutlets" : 1,
+					"fontname" : "Arial",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"autopopulate" : 1,
+					"presentation_rect" : [ 523.0, 77.0, 243.0, 20.0 ],
+					"items" : [ "01bass_bip.wav", ",", "02kick_bip.wav", ",", "03snare_bip.wav", ",", "coles_bip.wav", ",", "elec_bip.wav", ",", "keys_bip.wav", ",", "neumann_bip.wav", ",", "vox_bip.wav" ],
 					"types" : [  ],
-					"numoutlets" : 3,
+					"prefix" : "Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/DiamondMatch2/",
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 767.0, 96.0, 243.0, 20.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "int", "", "" ],
-					"fontsize" : 11.595187,
-					"autopopulate" : 1,
-					"items" : [ "01_bass_verse2dues.wav", ",", "02kick_verse2dues.wav", ",", "03snare_verse2dues.wav", ",", "04elec_verse2dues.wav", ",", "newRoom_verse2dues.wav" ],
-					"prefix" : "Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveDuesVerse2/",
-					"presentation_rect" : [ 523.0, 77.0, 243.0, 20.0 ],
 					"id" : "obj-100",
 					"numinlets" : 1,
-					"fontname" : "Arial"
+					"numoutlets" : 3,
+					"fontname" : "Arial",
+					"outlettype" : [ "int", "", "" ]
 				}
 
 			}
@@ -673,11 +702,11 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "drag and drop a folder on the textedit to populate the umenu!",
-					"numoutlets" : 0,
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 770.0, -64.0, 336.0, 20.0 ],
-					"fontsize" : 11.595187,
 					"id" : "obj-101",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Arial"
 				}
 
@@ -686,13 +715,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/stop",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 434.0, 587.0, 36.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-92",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -701,11 +730,11 @@
 					"maxclass" : "comment",
 					"text" : "start offset time (to test recovery..)",
 					"linecount" : 2,
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 196.0, -147.0, 150.0, 31.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-89",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -713,37 +742,37 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"patching_rect" : [ 137.0, -131.0, 20.0, 20.0 ],
+					"id" : "obj-87",
+					"numinlets" : 1,
 					"numoutlets" : 1,
-					"patching_rect" : [ 137.0, -131.0, 20.0, 20.0 ],
-					"outlettype" : [ "bang" ],
-					"id" : "obj-87",
-					"numinlets" : 1
+					"outlettype" : [ "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 190.0, -114.0, 50.0, 19.0 ],
-					"outlettype" : [ "int", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-85",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 138.0, -79.0, 50.0, 19.0 ],
-					"outlettype" : [ "int", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-83",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "bang" ]
 				}
 
 			}
@@ -751,13 +780,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "i 0",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 138.0, -103.0, 32.5, 19.0 ],
-					"outlettype" : [ "int" ],
-					"fontsize" : 10.0,
 					"id" : "obj-79",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int" ]
 				}
 
 			}
@@ -765,13 +794,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "20",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 183.0, 399.0, 32.5, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-70",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -779,13 +808,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadbang",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 102.0, 364.0, 56.0, 19.0 ],
-					"outlettype" : [ "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-61",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "bang" ]
 				}
 
 			}
@@ -793,24 +822,24 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "135",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 68.0, 398.0, 37.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-26",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "newobj",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 88.0, 440.0, 100.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-9",
 					"numinlets" : 0,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -819,13 +848,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDuesVerse2/",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 693.0, -92.0, 436.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-7",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -833,13 +862,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "counter 0 0 5",
-					"numoutlets" : 4,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 953.0, 63.0, 78.0, 19.0 ],
-					"outlettype" : [ "int", "", "", "int" ],
-					"fontsize" : 10.0,
 					"id" : "obj-60",
 					"numinlets" : 5,
-					"fontname" : "Verdana"
+					"numoutlets" : 4,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "", "", "int" ]
 				}
 
 			}
@@ -847,13 +876,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 353.0, 225.0, 68.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-1",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -861,11 +890,11 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "s startTime",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 359.0, 699.0, 67.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-65",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -874,41 +903,41 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 715.0, 525.0, 68.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-64",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number~",
-					"numoutlets" : 2,
 					"mode" : 2,
-					"sig" : 0.0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 133.0, 494.0, 56.0, 19.0 ],
-					"outlettype" : [ "signal", "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-62",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"sig" : 0.0,
+					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "float" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "gain~",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 141.0, 85.0, 20.0, 140.0 ],
 					"patching_rect" : [ 128.0, 531.0, 20.0, 140.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "signal", "int" ],
-					"presentation_rect" : [ 141.0, 85.0, 20.0, 140.0 ],
 					"id" : "obj-63",
-					"numinlets" : 2
+					"numinlets" : 2,
+					"numoutlets" : 2,
+					"outlettype" : [ "signal", "int" ]
 				}
 
 			}
@@ -916,13 +945,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend open",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 695.0, 135.0, 80.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-59",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -930,28 +959,28 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 714.0, 285.0, 35.0, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 786.0, 134.0, 35.0, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 714.0, 285.0, 35.0, 17.0 ],
 					"id" : "obj-58",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 141.0, 253.0, 20.0, 20.0 ],
 					"patching_rect" : [ 835.0, 583.0, 20.0, 20.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "int" ],
-					"presentation_rect" : [ 141.0, 253.0, 20.0, 20.0 ],
 					"id" : "obj-39",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "int" ]
 				}
 
 			}
@@ -959,13 +988,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 846.0, 610.0, 33.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-40",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -973,11 +1002,11 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "udpsend 127.0.0.1 10874",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 860.0, 640.0, 141.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-42",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -985,26 +1014,28 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"presentation_rect" : [ 149.0, 347.0, 59.0, 59.0 ],
+					"patching_rect" : [ 823.0, 325.0, 59.0, 59.0 ],
+					"presentation" : 1,
+					"id" : "obj-45",
+					"numinlets" : 1,
 					"numoutlets" : 1,
-					"patching_rect" : [ 823.0, 325.0, 59.0, 59.0 ],
-					"outlettype" : [ "bang" ],
-					"id" : "obj-45",
-					"numinlets" : 1
+					"outlettype" : [ "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"numoutlets" : 3,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 823.0, 256.0, 100.0, 19.0 ],
-					"outlettype" : [ "int", "", "" ],
-					"fontsize" : 10.0,
-					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"id" : "obj-46",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 3,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "", "" ]
 				}
 
 			}
@@ -1012,13 +1043,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 823.0, 290.0, 52.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-47",
 					"numinlets" : 3,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -1026,13 +1057,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p aubioOnsetDeetection",
-					"numoutlets" : 4,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 797.0, 207.0, 131.0, 19.0 ],
-					"outlettype" : [ "signal", "bang", "float", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-48",
 					"numinlets" : 2,
+					"numoutlets" : 4,
 					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 0.0, 0.0, 640.0, 480.0 ],
@@ -1056,11 +1087,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: output period in msecs (will be rounded up to control rate)",
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-62",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -1069,11 +1100,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: minimum frequency in Hz",
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-64",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -1083,11 +1114,11 @@
 									"maxclass" : "comment",
 									"text" : "estimation quality factor",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-82",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -1095,26 +1126,26 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-68",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"id" : "obj-40",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -1122,13 +1153,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/medianOnset",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-39",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1136,13 +1167,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /medianAubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-37",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1150,13 +1181,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /rawAubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-5",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1165,11 +1196,11 @@
 									"maxclass" : "comment",
 									"text" : "raw detection function value",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-32",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1177,13 +1208,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-24",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -1191,13 +1222,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "reset axis /mode ",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ],
 									"id" : "obj-23",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1205,13 +1236,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"id" : "obj-2",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -1219,13 +1250,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "hfc",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-34",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1233,11 +1264,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "or send mode as a as message",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-33",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1246,13 +1277,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /mode",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-31",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1260,13 +1291,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection mode",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ],
 									"id" : "obj-29",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1274,17 +1305,17 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "umenu",
+									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
+									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
 									"types" : [  ],
-									"numoutlets" : 3,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "int", "", "" ],
-									"fontsize" : 10.0,
-									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
-									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
 									"id" : "obj-15",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 3,
+									"fontname" : "Verdana",
+									"outlettype" : [ "int", "", "" ]
 								}
 
 							}
@@ -1293,11 +1324,11 @@
 									"maxclass" : "comment",
 									"text" : "send osc data to aubioOnsetVisualiser in openFrameworks",
 									"linecount" : 3,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-28",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1307,11 +1338,11 @@
 									"maxclass" : "comment",
 									"text" : "print detection function value at onsets",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-26",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1319,11 +1350,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "toggle",
+									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
+									"id" : "obj-18",
+									"numinlets" : 1,
 									"numoutlets" : 1,
-									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
-									"outlettype" : [ "int" ],
-									"id" : "obj-18",
-									"numinlets" : 1
+									"outlettype" : [ "int" ]
 								}
 
 							}
@@ -1331,13 +1362,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "gate",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-13",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1345,13 +1376,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection function as float",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ],
 									"id" : "obj-11",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1360,13 +1391,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/onset",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-22",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1374,13 +1405,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "energy",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-25",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1388,13 +1419,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-21",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -1402,11 +1433,11 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "udpsend 127.0.0.1 12345",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-20",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1415,13 +1446,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "float 0.",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ],
-									"outlettype" : [ "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-16",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float" ]
 								}
 
 							}
@@ -1429,11 +1460,11 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "print",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-19",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1441,15 +1472,15 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ],
 									"id" : "obj-17",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -1457,13 +1488,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "threshold",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ],
 									"id" : "obj-6",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -1471,30 +1502,30 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
-									"minimum" : 0.1,
+									"presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ],
 									"presentation" : 1,
-									"maximum" : 10.0,
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ],
 									"id" : "obj-9",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"minimum" : 0.1,
+									"maximum" : 10.0,
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"id" : "obj-7",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -1502,24 +1533,24 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubioOnsetDetect~ 0.4",
-									"numoutlets" : 6,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ],
-									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-1",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 6,
+									"fontname" : "Verdana",
+									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "signal" ],
 									"id" : "obj-121",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "signal" ],
 									"comment" : ""
 								}
 
@@ -1527,11 +1558,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "" ],
 									"id" : "obj-122",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"comment" : ""
 								}
 
@@ -1539,10 +1570,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-123",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -1550,10 +1581,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-124",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -1561,10 +1592,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-125",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -1572,10 +1603,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-126",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -1584,328 +1615,328 @@
 						"lines" : [ 							{
 								"patchline" : 								{
 									"source" : [ "obj-40", 0 ],
+									"destination" : [ "obj-126", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-125", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-124", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 0 ],
+									"destination" : [ "obj-123", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-122", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-121", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 5 ],
+									"destination" : [ "obj-68", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-39", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-16", 1 ],
+									"hidden" : 0,
+									"midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-17", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-21", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 3 ],
+									"destination" : [ "obj-24", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 3 ],
+									"destination" : [ "obj-5", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 1 ],
+									"destination" : [ "obj-7", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-15", 1 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 179.0, 168.0, 263.5, 168.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-25", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-34", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-9", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 77.5, 169.0, 263.5, 169.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-22", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-16", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 296.5, 273.0, 244.5, 273.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-5", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-34", 0 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-31", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 180.5, 310.0, 450.5, 310.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-25", 0 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-22", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-21", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-2", 0 ],
+									"destination" : [ "obj-15", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-18", 0 ],
+									"destination" : [ "obj-13", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-16", 0 ],
+									"destination" : [ "obj-13", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-15", 1 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-13", 0 ],
+									"destination" : [ "obj-19", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-37", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 4 ],
+									"destination" : [ "obj-40", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 5 ],
+									"destination" : [ "obj-37", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-40", 0 ],
 									"destination" : [ "obj-39", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
 								}
 
 							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 5 ],
-									"destination" : [ "obj-37", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 4 ],
-									"destination" : [ "obj-40", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-37", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-13", 0 ],
-									"destination" : [ "obj-19", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-15", 1 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-16", 0 ],
-									"destination" : [ "obj-13", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-18", 0 ],
-									"destination" : [ "obj-13", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-2", 0 ],
-									"destination" : [ "obj-15", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-21", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-22", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-25", 0 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-31", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 180.5, 310.0, 450.5, 310.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-34", 0 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-5", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-16", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 296.5, 273.0, 244.5, 273.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-22", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-9", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 77.5, 169.0, 263.5, 169.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-34", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-25", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-15", 1 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 179.0, 168.0, 263.5, 168.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 1 ],
-									"destination" : [ "obj-7", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 3 ],
-									"destination" : [ "obj-5", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 3 ],
-									"destination" : [ "obj-24", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-21", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-17", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-16", 1 ],
-									"hidden" : 0,
-									"midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-39", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 5 ],
-									"destination" : [ "obj-68", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-121", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-122", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 0 ],
-									"destination" : [ "obj-123", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-124", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-125", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-40", 0 ],
-									"destination" : [ "obj-126", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
  ]
 					}
 ,
 					"saved_object_attributes" : 					{
-						"globalpatchername" : "",
+						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
+						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"default_fontsize" : 12.0,
 						"fontname" : "Arial"
 					}
 
@@ -1916,11 +1947,11 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "snare channel",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 824.0, 182.0, 150.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-49",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -1929,15 +1960,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 794.0, 285.0, 32.5, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 866.0, 134.0, 32.5, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 794.0, 285.0, 32.5, 17.0 ],
 					"id" : "obj-50",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -1945,15 +1976,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 759.0, 285.0, 32.5, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 831.0, 134.0, 32.5, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 759.0, 285.0, 32.5, 17.0 ],
 					"id" : "obj-51",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -1961,13 +1992,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 796.0, 161.0, 48.0, 19.0 ],
-					"outlettype" : [ "signal", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-52",
 					"numinlets" : 2,
+					"numoutlets" : 2,
 					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -1975,27 +2006,27 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "/snare 2 882",
-					"numoutlets" : 1,
+					"text" : "/snare 2 39282",
+					"fontsize" : 10.0,
 					"patching_rect" : [ 924.0, 604.0, 130.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-53",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 823.0, 460.0, 60.0, 19.0 ],
-					"outlettype" : [ "int", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-54",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "bang" ]
 				}
 
 			}
@@ -2003,13 +2034,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "- 0.",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 823.0, 431.0, 32.5, 19.0 ],
-					"outlettype" : [ "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-55",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float" ]
 				}
 
 			}
@@ -2017,13 +2048,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 823.0, 399.0, 53.0, 19.0 ],
-					"outlettype" : [ "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-56",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float" ]
 				}
 
 			}
@@ -2031,28 +2062,28 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/snare 2 $1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 858.0, 582.0, 69.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-57",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"numoutlets" : 3,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 164.0, 686.0, 100.0, 19.0 ],
-					"outlettype" : [ "int", "", "" ],
-					"fontsize" : 10.0,
-					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"id" : "obj-35",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 3,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "", "" ]
 				}
 
 			}
@@ -2060,41 +2091,41 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 164.0, 720.0, 52.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-38",
 					"numinlets" : 3,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "/aubioPitch 1 74.40966 139",
+					"text" : "/aubioPitch 1 0. 39491",
 					"linecount" : 2,
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 420.0, 613.0, 120.0, 29.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-31",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 30.0, 256.0, 20.0, 20.0 ],
 					"patching_rect" : [ 385.0, 600.0, 20.0, 20.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "int" ],
-					"presentation_rect" : [ 30.0, 256.0, 20.0, 20.0 ],
 					"id" : "obj-22",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "int" ]
 				}
 
 			}
@@ -2102,13 +2133,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 385.0, 627.0, 33.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-24",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2116,11 +2147,11 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "udpsend 127.0.0.1 10874",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 385.0, 652.0, 141.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-20",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -2128,37 +2159,41 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"presentation_rect" : [ 261.0, 13.0, 20.0, 20.0 ],
+					"patching_rect" : [ 36.0, -23.0, 20.0, 20.0 ],
+					"presentation" : 1,
+					"id" : "obj-44",
+					"numinlets" : 1,
 					"numoutlets" : 1,
-					"patching_rect" : [ 36.0, -23.0, 20.0, 20.0 ],
-					"outlettype" : [ "bang" ],
-					"id" : "obj-44",
-					"numinlets" : 1
+					"outlettype" : [ "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 243.0, 34.0, 61.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 195.0, 33.0, 61.0, 19.0 ],
-					"outlettype" : [ "int", "bang" ],
-					"fontsize" : 10.0,
+					"presentation" : 1,
 					"id" : "obj-41",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 81.0, 256.0, 20.0, 20.0 ],
 					"patching_rect" : [ 539.0, 580.0, 20.0, 20.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "int" ],
-					"presentation_rect" : [ 81.0, 256.0, 20.0, 20.0 ],
 					"id" : "obj-37",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "int" ]
 				}
 
 			}
@@ -2166,13 +2201,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 550.0, 607.0, 33.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-34",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2180,13 +2215,13 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "start",
-					"numoutlets" : 0,
+					"presentation_rect" : [ 103.0, -1.0, 45.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 308.0, -8.0, 45.0, 19.0 ],
 					"presentation" : 1,
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 103.0, -1.0, 45.0, 19.0 ],
 					"id" : "obj-33",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -2195,13 +2230,13 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "stop",
-					"numoutlets" : 0,
+					"presentation_rect" : [ 159.0, -1.0, 31.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 435.0, -9.0, 31.0, 19.0 ],
 					"presentation" : 1,
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 159.0, -1.0, 31.0, 19.0 ],
 					"id" : "obj-32",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -2209,26 +2244,26 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 155.0, 14.0, 45.0, 45.0 ],
 					"patching_rect" : [ 422.0, 10.0, 45.0, 45.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "bang" ],
-					"presentation_rect" : [ 155.0, 14.0, 45.0, 45.0 ],
 					"id" : "obj-29",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 93.0, 14.0, 45.0, 45.0 ],
 					"patching_rect" : [ 302.0, 9.0, 45.0, 45.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "bang" ],
-					"presentation_rect" : [ 93.0, 14.0, 45.0, 45.0 ],
 					"id" : "obj-28",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ]
 				}
 
 			}
@@ -2236,13 +2271,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p signal Info",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 35.61554, 5.19075, 246.38446, 19.0 ],
-					"outlettype" : [ "", "int" ],
-					"fontsize" : 10.0,
 					"id" : "obj-25",
 					"numinlets" : 1,
+					"numoutlets" : 2,
 					"fontname" : "Verdana",
+					"outlettype" : [ "", "int" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
@@ -2265,11 +2300,11 @@
 						"boxes" : [ 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 76.0, 60.0, 25.0, 25.0 ],
-									"outlettype" : [ "bang" ],
 									"id" : "obj-2",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"comment" : ""
 								}
 
@@ -2277,10 +2312,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 204.717804, 391.809265, 25.0, 25.0 ],
 									"id" : "obj-1",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -2288,30 +2323,30 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "number",
-									"numoutlets" : 2,
+									"presentation_rect" : [ 45.0, 45.0, 50.0, 20.0 ],
+									"fontsize" : 11.595187,
 									"patching_rect" : [ 171.523865, 285.404633, 50.0, 20.0 ],
-									"outlettype" : [ "int", "bang" ],
-									"fontsize" : 11.595187,
 									"triscale" : 0.9,
-									"presentation_rect" : [ 45.0, 45.0, 50.0, 20.0 ],
 									"id" : "obj-55",
 									"numinlets" : 1,
-									"fontname" : "Arial"
+									"numoutlets" : 2,
+									"fontname" : "Arial",
+									"outlettype" : [ "int", "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "number",
-									"numoutlets" : 2,
+									"presentation_rect" : [ 30.0, 30.0, 50.0, 20.0 ],
+									"fontsize" : 11.595187,
 									"patching_rect" : [ 175.523865, 212.445099, 50.0, 20.0 ],
-									"outlettype" : [ "int", "bang" ],
-									"fontsize" : 11.595187,
 									"triscale" : 0.9,
-									"presentation_rect" : [ 30.0, 30.0, 50.0, 20.0 ],
 									"id" : "obj-54",
 									"numinlets" : 1,
-									"fontname" : "Arial"
+									"numoutlets" : 2,
+									"fontname" : "Arial",
+									"outlettype" : [ "int", "bang" ]
 								}
 
 							}
@@ -2319,13 +2354,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /ioVectorSize",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 151.38446, 309.809265, 122.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-53",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -2333,13 +2368,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /signalVectorSize",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 154.38446, 239.809265, 142.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-52",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -2347,13 +2382,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /samplingRate",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 98.38446, 155.809265, 128.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-51",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -2361,28 +2396,28 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "adstatus iovs",
-									"numoutlets" : 2,
+									"fontsize" : 11.595187,
 									"patching_rect" : [ 92.0, 285.404633, 78.0, 20.0 ],
-									"outlettype" : [ "", "int" ],
-									"fontsize" : 11.595187,
 									"id" : "obj-38",
 									"numinlets" : 2,
-									"fontname" : "Arial"
+									"numoutlets" : 2,
+									"fontname" : "Arial",
+									"outlettype" : [ "", "int" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "number",
-									"numoutlets" : 2,
+									"presentation_rect" : [ 15.0, 15.0, 50.0, 20.0 ],
+									"fontsize" : 11.595187,
 									"patching_rect" : [ 134.523865, 131.445099, 50.0, 20.0 ],
-									"outlettype" : [ "int", "bang" ],
-									"fontsize" : 11.595187,
 									"triscale" : 0.9,
-									"presentation_rect" : [ 15.0, 15.0, 50.0, 20.0 ],
 									"id" : "obj-42",
 									"numinlets" : 1,
-									"fontname" : "Arial"
+									"numoutlets" : 2,
+									"fontname" : "Arial",
+									"outlettype" : [ "int", "bang" ]
 								}
 
 							}
@@ -2390,24 +2425,24 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "adstatus sigvs",
-									"numoutlets" : 2,
+									"fontsize" : 11.595187,
 									"patching_rect" : [ 89.0, 213.406555, 84.0, 20.0 ],
-									"outlettype" : [ "", "int" ],
-									"fontsize" : 11.595187,
 									"id" : "obj-45",
 									"numinlets" : 2,
-									"fontname" : "Arial"
+									"numoutlets" : 2,
+									"fontname" : "Arial",
+									"outlettype" : [ "", "int" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"patching_rect" : [ 50.0, 104.192688, 20.0, 20.0 ],
+									"id" : "obj-49",
+									"numinlets" : 1,
 									"numoutlets" : 1,
-									"patching_rect" : [ 50.0, 104.192688, 20.0, 20.0 ],
-									"outlettype" : [ "bang" ],
-									"id" : "obj-49",
-									"numinlets" : 1
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -2415,13 +2450,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "adstatus sr",
-									"numoutlets" : 2,
+									"fontsize" : 11.595187,
 									"patching_rect" : [ 50.0, 131.445099, 67.0, 20.0 ],
-									"outlettype" : [ "", "int" ],
-									"fontsize" : 11.595187,
 									"id" : "obj-50",
 									"numinlets" : 2,
-									"fontname" : "Arial"
+									"numoutlets" : 2,
+									"fontname" : "Arial",
+									"outlettype" : [ "", "int" ]
 								}
 
 							}
@@ -2429,11 +2464,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "report sampling rate choices",
-									"numoutlets" : 0,
+									"fontsize" : 11.595187,
 									"patching_rect" : [ 92.457458, 100.000015, 154.0, 20.0 ],
-									"fontsize" : 11.595187,
 									"id" : "obj-63",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -2441,10 +2476,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 129.717804, 388.809265, 25.0, 25.0 ],
 									"id" : "obj-24",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -2452,6 +2487,123 @@
  ],
 						"lines" : [ 							{
 								"patchline" : 								{
+									"source" : [ "obj-2", 0 ],
+									"destination" : [ "obj-49", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-42", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-50", 1 ],
+									"destination" : [ "obj-51", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-50", 1 ],
+									"destination" : [ "obj-42", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-49", 0 ],
+									"destination" : [ "obj-50", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-49", 0 ],
+									"destination" : [ "obj-45", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-49", 0 ],
+									"destination" : [ "obj-38", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-45", 1 ],
+									"destination" : [ "obj-54", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-45", 1 ],
+									"destination" : [ "obj-52", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-38", 1 ],
+									"destination" : [ "obj-55", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-38", 1 ],
+									"destination" : [ "obj-53", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-51", 0 ],
+									"destination" : [ "obj-24", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-53", 0 ],
+									"destination" : [ "obj-24", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
 									"source" : [ "obj-52", 0 ],
 									"destination" : [ "obj-24", 0 ],
 									"hidden" : 0,
@@ -2459,133 +2611,16 @@
 								}
 
 							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-53", 0 ],
-									"destination" : [ "obj-24", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-51", 0 ],
-									"destination" : [ "obj-24", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-38", 1 ],
-									"destination" : [ "obj-53", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-38", 1 ],
-									"destination" : [ "obj-55", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-45", 1 ],
-									"destination" : [ "obj-52", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-45", 1 ],
-									"destination" : [ "obj-54", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-49", 0 ],
-									"destination" : [ "obj-38", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-49", 0 ],
-									"destination" : [ "obj-45", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-49", 0 ],
-									"destination" : [ "obj-50", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-50", 1 ],
-									"destination" : [ "obj-42", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-50", 1 ],
-									"destination" : [ "obj-51", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-42", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-2", 0 ],
-									"destination" : [ "obj-49", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
  ]
 					}
 ,
 					"saved_object_attributes" : 					{
-						"globalpatchername" : "",
+						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
+						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"default_fontsize" : 12.0,
 						"fontname" : "Arial"
 					}
 
@@ -2595,13 +2630,13 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 496.0, 78.0, 20.0, 20.0 ],
 					"patching_rect" : [ 953.0, 16.0, 20.0, 20.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "bang" ],
-					"presentation_rect" : [ 496.0, 78.0, 20.0, 20.0 ],
 					"id" : "obj-21",
-					"numinlets" : 1
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ]
 				}
 
 			}
@@ -2609,13 +2644,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "uzi 5",
-					"numoutlets" : 3,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 953.0, 41.0, 46.0, 19.0 ],
-					"outlettype" : [ "bang", "bang", "int" ],
-					"fontsize" : 10.0,
 					"id" : "obj-19",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 3,
+					"fontname" : "Verdana",
+					"outlettype" : [ "bang", "bang", "int" ]
 				}
 
 			}
@@ -2623,15 +2658,15 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend open",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 152.0, 285.0, 80.0, 19.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 224.0, 128.0, 80.0, 19.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 152.0, 285.0, 80.0, 19.0 ],
 					"id" : "obj-18",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2639,13 +2674,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend open",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 340.0, 131.0, 80.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-17",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2654,13 +2689,13 @@
 					"maxclass" : "message",
 					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDues/01_bass_upsideLive.wav\"",
 					"linecount" : 3,
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 958.0, 133.0, 297.0, 41.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-16",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2668,13 +2703,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "route 0 1 2",
-					"numoutlets" : 4,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 343.0, 91.0, 67.0, 19.0 ],
-					"outlettype" : [ "", "", "", "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-13",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 4,
+					"fontname" : "Verdana",
+					"outlettype" : [ "", "", "", "" ]
 				}
 
 			}
@@ -2682,13 +2717,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "pack 0 s",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 369.0, 63.0, 52.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-11",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2696,13 +2731,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadbang",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 825.0, -148.0, 56.0, 19.0 ],
-					"outlettype" : [ "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-6",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "bang" ]
 				}
 
 			}
@@ -2710,13 +2745,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "autopopulate 1",
-					"numoutlets" : 1,
+					"fontsize" : 11.595187,
 					"patching_rect" : [ 810.0, -117.0, 87.0, 18.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 11.595187,
 					"id" : "obj-5",
 					"numinlets" : 2,
-					"fontname" : "Arial"
+					"numoutlets" : 1,
+					"fontname" : "Arial",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2725,13 +2760,13 @@
 					"maxclass" : "message",
 					"text" : "prefix /Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDues/",
 					"linecount" : 3,
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 1160.0, -117.0, 372.0, 41.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-2",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2739,11 +2774,11 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "udpsend 127.0.0.1 10874",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 564.0, 637.0, 141.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-66",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -2751,67 +2786,69 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 320.0, 621.0, 50.0, 19.0 ],
-					"outlettype" : [ "float", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-154",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float", "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number~",
-					"numoutlets" : 2,
 					"mode" : 2,
-					"sig" : 0.0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 69.0, 490.0, 56.0, 19.0 ],
-					"outlettype" : [ "signal", "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-152",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"sig" : 0.0,
+					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "float" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "gain~",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 82.0, 85.0, 20.0, 140.0 ],
 					"patching_rect" : [ 69.0, 537.0, 20.0, 140.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "signal", "int" ],
-					"presentation_rect" : [ 82.0, 85.0, 20.0, 140.0 ],
 					"id" : "obj-151",
-					"numinlets" : 2
+					"numinlets" : 2,
+					"numoutlets" : 2,
+					"outlettype" : [ "signal", "int" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"presentation_rect" : [ 83.0, 349.0, 59.0, 59.0 ],
+					"patching_rect" : [ 527.0, 322.0, 59.0, 59.0 ],
+					"presentation" : 1,
+					"id" : "obj-147",
+					"numinlets" : 1,
 					"numoutlets" : 1,
-					"patching_rect" : [ 527.0, 322.0, 59.0, 59.0 ],
-					"outlettype" : [ "bang" ],
-					"id" : "obj-147",
-					"numinlets" : 1
+					"outlettype" : [ "bang" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"numoutlets" : 3,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 527.0, 253.0, 100.0, 19.0 ],
-					"outlettype" : [ "int", "", "" ],
-					"fontsize" : 10.0,
-					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"id" : "obj-148",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 3,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "", "" ]
 				}
 
 			}
@@ -2819,13 +2856,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 527.0, 287.0, 52.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-149",
 					"numinlets" : 3,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -2833,13 +2870,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p aubioOnsetDeetection",
-					"numoutlets" : 4,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 501.0, 204.0, 131.0, 19.0 ],
-					"outlettype" : [ "signal", "bang", "float", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-141",
 					"numinlets" : 2,
+					"numoutlets" : 4,
 					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 0.0, 0.0, 640.0, 480.0 ],
@@ -2863,11 +2900,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: output period in msecs (will be rounded up to control rate)",
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-62",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -2876,11 +2913,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: minimum frequency in Hz",
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-64",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -2890,11 +2927,11 @@
 									"maxclass" : "comment",
 									"text" : "estimation quality factor",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-82",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -2902,26 +2939,26 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-68",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"id" : "obj-40",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -2929,13 +2966,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/medianOnset",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-39",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -2943,13 +2980,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /medianAubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-37",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -2957,13 +2994,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /rawAubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-5",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -2972,11 +3009,11 @@
 									"maxclass" : "comment",
 									"text" : "raw detection function value",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-32",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -2984,13 +3021,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-24",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -2998,13 +3035,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "reset axis /mode ",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ],
 									"id" : "obj-23",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3012,13 +3049,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"id" : "obj-2",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -3026,13 +3063,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "hfc",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-34",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3040,11 +3077,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "or send mode as a as message",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-33",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3053,13 +3090,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /mode",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-31",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3067,13 +3104,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection mode",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ],
 									"id" : "obj-29",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3081,17 +3118,17 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "umenu",
+									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
+									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
 									"types" : [  ],
-									"numoutlets" : 3,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "int", "", "" ],
-									"fontsize" : 10.0,
-									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
-									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
 									"id" : "obj-15",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 3,
+									"fontname" : "Verdana",
+									"outlettype" : [ "int", "", "" ]
 								}
 
 							}
@@ -3100,11 +3137,11 @@
 									"maxclass" : "comment",
 									"text" : "send osc data to aubioOnsetVisualiser in openFrameworks",
 									"linecount" : 3,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-28",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3114,11 +3151,11 @@
 									"maxclass" : "comment",
 									"text" : "print detection function value at onsets",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-26",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3126,11 +3163,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "toggle",
+									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
+									"id" : "obj-18",
+									"numinlets" : 1,
 									"numoutlets" : 1,
-									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
-									"outlettype" : [ "int" ],
-									"id" : "obj-18",
-									"numinlets" : 1
+									"outlettype" : [ "int" ]
 								}
 
 							}
@@ -3138,13 +3175,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "gate",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-13",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3152,13 +3189,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection function as float",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ],
 									"id" : "obj-11",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3167,13 +3204,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/onset",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-22",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3181,13 +3218,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "energy",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-25",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3195,13 +3232,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-21",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3209,11 +3246,11 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "udpsend 127.0.0.1 12345",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-20",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3222,13 +3259,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "float 0.",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ],
-									"outlettype" : [ "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-16",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float" ]
 								}
 
 							}
@@ -3236,11 +3273,11 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "print",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-19",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3248,15 +3285,15 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ],
 									"id" : "obj-17",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -3264,13 +3301,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "threshold",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ],
 									"id" : "obj-6",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3278,30 +3315,30 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
-									"minimum" : 0.1,
+									"presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ],
 									"presentation" : 1,
-									"maximum" : 10.0,
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ],
 									"id" : "obj-9",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"minimum" : 0.1,
+									"maximum" : 10.0,
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"id" : "obj-7",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -3309,24 +3346,24 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubioOnsetDetect~ 0.4",
-									"numoutlets" : 6,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ],
-									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-1",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 6,
+									"fontname" : "Verdana",
+									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "signal" ],
 									"id" : "obj-121",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "signal" ],
 									"comment" : ""
 								}
 
@@ -3334,11 +3371,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "" ],
 									"id" : "obj-122",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"comment" : ""
 								}
 
@@ -3346,10 +3383,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-123",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3357,10 +3394,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-124",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3368,10 +3405,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-125",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3379,10 +3416,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-126",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3391,328 +3428,328 @@
 						"lines" : [ 							{
 								"patchline" : 								{
 									"source" : [ "obj-40", 0 ],
+									"destination" : [ "obj-39", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 5 ],
+									"destination" : [ "obj-37", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 4 ],
+									"destination" : [ "obj-40", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-37", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-13", 0 ],
+									"destination" : [ "obj-19", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-15", 1 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-16", 0 ],
+									"destination" : [ "obj-13", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-18", 0 ],
+									"destination" : [ "obj-13", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-2", 0 ],
+									"destination" : [ "obj-15", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-21", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-22", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-25", 0 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-31", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 180.5, 310.0, 450.5, 310.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-34", 0 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-5", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-16", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 296.5, 273.0, 244.5, 273.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-22", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-9", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 77.5, 169.0, 263.5, 169.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-34", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-25", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-15", 1 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 179.0, 168.0, 263.5, 168.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 1 ],
+									"destination" : [ "obj-7", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 3 ],
+									"destination" : [ "obj-5", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 3 ],
+									"destination" : [ "obj-24", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-21", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-17", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-16", 1 ],
+									"hidden" : 0,
+									"midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-39", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 5 ],
+									"destination" : [ "obj-68", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-121", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-122", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 0 ],
+									"destination" : [ "obj-123", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-124", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-125", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-40", 0 ],
 									"destination" : [ "obj-126", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
 								}
 
 							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-125", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-124", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 0 ],
-									"destination" : [ "obj-123", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-122", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-121", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 5 ],
-									"destination" : [ "obj-68", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-39", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-16", 1 ],
-									"hidden" : 0,
-									"midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-17", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-21", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 3 ],
-									"destination" : [ "obj-24", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 3 ],
-									"destination" : [ "obj-5", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 1 ],
-									"destination" : [ "obj-7", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-15", 1 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 179.0, 168.0, 263.5, 168.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-25", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-34", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-9", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 77.5, 169.0, 263.5, 169.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-22", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-16", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 296.5, 273.0, 244.5, 273.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-5", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-34", 0 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-31", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 180.5, 310.0, 450.5, 310.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-25", 0 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-22", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-21", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-2", 0 ],
-									"destination" : [ "obj-15", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-18", 0 ],
-									"destination" : [ "obj-13", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-16", 0 ],
-									"destination" : [ "obj-13", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-15", 1 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-13", 0 ],
-									"destination" : [ "obj-19", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-37", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 4 ],
-									"destination" : [ "obj-40", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 5 ],
-									"destination" : [ "obj-37", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-40", 0 ],
-									"destination" : [ "obj-39", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
  ]
 					}
 ,
 					"saved_object_attributes" : 					{
-						"globalpatchername" : "",
+						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
+						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"default_fontsize" : 12.0,
 						"fontname" : "Arial"
 					}
 
@@ -3723,11 +3760,11 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "soundfile load",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 472.0, 104.0, 150.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-142",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -3736,15 +3773,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 424.0, 285.0, 35.0, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 496.0, 131.0, 35.0, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 424.0, 285.0, 35.0, 17.0 ],
 					"id" : "obj-143",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -3752,15 +3789,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 498.0, 285.0, 32.5, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 570.0, 131.0, 32.5, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 498.0, 285.0, 32.5, 17.0 ],
 					"id" : "obj-144",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -3768,15 +3805,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 463.0, 285.0, 32.5, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 535.0, 131.0, 32.5, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 463.0, 285.0, 32.5, 17.0 ],
 					"id" : "obj-145",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -3784,13 +3821,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 500.0, 158.0, 48.0, 19.0 ],
-					"outlettype" : [ "signal", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-146",
 					"numinlets" : 2,
+					"numoutlets" : 2,
 					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -3799,13 +3836,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p pitchChannel_0",
-					"numoutlets" : 3,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 320.0, 575.0, 98.0, 19.0 ],
-					"outlettype" : [ "float", "float", "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-140",
 					"numinlets" : 3,
+					"numoutlets" : 4,
 					"fontname" : "Verdana",
+					"outlettype" : [ "float", "float", "", "float" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
@@ -3828,10 +3865,21 @@
 						"boxes" : [ 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"patching_rect" : [ 428.0, 417.0, 25.0, 25.0 ],
+									"id" : "obj-3",
+									"numinlets" : 1,
 									"numoutlets" : 0,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"patching_rect" : [ 378.0, 416.0, 25.0, 25.0 ],
 									"id" : "obj-2",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3839,10 +3887,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 244.0, 417.0, 25.0, 25.0 ],
 									"id" : "obj-1",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3850,13 +3898,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 224.0, 131.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-47",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -3864,13 +3912,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "- 0.",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 273.0, 218.0, 32.5, 19.0 ],
-									"outlettype" : [ "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-88",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float" ]
 								}
 
 							}
@@ -3878,13 +3926,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "cpuclock",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 326.0, 191.0, 53.0, 19.0 ],
-									"outlettype" : [ "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-87",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float" ]
 								}
 
 							}
@@ -3892,11 +3940,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "sending osc of pitch",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 293.0, 273.0, 150.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-86",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -3904,13 +3952,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "number",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 273.0, 245.0, 72.0, 19.0 ],
-									"outlettype" : [ "int", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-83",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "int", "bang" ]
 								}
 
 							}
@@ -3918,27 +3966,27 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioPitch 1",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 248.0, 304.0, 122.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-77",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "message",
-									"text" : "74.40966 139",
-									"numoutlets" : 1,
+									"text" : "0. 39491",
+									"fontsize" : 10.0,
 									"patching_rect" : [ 50.0, 305.0, 187.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-65",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3946,13 +3994,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "pack 0. 0",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 220.0, 270.0, 61.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-60",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -3960,13 +4008,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "cpuclock",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 273.0, 190.0, 53.0, 19.0 ],
-									"outlettype" : [ "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-59",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float" ]
 								}
 
 							}
@@ -3974,26 +4022,26 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "delay 100",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 127.0, 124.0, 60.0, 19.0 ],
-									"outlettype" : [ "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-58",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 220.0, 218.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-57",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -4001,13 +4049,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "f 0.",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 260.0, 156.0, 32.5, 19.0 ],
-									"outlettype" : [ "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-48",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float" ]
 								}
 
 							}
@@ -4015,24 +4063,24 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubiopitch~",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 100.0, 71.0, 19.0 ],
-									"outlettype" : [ "signal", "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-44",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "signal", "float" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 308.0, 45.0, 25.0, 25.0 ],
-									"outlettype" : [ "" ],
 									"id" : "obj-135",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"comment" : ""
 								}
 
@@ -4040,11 +4088,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 221.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "signal" ],
 									"id" : "obj-136",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "signal" ],
 									"comment" : ""
 								}
 
@@ -4052,11 +4100,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 385.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "bang" ],
 									"id" : "obj-138",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"comment" : ""
 								}
 
@@ -4064,10 +4112,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 326.0, 413.0, 25.0, 25.0 ],
 									"id" : "obj-139",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -4075,6 +4123,168 @@
  ],
 						"lines" : [ 							{
 								"patchline" : 								{
+									"source" : [ "obj-57", 0 ],
+									"destination" : [ "obj-3", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-87", 0 ],
+									"destination" : [ "obj-139", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-138", 0 ],
+									"destination" : [ "obj-87", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-136", 0 ],
+									"destination" : [ "obj-44", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-135", 0 ],
+									"destination" : [ "obj-59", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-135", 0 ],
+									"destination" : [ "obj-58", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-60", 0 ],
+									"destination" : [ "obj-77", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-44", 1 ],
+									"destination" : [ "obj-47", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-44", 1 ],
+									"destination" : [ "obj-48", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-48", 0 ],
+									"destination" : [ "obj-57", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-58", 0 ],
+									"destination" : [ "obj-48", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-83", 0 ],
+									"destination" : [ "obj-60", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-60", 0 ],
+									"destination" : [ "obj-65", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-57", 0 ],
+									"destination" : [ "obj-60", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-87", 0 ],
+									"destination" : [ "obj-88", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-59", 0 ],
+									"destination" : [ "obj-88", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-88", 0 ],
+									"destination" : [ "obj-83", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-57", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
 									"source" : [ "obj-77", 0 ],
 									"destination" : [ "obj-2", 0 ],
 									"hidden" : 0,
@@ -4082,169 +4292,16 @@
 								}
 
 							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-57", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-88", 0 ],
-									"destination" : [ "obj-83", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-59", 0 ],
-									"destination" : [ "obj-88", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-87", 0 ],
-									"destination" : [ "obj-88", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-57", 0 ],
-									"destination" : [ "obj-60", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-60", 0 ],
-									"destination" : [ "obj-65", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-83", 0 ],
-									"destination" : [ "obj-60", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-58", 0 ],
-									"destination" : [ "obj-48", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-48", 0 ],
-									"destination" : [ "obj-57", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-44", 1 ],
-									"destination" : [ "obj-48", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-44", 1 ],
-									"destination" : [ "obj-47", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-60", 0 ],
-									"destination" : [ "obj-77", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-135", 0 ],
-									"destination" : [ "obj-58", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-135", 0 ],
-									"destination" : [ "obj-59", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-136", 0 ],
-									"destination" : [ "obj-44", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-138", 0 ],
-									"destination" : [ "obj-87", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-87", 0 ],
-									"destination" : [ "obj-139", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
  ]
 					}
 ,
 					"saved_object_attributes" : 					{
-						"globalpatchername" : "",
+						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
+						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"default_fontsize" : 12.0,
 						"fontname" : "Arial"
 					}
 
@@ -4254,11 +4311,13 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"presentation_rect" : [ 15.0, 350.0, 59.0, 59.0 ],
+					"patching_rect" : [ 236.0, 524.0, 59.0, 59.0 ],
+					"presentation" : 1,
+					"id" : "obj-130",
+					"numinlets" : 1,
 					"numoutlets" : 1,
-					"patching_rect" : [ 240.0, 546.0, 59.0, 59.0 ],
-					"outlettype" : [ "bang" ],
-					"id" : "obj-130",
-					"numinlets" : 1
+					"outlettype" : [ "bang" ]
 				}
 
 			}
@@ -4266,13 +4325,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p aubioOnsetDeetection",
-					"numoutlets" : 4,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 108.0, 206.0, 131.0, 19.0 ],
-					"outlettype" : [ "signal", "bang", "float", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-128",
 					"numinlets" : 2,
+					"numoutlets" : 4,
 					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 0.0, 0.0, 640.0, 480.0 ],
@@ -4296,11 +4355,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: output period in msecs (will be rounded up to control rate)",
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 168.0, 343.0, 17.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-62",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -4309,11 +4368,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: minimum frequency in Hz",
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-64",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -4323,11 +4382,11 @@
 									"maxclass" : "comment",
 									"text" : "estimation quality factor",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 9.0,
 									"patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ],
-									"fontsize" : 9.0,
 									"id" : "obj-82",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Arial"
 								}
 
@@ -4335,26 +4394,26 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-68",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"id" : "obj-40",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -4362,13 +4421,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/medianOnset",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-39",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4376,13 +4435,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /medianAubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-37",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4390,13 +4449,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /rawAubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-5",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4405,11 +4464,11 @@
 									"maxclass" : "comment",
 									"text" : "raw detection function value",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-32",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4417,13 +4476,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ],
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
 									"id" : "obj-24",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -4431,13 +4490,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "reset axis /mode ",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 150.0, 104.0, 97.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 109.0, 137.0, 150.0, 19.0 ],
 									"id" : "obj-23",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4445,13 +4504,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"id" : "obj-2",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -4459,13 +4518,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "hfc",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-34",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4473,11 +4532,11 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "or send mode as a as message",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 308.0, 141.0, 176.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-33",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4486,13 +4545,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /mode",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-31",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4500,13 +4559,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection mode",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 145.0, 125.0, 91.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 143.0, 184.0, 91.0, 19.0 ],
 									"id" : "obj-29",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4514,17 +4573,17 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "umenu",
+									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
+									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
 									"types" : [  ],
-									"numoutlets" : 3,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "int", "", "" ],
-									"fontsize" : 10.0,
-									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
-									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
 									"id" : "obj-15",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 3,
+									"fontname" : "Verdana",
+									"outlettype" : [ "int", "", "" ]
 								}
 
 							}
@@ -4533,11 +4592,11 @@
 									"maxclass" : "comment",
 									"text" : "send osc data to aubioOnsetVisualiser in openFrameworks",
 									"linecount" : 3,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 449.0, 310.0, 117.0, 43.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-28",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4547,11 +4606,11 @@
 									"maxclass" : "comment",
 									"text" : "print detection function value at onsets",
 									"linecount" : 2,
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 256.0, 375.0, 150.0, 31.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-26",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4559,11 +4618,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "toggle",
+									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
+									"id" : "obj-18",
+									"numinlets" : 1,
 									"numoutlets" : 1,
-									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
-									"outlettype" : [ "int" ],
-									"id" : "obj-18",
-									"numinlets" : 1
+									"outlettype" : [ "int" ]
 								}
 
 							}
@@ -4571,13 +4630,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "gate",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-13",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4585,13 +4644,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection function as float",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 409.0, 244.0, 150.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 407.0, 303.0, 150.0, 19.0 ],
 									"id" : "obj-11",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4600,13 +4659,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/onset",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-22",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4614,13 +4673,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "energy",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-25",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4628,13 +4687,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioData",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ],
-									"outlettype" : [ "" ],
-									"fontsize" : 10.0,
 									"id" : "obj-21",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "" ]
 								}
 
 							}
@@ -4642,11 +4701,11 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "udpsend 127.0.0.1 12345",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 441.0, 399.0, 141.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-20",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4655,13 +4714,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "float 0.",
-									"numoutlets" : 1,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ],
-									"outlettype" : [ "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-16",
 									"numinlets" : 2,
-									"fontname" : "Verdana"
+									"numoutlets" : 1,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float" ]
 								}
 
 							}
@@ -4669,11 +4728,11 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "print",
-									"numoutlets" : 0,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ],
-									"fontsize" : 10.0,
 									"id" : "obj-19",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4681,15 +4740,15 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
+									"presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 358.0, 245.0, 49.0, 19.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 356.0, 304.0, 49.0, 19.0 ],
 									"id" : "obj-17",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
@@ -4697,13 +4756,13 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "threshold",
-									"numoutlets" : 0,
+									"presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 64.0, 123.0, 58.0, 19.0 ],
 									"presentation" : 1,
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 62.0, 182.0, 58.0, 19.0 ],
 									"id" : "obj-6",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"fontname" : "Verdana"
 								}
 
@@ -4711,30 +4770,30 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
-									"numoutlets" : 2,
-									"minimum" : 0.1,
+									"presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ],
+									"fontsize" : 10.0,
 									"patching_rect" : [ 68.0, 144.0, 50.0, 19.0 ],
 									"presentation" : 1,
-									"maximum" : 10.0,
-									"outlettype" : [ "float", "bang" ],
-									"fontsize" : 10.0,
-									"presentation_rect" : [ 66.0, 203.0, 50.0, 19.0 ],
 									"id" : "obj-9",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"minimum" : 0.1,
+									"maximum" : 10.0,
+									"numoutlets" : 2,
+									"fontname" : "Verdana",
+									"outlettype" : [ "float", "bang" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
-									"numoutlets" : 1,
+									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ],
 									"presentation" : 1,
-									"outlettype" : [ "bang" ],
-									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"id" : "obj-7",
-									"numinlets" : 1
+									"numinlets" : 1,
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ]
 								}
 
 							}
@@ -4742,24 +4801,24 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubioOnsetDetect~ 0.4",
-									"numoutlets" : 6,
+									"fontsize" : 10.0,
 									"patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ],
-									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ],
-									"fontsize" : 10.0,
 									"id" : "obj-1",
 									"numinlets" : 1,
-									"fontname" : "Verdana"
+									"numoutlets" : 6,
+									"fontname" : "Verdana",
+									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ]
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "signal" ],
 									"id" : "obj-121",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "signal" ],
 									"comment" : ""
 								}
 
@@ -4767,11 +4826,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
-									"numoutlets" : 1,
 									"patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ],
-									"outlettype" : [ "" ],
 									"id" : "obj-122",
 									"numinlets" : 0,
+									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"comment" : ""
 								}
 
@@ -4779,10 +4838,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-123",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -4790,10 +4849,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-124",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -4801,10 +4860,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-125",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -4812,10 +4871,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
-									"numoutlets" : 0,
 									"patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-126",
 									"numinlets" : 1,
+									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -4824,328 +4883,328 @@
 						"lines" : [ 							{
 								"patchline" : 								{
 									"source" : [ "obj-40", 0 ],
+									"destination" : [ "obj-126", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-125", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-124", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 0 ],
+									"destination" : [ "obj-123", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-122", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-121", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 5 ],
+									"destination" : [ "obj-68", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-39", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-16", 1 ],
+									"hidden" : 0,
+									"midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-17", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 2 ],
+									"destination" : [ "obj-21", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 3 ],
+									"destination" : [ "obj-24", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 3 ],
+									"destination" : [ "obj-5", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 1 ],
+									"destination" : [ "obj-7", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-15", 1 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 179.0, 168.0, 263.5, 168.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-25", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-34", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-9", 0 ],
+									"destination" : [ "obj-1", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 77.5, 169.0, 263.5, 169.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-22", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-7", 0 ],
+									"destination" : [ "obj-16", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 296.5, 273.0, 244.5, 273.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-5", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-34", 0 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-31", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 180.5, 310.0, 450.5, 310.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-25", 0 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-22", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-21", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-2", 0 ],
+									"destination" : [ "obj-15", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-18", 0 ],
+									"destination" : [ "obj-13", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-16", 0 ],
+									"destination" : [ "obj-13", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-15", 1 ],
+									"destination" : [ "obj-31", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-13", 0 ],
+									"destination" : [ "obj-19", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-37", 0 ],
+									"destination" : [ "obj-20", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 4 ],
+									"destination" : [ "obj-40", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-1", 5 ],
+									"destination" : [ "obj-37", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-40", 0 ],
 									"destination" : [ "obj-39", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
 								}
 
 							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 5 ],
-									"destination" : [ "obj-37", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 4 ],
-									"destination" : [ "obj-40", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-37", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-13", 0 ],
-									"destination" : [ "obj-19", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-15", 1 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-16", 0 ],
-									"destination" : [ "obj-13", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-18", 0 ],
-									"destination" : [ "obj-13", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-2", 0 ],
-									"destination" : [ "obj-15", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-21", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-22", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-25", 0 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 271.5, 169.0, 150.0, 169.0, 150.0, 275.0, 160.0, 275.0, 160.0, 275.0, 180.5, 275.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-31", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 180.5, 310.0, 450.5, 310.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-34", 0 ],
-									"destination" : [ "obj-31", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 298.5, 169.0, 151.0, 169.0, 151.0, 273.0, 180.5, 273.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-5", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-16", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 296.5, 273.0, 244.5, 273.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-22", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-9", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 77.5, 169.0, 263.5, 169.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-34", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-25", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-15", 1 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 179.0, 168.0, 263.5, 168.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 1 ],
-									"destination" : [ "obj-7", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 3 ],
-									"destination" : [ "obj-5", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 3 ],
-									"destination" : [ "obj-24", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-21", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-17", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 391.899994, 237.0, 367.5, 237.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-16", 1 ],
-									"hidden" : 0,
-									"midpoints" : [ 391.899994, 227.0, 570.0, 227.0, 570.0, 336.0, 271.5, 336.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-39", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 5 ],
-									"destination" : [ "obj-68", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-121", 0 ],
-									"destination" : [ "obj-1", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-122", 0 ],
-									"destination" : [ "obj-20", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 0 ],
-									"destination" : [ "obj-123", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-7", 0 ],
-									"destination" : [ "obj-124", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-1", 2 ],
-									"destination" : [ "obj-125", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-40", 0 ],
-									"destination" : [ "obj-126", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
  ]
 					}
 ,
 					"saved_object_attributes" : 					{
-						"globalpatchername" : "",
+						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
+						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"default_fontsize" : 12.0,
 						"fontname" : "Arial"
 					}
 
@@ -5155,27 +5214,27 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "/kick 0 104",
-					"numoutlets" : 1,
+					"text" : "/kick 0 38795",
+					"fontsize" : 10.0,
 					"patching_rect" : [ 628.0, 601.0, 130.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-112",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 527.0, 457.0, 60.0, 19.0 ],
-					"outlettype" : [ "int", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-110",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "bang" ]
 				}
 
 			}
@@ -5183,11 +5242,11 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "start button",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 333.0, 436.0, 75.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-108",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -5196,13 +5255,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "- 0.",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 527.0, 428.0, 32.5, 19.0 ],
-					"outlettype" : [ "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-105",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float" ]
 				}
 
 			}
@@ -5210,13 +5269,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 527.0, 396.0, 53.0, 19.0 ],
-					"outlettype" : [ "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-104",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "float" ]
 				}
 
 			}
@@ -5224,24 +5283,24 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/kick 0 $1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 562.0, 579.0, 61.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-103",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"patching_rect" : [ 398.0, 437.0, 20.0, 20.0 ],
+					"id" : "obj-91",
+					"numinlets" : 1,
 					"numoutlets" : 1,
-					"patching_rect" : [ 398.0, 437.0, 20.0, 20.0 ],
-					"outlettype" : [ "bang" ],
-					"id" : "obj-91",
-					"numinlets" : 1
+					"outlettype" : [ "bang" ]
 				}
 
 			}
@@ -5249,11 +5308,11 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "soundfile load",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 79.0, 106.0, 150.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-81",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -5261,17 +5320,17 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"presentation_rect" : [ 27.0, 309.0, 100.0, 19.0 ],
+					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"numoutlets" : 3,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 360.0, 471.0, 100.0, 19.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "int", "", "" ],
-					"fontsize" : 10.0,
-					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
-					"presentation_rect" : [ 27.0, 309.0, 100.0, 19.0 ],
 					"id" : "obj-80",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 3,
+					"fontname" : "Verdana",
+					"outlettype" : [ "int", "", "" ]
 				}
 
 			}
@@ -5279,13 +5338,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 360.0, 505.0, 52.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-78",
 					"numinlets" : 3,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5293,13 +5352,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 80",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 271.0, 896.0, 74.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-127",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5307,11 +5366,11 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "click sound to use",
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 204.0, 770.0, 108.0, 19.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-113",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -5320,13 +5379,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 204.0, 825.0, 32.5, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-36",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5334,27 +5393,27 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess open cow2.wav",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 227.0, 795.0, 139.0, 19.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-72",
 					"numinlets" : 1,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "gain~",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 197.0, 85.0, 20.0, 140.0 ],
+					"interp" : 100.0,
 					"patching_rect" : [ 184.0, 527.0, 20.0, 140.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "signal", "int" ],
-					"interp" : 100.0,
-					"presentation_rect" : [ 197.0, 85.0, 20.0, 140.0 ],
 					"id" : "obj-73",
-					"numinlets" : 2
+					"numinlets" : 2,
+					"numoutlets" : 2,
+					"outlettype" : [ "signal", "int" ]
 				}
 
 			}
@@ -5362,13 +5421,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 237.0, 825.0, 35.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-74",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5376,13 +5435,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 273.0, 825.0, 32.5, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-75",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5390,13 +5449,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 235.0, 856.0, 48.0, 19.0 ],
-					"outlettype" : [ "signal", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-76",
 					"numinlets" : 2,
+					"numoutlets" : 2,
 					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -5405,26 +5464,26 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "seek $1",
-					"numoutlets" : 1,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 138.0, -55.0, 50.0, 17.0 ],
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
 					"id" : "obj-43",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "gain~",
-					"numoutlets" : 2,
+					"presentation_rect" : [ 28.0, 85.0, 20.0, 140.0 ],
 					"patching_rect" : [ 15.0, 531.0, 20.0, 140.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "signal", "int" ],
-					"presentation_rect" : [ 28.0, 85.0, 20.0, 140.0 ],
 					"id" : "obj-27",
-					"numinlets" : 2
+					"numinlets" : 2,
+					"numoutlets" : 2,
+					"outlettype" : [ "signal", "int" ]
 				}
 
 			}
@@ -5433,11 +5492,11 @@
 					"maxclass" : "comment",
 					"text" : "threshold can be set on initialisation (default 1.0)",
 					"linecount" : 2,
-					"numoutlets" : 0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 31.0, 36.0, 150.0, 31.0 ],
-					"fontsize" : 10.0,
 					"id" : "obj-30",
 					"numinlets" : 1,
+					"numoutlets" : 0,
 					"fontname" : "Verdana"
 				}
 
@@ -5446,15 +5505,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 31.0, 285.0, 35.0, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 103.0, 133.0, 35.0, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 31.0, 285.0, 35.0, 17.0 ],
 					"id" : "obj-14",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5462,15 +5521,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 105.0, 285.0, 32.5, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 177.0, 133.0, 32.5, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 105.0, 285.0, 32.5, 17.0 ],
 					"id" : "obj-12",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5478,15 +5537,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
-					"numoutlets" : 1,
+					"presentation_rect" : [ 70.0, 285.0, 32.5, 17.0 ],
+					"fontsize" : 10.0,
 					"patching_rect" : [ 142.0, 133.0, 32.5, 17.0 ],
 					"presentation" : 1,
-					"outlettype" : [ "" ],
-					"fontsize" : 10.0,
-					"presentation_rect" : [ 70.0, 285.0, 32.5, 17.0 ],
 					"id" : "obj-10",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 1,
+					"fontname" : "Verdana",
+					"outlettype" : [ "" ]
 				}
 
 			}
@@ -5494,13 +5553,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
-					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 107.0, 160.0, 48.0, 19.0 ],
-					"outlettype" : [ "signal", "bang" ],
-					"fontsize" : 10.0,
 					"id" : "obj-8",
 					"numinlets" : 2,
+					"numoutlets" : 2,
 					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -5508,33 +5567,1608 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "ezdac~",
-					"numoutlets" : 0,
+					"presentation_rect" : [ 31.0, 12.0, 45.0, 45.0 ],
 					"patching_rect" : [ 33.0, 738.0, 45.0, 45.0 ],
 					"presentation" : 1,
-					"presentation_rect" : [ 31.0, 12.0, 45.0, 45.0 ],
 					"id" : "obj-4",
-					"numinlets" : 2
+					"numinlets" : 2,
+					"numoutlets" : 0
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number~",
-					"numoutlets" : 2,
 					"mode" : 2,
-					"sig" : 0.0,
+					"fontsize" : 10.0,
 					"patching_rect" : [ 5.0, 492.0, 56.0, 19.0 ],
-					"outlettype" : [ "signal", "float" ],
-					"fontsize" : 10.0,
 					"id" : "obj-3",
 					"numinlets" : 2,
-					"fontname" : "Verdana"
+					"numoutlets" : 2,
+					"sig" : 0.0,
+					"fontname" : "Verdana",
+					"outlettype" : [ "signal", "float" ]
 				}
 
 			}
  ],
 		"lines" : [ 			{
 				"patchline" : 				{
+					"source" : [ "obj-120", 0 ],
+					"destination" : [ "obj-138", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-140", 3 ],
+					"destination" : [ "obj-120", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-115", 0 ],
+					"destination" : [ "obj-90", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-137", 0 ],
+					"destination" : [ "obj-115", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-116", 0 ],
+					"destination" : [ "obj-20", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-28", 0 ],
+					"destination" : [ "obj-116", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-1", 0 ],
+					"destination" : [ "obj-80", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-1", 0 ],
+					"destination" : [ "obj-46", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-1", 0 ],
+					"destination" : [ "obj-148", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-44", 0 ],
+					"destination" : [ "obj-25", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-25", 1 ],
+					"destination" : [ "obj-41", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-37", 0 ],
+					"destination" : [ "obj-34", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-34", 0 ],
+					"destination" : [ "obj-66", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-103", 0 ],
+					"destination" : [ "obj-34", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-29", 0 ],
+					"destination" : [ "obj-145", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-29", 0 ],
+					"destination" : [ "obj-10", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-28", 0 ],
+					"destination" : [ "obj-144", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-28", 0 ],
+					"destination" : [ "obj-12", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-25", 0 ],
+					"destination" : [ "obj-128", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-6", 0 ],
+					"destination" : [ "obj-21", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-21", 0 ],
+					"destination" : [ "obj-19", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-18", 0 ],
+					"destination" : [ "obj-8", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-103", 0 ],
+					"destination" : [ "obj-112", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-110", 0 ],
+					"destination" : [ "obj-103", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-105", 0 ],
+					"destination" : [ "obj-110", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-104", 0 ],
+					"destination" : [ "obj-105", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-12", 0 ],
+					"destination" : [ "obj-91", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-80", 0 ],
+					"destination" : [ "obj-78", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-127", 0 ],
+					"destination" : [ "obj-73", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-73", 0 ],
+					"destination" : [ "obj-4", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-73", 0 ],
+					"destination" : [ "obj-4", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-72", 0 ],
+					"destination" : [ "obj-76", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-36", 0 ],
+					"destination" : [ "obj-76", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-76", 0 ],
+					"destination" : [ "obj-73", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-75", 0 ],
+					"destination" : [ "obj-76", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-74", 0 ],
+					"destination" : [ "obj-76", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-43", 0 ],
+					"destination" : [ "obj-8", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-10", 0 ],
+					"destination" : [ "obj-8", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-12", 0 ],
+					"destination" : [ "obj-8", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-14", 0 ],
+					"destination" : [ "obj-8", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-27", 0 ],
+					"destination" : [ "obj-4", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-27", 0 ],
+					"destination" : [ "obj-4", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-128", 3 ],
+					"destination" : [ "obj-78", 2 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-128", 1 ],
+					"destination" : [ "obj-78", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-128", 0 ],
+					"destination" : [ "obj-27", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-128", 0 ],
+					"destination" : [ "obj-3", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-8", 0 ],
+					"destination" : [ "obj-128", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-78", 0 ],
+					"destination" : [ "obj-130", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-91", 0 ],
+					"destination" : [ "obj-140", 2 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-128", 0 ],
+					"destination" : [ "obj-140", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-78", 0 ],
+					"destination" : [ "obj-140", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-146", 0 ],
+					"destination" : [ "obj-141", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-143", 0 ],
+					"destination" : [ "obj-146", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-144", 0 ],
+					"destination" : [ "obj-146", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-145", 0 ],
+					"destination" : [ "obj-146", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-149", 0 ],
+					"destination" : [ "obj-147", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-148", 0 ],
+					"destination" : [ "obj-149", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-141", 1 ],
+					"destination" : [ "obj-149", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-141", 3 ],
+					"destination" : [ "obj-149", 2 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-141", 0 ],
+					"destination" : [ "obj-151", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-151", 0 ],
+					"destination" : [ "obj-4", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-151", 0 ],
+					"destination" : [ "obj-4", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-141", 0 ],
+					"destination" : [ "obj-152", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-140", 0 ],
+					"destination" : [ "obj-154", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-147", 0 ],
+					"destination" : [ "obj-104", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-6", 0 ],
+					"destination" : [ "obj-5", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-22", 0 ],
+					"destination" : [ "obj-24", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-140", 2 ],
+					"destination" : [ "obj-24", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-24", 0 ],
+					"destination" : [ "obj-20", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-140", 2 ],
+					"destination" : [ "obj-31", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-35", 0 ],
+					"destination" : [ "obj-38", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-130", 0 ],
+					"destination" : [ "obj-38", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-147", 0 ],
+					"destination" : [ "obj-38", 2 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-38", 0 ],
+					"destination" : [ "obj-36", 0 ],
+					"hidden" : 0,
+					"midpoints" : [ 173.5, 853.0, 199.0, 853.0, 199.0, 808.0, 213.5, 808.0 ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-13", 0 ],
+					"destination" : [ "obj-18", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-11", 0 ],
+					"destination" : [ "obj-13", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-45", 0 ],
+					"destination" : [ "obj-56", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-48", 3 ],
+					"destination" : [ "obj-47", 2 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-48", 1 ],
+					"destination" : [ "obj-47", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-46", 0 ],
+					"destination" : [ "obj-47", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-47", 0 ],
+					"destination" : [ "obj-45", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-51", 0 ],
+					"destination" : [ "obj-52", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-50", 0 ],
+					"destination" : [ "obj-52", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-52", 0 ],
+					"destination" : [ "obj-48", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-56", 0 ],
+					"destination" : [ "obj-55", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-55", 0 ],
+					"destination" : [ "obj-54", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-54", 0 ],
+					"destination" : [ "obj-57", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-57", 0 ],
+					"destination" : [ "obj-53", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-57", 0 ],
+					"destination" : [ "obj-40", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-40", 0 ],
+					"destination" : [ "obj-42", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-39", 0 ],
+					"destination" : [ "obj-40", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-13", 1 ],
+					"destination" : [ "obj-17", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-17", 0 ],
+					"destination" : [ "obj-146", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-13", 2 ],
+					"destination" : [ "obj-59", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-59", 0 ],
+					"destination" : [ "obj-52", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-28", 0 ],
+					"destination" : [ "obj-50", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-29", 0 ],
+					"destination" : [ "obj-51", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-48", 0 ],
+					"destination" : [ "obj-63", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-63", 0 ],
+					"destination" : [ "obj-4", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-64", 0 ],
+					"destination" : [ "obj-39", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-64", 0 ],
+					"destination" : [ "obj-37", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-64", 0 ],
+					"destination" : [ "obj-22", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-140", 1 ],
+					"destination" : [ "obj-65", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-19", 0 ],
+					"destination" : [ "obj-60", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-21", 0 ],
+					"destination" : [ "obj-60", 3 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-6", 0 ],
+					"destination" : [ "obj-7", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-43", 0 ],
+					"destination" : [ "obj-146", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-43", 0 ],
+					"destination" : [ "obj-52", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-43", 0 ],
+					"destination" : [ "obj-91", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-26", 0 ],
+					"destination" : [ "obj-151", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-61", 0 ],
+					"destination" : [ "obj-26", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-26", 0 ],
+					"destination" : [ "obj-27", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-26", 0 ],
+					"destination" : [ "obj-63", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-61", 0 ],
+					"destination" : [ "obj-70", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-70", 0 ],
+					"destination" : [ "obj-73", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-79", 0 ],
+					"destination" : [ "obj-83", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-83", 0 ],
+					"destination" : [ "obj-43", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-85", 0 ],
+					"destination" : [ "obj-79", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-87", 0 ],
+					"destination" : [ "obj-79", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-29", 0 ],
+					"destination" : [ "obj-92", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-92", 0 ],
+					"destination" : [ "obj-20", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-97", 0 ],
+					"destination" : [ "obj-93", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-98", 0 ],
+					"destination" : [ "obj-97", 0 ],
+					"hidden" : 0,
+					"midpoints" : [ 818.5, -18.0, 865.5, -18.0 ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-94", 0 ],
+					"destination" : [ "obj-98", 0 ],
+					"hidden" : 0,
+					"midpoints" : [ 723.5, 5.0, 790.0, 5.0, 790.0, -42.0, 818.5, -42.0 ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-95", 0 ],
+					"destination" : [ "obj-98", 0 ],
+					"hidden" : 0,
+					"midpoints" : [ 723.5, -18.0, 790.0, -18.0, 790.0, -43.0, 818.5, -43.0 ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-99", 0 ],
+					"destination" : [ "obj-100", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-93", 0 ],
+					"destination" : [ "obj-100", 0 ],
+					"hidden" : 0,
+					"midpoints" : [ 865.5, 58.0, 776.5, 58.0 ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-95", 0 ],
+					"destination" : [ "obj-94", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-96", 0 ],
+					"destination" : [ "obj-95", 0 ],
+					"hidden" : 0,
+					"midpoints" : [ 818.5, -18.0, 790.0, -18.0, 790.0, -43.0, 723.5, -43.0 ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-6", 0 ],
+					"destination" : [ "obj-99", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-60", 0 ],
+					"destination" : [ "obj-100", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-100", 1 ],
+					"destination" : [ "obj-11", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-100", 0 ],
+					"destination" : [ "obj-11", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-7", 0 ],
+					"destination" : [ "obj-93", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-140", 1 ],
+					"destination" : [ "obj-105", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-140", 1 ],
+					"destination" : [ "obj-55", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-93", 0 ],
+					"destination" : [ "obj-23", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-100", 1 ],
+					"destination" : [ "obj-68", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-102", 0 ],
+					"destination" : [ "obj-90", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-102", 0 ],
+					"destination" : [ "obj-107", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-71", 0 ],
+					"destination" : [ "obj-77", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-107", 0 ],
+					"destination" : [ "obj-15", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-90", 0 ],
+					"destination" : [ "obj-15", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-84", 0 ],
+					"destination" : [ "obj-15", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-15", 0 ],
+					"destination" : [ "obj-86", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-15", 1 ],
+					"destination" : [ "obj-67", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-117", 0 ],
+					"destination" : [ "obj-15", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-67", 1 ],
+					"destination" : [ "obj-122", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-122", 1 ],
+					"destination" : [ "obj-118", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-122", 0 ],
+					"destination" : [ "obj-119", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-119", 0 ],
+					"destination" : [ "obj-123", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-123", 0 ],
+					"destination" : [ "obj-118", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-124", 0 ],
+					"destination" : [ "obj-123", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-118", 0 ],
+					"destination" : [ "obj-126", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-118", 0 ],
+					"destination" : [ "obj-129", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-129", 0 ],
+					"destination" : [ "obj-42", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-90", 0 ],
+					"destination" : [ "obj-131", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-131", 0 ],
+					"destination" : [ "obj-42", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-132", 0 ],
+					"destination" : [ "obj-133", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-134", 0 ],
+					"destination" : [ "obj-137", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-133", 0 ],
+					"destination" : [ "obj-135", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-135", 0 ],
+					"destination" : [ "obj-134", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-82", 0 ],
+					"destination" : [ "obj-88", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-133", 0 ],
+					"destination" : [ "obj-121", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-28", 0 ],
+					"destination" : [ "obj-125", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-125", 1 ],
+					"destination" : [ "obj-117", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-125", 0 ],
+					"destination" : [ "obj-84", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-29", 0 ],
+					"destination" : [ "obj-117", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-86", 0 ],
+					"destination" : [ "obj-4", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-86", 0 ],
+					"destination" : [ "obj-4", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-63", 0 ],
+					"destination" : [ "obj-4", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-88", 0 ],
+					"destination" : [ "obj-69", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-69", 0 ],
+					"destination" : [ "obj-115", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-93", 0 ],
+					"destination" : [ "obj-156", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-156", 1 ],
+					"destination" : [ "obj-100", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
 					"source" : [ "obj-156", 0 ],
 					"destination" : [ "obj-21", 0 ],
 					"hidden" : 0,
@@ -5542,1563 +7176,6 @@
 				}
 
 			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-156", 1 ],
-					"destination" : [ "obj-100", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-93", 0 ],
-					"destination" : [ "obj-156", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-69", 0 ],
-					"destination" : [ "obj-115", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-88", 0 ],
-					"destination" : [ "obj-69", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-63", 0 ],
-					"destination" : [ "obj-4", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-86", 0 ],
-					"destination" : [ "obj-4", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-86", 0 ],
-					"destination" : [ "obj-4", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-29", 0 ],
-					"destination" : [ "obj-117", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-125", 0 ],
-					"destination" : [ "obj-84", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-125", 1 ],
-					"destination" : [ "obj-117", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-28", 0 ],
-					"destination" : [ "obj-125", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-133", 0 ],
-					"destination" : [ "obj-121", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-82", 0 ],
-					"destination" : [ "obj-88", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-135", 0 ],
-					"destination" : [ "obj-134", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-133", 0 ],
-					"destination" : [ "obj-135", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-134", 0 ],
-					"destination" : [ "obj-137", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-132", 0 ],
-					"destination" : [ "obj-133", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-131", 0 ],
-					"destination" : [ "obj-42", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-90", 0 ],
-					"destination" : [ "obj-131", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-129", 0 ],
-					"destination" : [ "obj-42", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-118", 0 ],
-					"destination" : [ "obj-129", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-118", 0 ],
-					"destination" : [ "obj-126", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-124", 0 ],
-					"destination" : [ "obj-123", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-123", 0 ],
-					"destination" : [ "obj-118", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-119", 0 ],
-					"destination" : [ "obj-123", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-122", 0 ],
-					"destination" : [ "obj-119", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-122", 1 ],
-					"destination" : [ "obj-118", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-67", 1 ],
-					"destination" : [ "obj-122", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-117", 0 ],
-					"destination" : [ "obj-15", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-15", 1 ],
-					"destination" : [ "obj-67", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-15", 0 ],
-					"destination" : [ "obj-86", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-84", 0 ],
-					"destination" : [ "obj-15", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-90", 0 ],
-					"destination" : [ "obj-15", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-107", 0 ],
-					"destination" : [ "obj-15", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-71", 0 ],
-					"destination" : [ "obj-77", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-102", 0 ],
-					"destination" : [ "obj-107", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-102", 0 ],
-					"destination" : [ "obj-90", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-100", 1 ],
-					"destination" : [ "obj-68", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-93", 0 ],
-					"destination" : [ "obj-23", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-140", 1 ],
-					"destination" : [ "obj-55", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-140", 1 ],
-					"destination" : [ "obj-105", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-7", 0 ],
-					"destination" : [ "obj-93", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-100", 0 ],
-					"destination" : [ "obj-11", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-100", 1 ],
-					"destination" : [ "obj-11", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-60", 0 ],
-					"destination" : [ "obj-100", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-6", 0 ],
-					"destination" : [ "obj-99", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-96", 0 ],
-					"destination" : [ "obj-95", 0 ],
-					"hidden" : 0,
-					"midpoints" : [ 818.5, -18.0, 790.0, -18.0, 790.0, -43.0, 723.5, -43.0 ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-95", 0 ],
-					"destination" : [ "obj-94", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-93", 0 ],
-					"destination" : [ "obj-100", 0 ],
-					"hidden" : 0,
-					"midpoints" : [ 865.5, 58.0, 776.5, 58.0 ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-99", 0 ],
-					"destination" : [ "obj-100", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-95", 0 ],
-					"destination" : [ "obj-98", 0 ],
-					"hidden" : 0,
-					"midpoints" : [ 723.5, -18.0, 790.0, -18.0, 790.0, -43.0, 818.5, -43.0 ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-94", 0 ],
-					"destination" : [ "obj-98", 0 ],
-					"hidden" : 0,
-					"midpoints" : [ 723.5, 5.0, 790.0, 5.0, 790.0, -42.0, 818.5, -42.0 ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-98", 0 ],
-					"destination" : [ "obj-97", 0 ],
-					"hidden" : 0,
-					"midpoints" : [ 818.5, -18.0, 865.5, -18.0 ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-97", 0 ],
-					"destination" : [ "obj-93", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-92", 0 ],
-					"destination" : [ "obj-20", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-29", 0 ],
-					"destination" : [ "obj-92", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-87", 0 ],
-					"destination" : [ "obj-79", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-85", 0 ],
-					"destination" : [ "obj-79", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-83", 0 ],
-					"destination" : [ "obj-43", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-79", 0 ],
-					"destination" : [ "obj-83", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-70", 0 ],
-					"destination" : [ "obj-73", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-61", 0 ],
-					"destination" : [ "obj-70", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-26", 0 ],
-					"destination" : [ "obj-63", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-26", 0 ],
-					"destination" : [ "obj-27", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-61", 0 ],
-					"destination" : [ "obj-26", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-26", 0 ],
-					"destination" : [ "obj-151", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-43", 0 ],
-					"destination" : [ "obj-91", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-43", 0 ],
-					"destination" : [ "obj-52", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-43", 0 ],
-					"destination" : [ "obj-146", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-6", 0 ],
-					"destination" : [ "obj-7", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-21", 0 ],
-					"destination" : [ "obj-60", 3 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-19", 0 ],
-					"destination" : [ "obj-60", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-140", 1 ],
-					"destination" : [ "obj-65", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-64", 0 ],
-					"destination" : [ "obj-22", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-64", 0 ],
-					"destination" : [ "obj-37", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-64", 0 ],
-					"destination" : [ "obj-39", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-63", 0 ],
-					"destination" : [ "obj-4", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-48", 0 ],
-					"destination" : [ "obj-63", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-29", 0 ],
-					"destination" : [ "obj-51", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-28", 0 ],
-					"destination" : [ "obj-50", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-59", 0 ],
-					"destination" : [ "obj-52", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-13", 2 ],
-					"destination" : [ "obj-59", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-17", 0 ],
-					"destination" : [ "obj-146", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-13", 1 ],
-					"destination" : [ "obj-17", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-39", 0 ],
-					"destination" : [ "obj-40", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-40", 0 ],
-					"destination" : [ "obj-42", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-57", 0 ],
-					"destination" : [ "obj-40", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-57", 0 ],
-					"destination" : [ "obj-53", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-54", 0 ],
-					"destination" : [ "obj-57", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-55", 0 ],
-					"destination" : [ "obj-54", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-56", 0 ],
-					"destination" : [ "obj-55", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-52", 0 ],
-					"destination" : [ "obj-48", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-50", 0 ],
-					"destination" : [ "obj-52", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-51", 0 ],
-					"destination" : [ "obj-52", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-47", 0 ],
-					"destination" : [ "obj-45", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-46", 0 ],
-					"destination" : [ "obj-47", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-48", 1 ],
-					"destination" : [ "obj-47", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-48", 3 ],
-					"destination" : [ "obj-47", 2 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-45", 0 ],
-					"destination" : [ "obj-56", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-11", 0 ],
-					"destination" : [ "obj-13", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-13", 0 ],
-					"destination" : [ "obj-18", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-38", 0 ],
-					"destination" : [ "obj-36", 0 ],
-					"hidden" : 0,
-					"midpoints" : [ 173.5, 853.0, 199.0, 853.0, 199.0, 808.0, 213.5, 808.0 ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-147", 0 ],
-					"destination" : [ "obj-38", 2 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-130", 0 ],
-					"destination" : [ "obj-38", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-35", 0 ],
-					"destination" : [ "obj-38", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-140", 2 ],
-					"destination" : [ "obj-31", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-24", 0 ],
-					"destination" : [ "obj-20", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-140", 2 ],
-					"destination" : [ "obj-24", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-22", 0 ],
-					"destination" : [ "obj-24", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-6", 0 ],
-					"destination" : [ "obj-5", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-147", 0 ],
-					"destination" : [ "obj-104", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-140", 0 ],
-					"destination" : [ "obj-154", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-141", 0 ],
-					"destination" : [ "obj-152", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-151", 0 ],
-					"destination" : [ "obj-4", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-151", 0 ],
-					"destination" : [ "obj-4", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-141", 0 ],
-					"destination" : [ "obj-151", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-141", 3 ],
-					"destination" : [ "obj-149", 2 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-141", 1 ],
-					"destination" : [ "obj-149", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-148", 0 ],
-					"destination" : [ "obj-149", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-149", 0 ],
-					"destination" : [ "obj-147", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-145", 0 ],
-					"destination" : [ "obj-146", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-144", 0 ],
-					"destination" : [ "obj-146", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-143", 0 ],
-					"destination" : [ "obj-146", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-146", 0 ],
-					"destination" : [ "obj-141", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-78", 0 ],
-					"destination" : [ "obj-140", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-128", 0 ],
-					"destination" : [ "obj-140", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-91", 0 ],
-					"destination" : [ "obj-140", 2 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-78", 0 ],
-					"destination" : [ "obj-130", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-8", 0 ],
-					"destination" : [ "obj-128", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-128", 0 ],
-					"destination" : [ "obj-3", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-128", 0 ],
-					"destination" : [ "obj-27", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-128", 1 ],
-					"destination" : [ "obj-78", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-128", 3 ],
-					"destination" : [ "obj-78", 2 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-27", 0 ],
-					"destination" : [ "obj-4", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-27", 0 ],
-					"destination" : [ "obj-4", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-14", 0 ],
-					"destination" : [ "obj-8", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-12", 0 ],
-					"destination" : [ "obj-8", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-10", 0 ],
-					"destination" : [ "obj-8", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-43", 0 ],
-					"destination" : [ "obj-8", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-74", 0 ],
-					"destination" : [ "obj-76", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-75", 0 ],
-					"destination" : [ "obj-76", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-76", 0 ],
-					"destination" : [ "obj-73", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-36", 0 ],
-					"destination" : [ "obj-76", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-72", 0 ],
-					"destination" : [ "obj-76", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-73", 0 ],
-					"destination" : [ "obj-4", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-73", 0 ],
-					"destination" : [ "obj-4", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-127", 0 ],
-					"destination" : [ "obj-73", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-80", 0 ],
-					"destination" : [ "obj-78", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-12", 0 ],
-					"destination" : [ "obj-91", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-104", 0 ],
-					"destination" : [ "obj-105", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-105", 0 ],
-					"destination" : [ "obj-110", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-110", 0 ],
-					"destination" : [ "obj-103", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-103", 0 ],
-					"destination" : [ "obj-112", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-18", 0 ],
-					"destination" : [ "obj-8", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-21", 0 ],
-					"destination" : [ "obj-19", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-6", 0 ],
-					"destination" : [ "obj-21", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-25", 0 ],
-					"destination" : [ "obj-128", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-28", 0 ],
-					"destination" : [ "obj-12", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-28", 0 ],
-					"destination" : [ "obj-144", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-29", 0 ],
-					"destination" : [ "obj-10", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-29", 0 ],
-					"destination" : [ "obj-145", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-103", 0 ],
-					"destination" : [ "obj-34", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-34", 0 ],
-					"destination" : [ "obj-66", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-37", 0 ],
-					"destination" : [ "obj-34", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-25", 1 ],
-					"destination" : [ "obj-41", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-44", 0 ],
-					"destination" : [ "obj-25", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-1", 0 ],
-					"destination" : [ "obj-148", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-1", 0 ],
-					"destination" : [ "obj-46", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-1", 0 ],
-					"destination" : [ "obj-80", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-28", 0 ],
-					"destination" : [ "obj-116", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-116", 0 ],
-					"destination" : [ "obj-20", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-137", 0 ],
-					"destination" : [ "obj-115", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-115", 0 ],
-					"destination" : [ "obj-90", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
  ]
 	}
 
--- a/bayesianArraySrc/BayesianArrayStructure.cpp	Thu Feb 09 18:09:34 2012 +0000
+++ b/bayesianArraySrc/BayesianArrayStructure.cpp	Sun Feb 12 00:48:07 2012 +0000
@@ -31,7 +31,7 @@
 
 	tmpBestEstimate = 0;
 	crossUpdateTimeThreshold = 60;
-	priorWidth = 20;
+	priorWidth = 8;
 	
 }
 
@@ -84,9 +84,9 @@
 	relativeSpeedLikelihood.zero();
 	
 	
-	relativeSpeedPosterior.addGaussianShape(100, 20, 0.8);
-	relativeSpeedPosterior.renormalise();
-	relativeSpeedPosterior.getMaximum();
+//	relativeSpeedPosterior.addGaussianShape(100, 8, 0.1);
+//	relativeSpeedPosterior.renormalise();
+//	relativeSpeedPosterior.getMaximum();
 	
 	setSpeedPrior(speedPriorValue);
 	speedEstimate = speedPriorValue;
@@ -103,10 +103,10 @@
 	speedPriorValue = f;
 	int index = relativeSpeedPosterior.getRealTermsAsIndex(speedPriorValue);
 	relativeSpeedPosterior.zero();
-	relativeSpeedPosterior.addGaussianShape(index, priorWidth, 0.8);
+	relativeSpeedPosterior.addGaussianShape(index, priorWidth, 0.9);
 	printf("speed adding to index for 1 = %f\n", relativeSpeedPosterior.getRealTermsAsIndex(1));
-	relativeSpeedPosterior.addToIndex(relativeSpeedPosterior.getRealTermsAsIndex(1), 0.1);
-	relativeSpeedPosterior.addGaussianShapeFromRealTime(1, 3, 0.5);
+	relativeSpeedPosterior.addToIndex(relativeSpeedPosterior.getRealTermsAsIndex(1), 0.5);
+	//relativeSpeedPosterior.addGaussianShapeFromRealTime(1, 3, 0.5);
 
 	
 	//tmp debug test
--- a/bayesianArraySrc/DynamicVector.cpp	Thu Feb 09 18:09:34 2012 +0000
+++ b/bayesianArraySrc/DynamicVector.cpp	Sun Feb 12 00:48:07 2012 +0000
@@ -175,14 +175,15 @@
 
 
 void DynamicVector::addGaussianShapeFromRealTime(const double& actualTime, const double& StdDev, double factor){
-	
+	//could be further optimised
 	double mean = getRealTermsAsIndex(actualTime);
-//	printf("Gaussian realtime %f at index %f\n", actualTime, mean);
+	double standardDeviation = StdDev / scalar;//in vector indices from real time (ms)
+	//printf("Gaussian realtime %f at index %f std dev %f vec indices %f\n", actualTime, mean, StdDev, standardDeviation );
 	int i;
-	double std_dev_factor = (2*StdDev*StdDev);
-	factor *= (1/(StdDev*sqrt(2*PI)));
-	int maxVal = min((int) array.size(), (int)(mean + 4.8*StdDev));
-	int minVal = max(0, (int)(mean - 4.8*StdDev));
+	double std_dev_factor = (2*standardDeviation*standardDeviation);
+	factor *= (1/(standardDeviation*sqrt(2*PI)));
+	int maxVal = min((int) array.size(), (int)(mean + 4.8*standardDeviation));
+	int minVal = max(0, (int)(mean - 4.8*standardDeviation));
 	
 	for (i=minVal;i < maxVal;i++){
 		array[i] += factor*exp(-1*(i-mean)*(i-mean)/(std_dev_factor));
--- a/src/AudioEventMatcher.cpp	Thu Feb 09 18:09:34 2012 +0000
+++ b/src/AudioEventMatcher.cpp	Sun Feb 12 00:48:07 2012 +0000
@@ -31,8 +31,9 @@
 	
 	followingLiveInput = true;
 	startedPlaying = false;
-	
-	temporal.setUpEventTimeMatrix();
+	recordedTempoIndex = 0;
+//	temporal.setUpEventTimeMatrix();
+//	recordedTempoData.setUpEventTimeMatrix();
 }
 
 
@@ -65,6 +66,59 @@
 	recordedTracks.loadTestAudio();
 	synchroniser.fileLengthSamples = recordedTracks.loadedAudioFiles[0].fileLoader.totalNumberOfSamples;
 	printf("synchroniser has %f samples\n", synchroniser.fileLengthSamples);
+	
+	calculateRecordedTempoData();
+	printf("\n\nFIRST PASS: FINAL recorded tempo is %f\n", recordedTempoData.playingTempo);
+	setTempoPrior(recordedTempoData.playingTempo);
+	calculateRecordedTempoData();//now calculate again using better prior
+	
+	printf("\n\nSECOND PASS: FINAL recorded tempo is %f\n", recordedTempoData.playingTempo);
+	printf("GLOBAL TEMPO of RECORDED FILES\n");
+	recordedTempoData.printTempoTimes();
+}
+
+void AudioEventMatcher::setTempoPrior(double tempo){
+	recordedTempoData.zero();
+	recordedTempoData.tempoPosterior.zero();
+	recordedTempoData.tempoPosterior.addGaussianShapeFromRealTime(tempo, 3, 1);
+
+}
+
+void AudioEventMatcher::calculateRecordedTempoData(){
+	int indexForOnsets[3];
+		indexForOnsets[0] = 0;
+		indexForOnsets[1] = 0;
+		indexForOnsets[2] = 0;
+	int kickTime, snareTime;
+	while (indexForOnsets[0] < recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.chromaOnsets.size() || 
+		   indexForOnsets[2] < recordedTracks.loadedAudioFiles[2].fileLoader.onsetDetect.chromaOnsets.size()) {
+		
+		setNextOnsetTime(0, kickTime, &indexForOnsets[0]);
+		setNextOnsetTime(2, snareTime, &indexForOnsets[0]);
+		
+		if (kickTime < snareTime){
+			printf("update kick at %i\n", kickTime);
+			recordedTempoData.updateTempo(0, kickTime);
+			printf("recorded tempo is %f\n", recordedTempoData.playingTempo);
+			indexForOnsets[0]++;
+		}else {
+			printf("update snare at %i\n", snareTime);
+			recordedTempoData.updateTempo(2, snareTime);
+			printf("recorded tempo is %f\n", recordedTempoData.playingTempo);
+			indexForOnsets[2]++;
+		}
+	}//end while
+	
+	
+}
+
+void AudioEventMatcher::setNextOnsetTime(const int& channel, int& time, int* indexForOnsets){
+	if (indexForOnsets[channel] < recordedTracks.loadedAudioFiles[channel].fileLoader.onsetDetect.chromaOnsets.size()){
+		time = recordedTracks.loadedAudioFiles[channel].fileLoader.onsetDetect.chromaOnsets[indexForOnsets[channel]].millisTime;
+	}
+	else {
+		time = 2147483647;//infinity
+	}
 }
 
 void AudioEventMatcher::startPlaying(){
@@ -77,10 +131,24 @@
 	synchroniser.reset();
 	temporal.reset();
 	
+	recordedTempoIndex = 0;
+	recordedTempo = recordedTempoData.globalTempo[recordedTempoIndex];
+	
+	currentSpeedRatio = 1;
+	
+	//SET TEMPO PRIOR for Speed Ratio
+	//the update this
+	setSpeedRatioDistribution(currentSpeedRatio);
 	//bayesianStruct.posterior.printArray();
 }
 
 
+void AudioEventMatcher::setSpeedRatioDistribution(const double& speedRatio){
+	bayesianStruct.relativeSpeedPosterior.zero();
+	bayesianStruct.relativeSpeedPosterior.addToIndex(bayesianStruct.relativeSpeedPosterior.getRealTermsAsIndex(speedRatio), 1);
+	bayesianStruct.relativeSpeedPosterior.addGaussianShapeFromRealTime(1, 0.06, 0.5);
+}
+
 void AudioEventMatcher::stopPlaying(){
 	startedPlaying = false;
 	temporal.printEventTimes();
@@ -94,12 +162,26 @@
 	else
 		recordedTracks.updatePositionToMillis(currentAlignmentPosition);
 		
-	updateBestAlignmentPosition();
+		updateBestAlignmentPosition();
 	}
 	
+	updateRecordedTempo();
+	
 	temporal.tempoPosterior.addGaussianShape(temporal.tempoPosterior.MAPestimate, temporal.tempoArraySize / 4, 0.5	);
 }
 
+void AudioEventMatcher::updateRecordedTempo(){
+	//tempo of equivalent recorded position is updated 
+	while(currentAlignmentPosition > recordedTempoData.globalTempoTimes[recordedTempoIndex]){
+		recordedTempoIndex++;
+	}
+	recordedTempo = recordedTempoData.globalTempo[recordedTempoIndex];
+	double tmpRatio = currentSpeedRatio;
+	currentSpeedRatio = temporal.playingTempo / recordedTempo;
+	if (currentSpeedRatio != tmpRatio)
+		setSpeedRatioDistribution(currentSpeedRatio);
+}
+
 void AudioEventMatcher::updateBestAlignmentPosition(){
 	//THIS DEALS WITH WHERE WE ARE NOW! ON THE SCREEN
 	//DIFFERENT TO WHEN EVENTS COME IN AS THEY ARE TIMESTAMPED - SO EG A PITCH EVENT MAY ARRIVE 16 CHROMA FRAMES LATER - BIG DIFFERENCE
@@ -155,8 +237,38 @@
 	ofDrawBitmapString(alignString, 20, 50);
 	
 	ofDrawBitmapString("pos "+ofToString(recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.playPosition), 200,600);
+
+	temporal.drawTempoArray(bayesLikelihoodWindow);
+	
+	drawRecordedTempo();
+	drawPlayingTempo();
+	
+	
 }
+
+void AudioEventMatcher::drawRecordedTempo(){
 	
+	int xTempoIndex = ofGetWidth() * (recordedTempo - recordedTempoData.minimumTempoInterval)/(recordedTempoData.maximumTempoInterval - recordedTempoData.minimumTempoInterval);
+	ofSetColor(0, 200, 0);
+	ofLine(xTempoIndex, bayesLikelihoodWindow.y, xTempoIndex, bayesLikelihoodWindow.y + bayesLikelihoodWindow.height);
+	ofDrawBitmapString(ofToString(recordedTempo), xTempoIndex, bayesLikelihoodWindow.y + 10);
+}
+
+void AudioEventMatcher::drawPlayingTempo(){
+	
+	int xTempoIndex = ofGetWidth() * (temporal.playingTempo - temporal.minimumTempoInterval)/(temporal.maximumTempoInterval - temporal.minimumTempoInterval);
+	ofSetColor(200, 0, 200);
+	ofLine(xTempoIndex, bayesLikelihoodWindow.y, xTempoIndex, bayesLikelihoodWindow.y + bayesLikelihoodWindow.height);
+	ofDrawBitmapString(ofToString(recordedTempo), xTempoIndex, bayesLikelihoodWindow.y + 10);
+	
+	int xSpeedRatioIndex = (double)(temporal.tempoPosterior.getIndexInRealTerms(currentSpeedRatio)*ofGetWidth())/(double)temporal.tempoPosterior.arraySize;
+	ofSetColor(200,0,0);
+	ofLine(xSpeedRatioIndex, bayesTempoWindow.y, xSpeedRatioIndex, bayesTempoWindow.y + bayesTempoWindow.height);
+	ofDrawBitmapString(ofToString(currentSpeedRatio), 100, bayesTempoWindow.y+50);
+
+}
+
+
 void AudioEventMatcher::setScreenDisplayTimes(){
 		screenWidthMillis = recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.framesToMillis(recordedTracks.loadedAudioFiles[0].fileLoader.onsetDetect.amplitudeNumber);
 	//	if (!followingLiveInput){
@@ -234,7 +346,7 @@
 	ofSetColor(255,0,0);
 	projectedPrior.drawConstrainedVector(bayesianStruct.prior.getRealTermsAsIndex(screenStartTimeMillis), bayesianStruct.prior.getRealTermsAsIndex(screenEndTimeMillis), 0, ofGetWidth(), bayesPositionWindow);
 	
-	temporal.drawTempoArray(bayesLikelihoodWindow);
+	
 	
 }
 
--- a/src/AudioEventMatcher.h	Thu Feb 09 18:09:34 2012 +0000
+++ b/src/AudioEventMatcher.h	Sun Feb 12 00:48:07 2012 +0000
@@ -99,5 +99,17 @@
 
 	
 	TempoFollower temporal;
+	TempoFollower recordedTempoData;
+	void calculateRecordedTempoData();
+	void setTempoPrior(double tempo);
+	
+	void setNextOnsetTime(const int&channel, int& time, int* indexForOnsets);
+	int recordedTempoIndex;
+	double recordedTempo;
+	void updateRecordedTempo();
+	void drawRecordedTempo();
+	double currentSpeedRatio;
+	void drawPlayingTempo();
+	void setSpeedRatioDistribution(const double& speedRatio);
 };
 #endif
--- a/src/TempoFollower.cpp	Thu Feb 09 18:09:34 2012 +0000
+++ b/src/TempoFollower.cpp	Sun Feb 12 00:48:07 2012 +0000
@@ -10,6 +10,10 @@
 #include "TempoFollower.h"
 
 TempoFollower::TempoFollower(){
+	
+	
+	
+	
 	maximumTempoInterval = 600;
 	minimumTempoInterval = 200;
 	tempoArraySize = maximumTempoInterval - minimumTempoInterval;;
@@ -27,13 +31,31 @@
 	tempoPrior.scalar = 1;
 	tempoPosterior.scalar = 1;
 	tempoLikelihood.scalar = 1;
+
+	intervalsToTest[0] = 1;
+	intervalsToTest[1] = 2;
+	intervalsToTest[2] = 4;
+	intervalsToTest[3] = 8;
+	intervalsToTest[4] = 16;
+	
+	setUpEventTimeMatrix();
 }
 
+void TempoFollower::zero(){
+	eventTimes.clear();
+	tempoIntervals.clear();
+	divisions.clear();
+	tempo.clear();
+	globalTempo.clear();
+	globalTempoTimes.clear();
+	setUpEventTimeMatrix();
+}
 
 void TempoFollower::reset(){
 
 	tempoPrior.zero();
 	tempoPosterior.addConstant(1);
+
 }
 
 
@@ -44,6 +66,13 @@
 		
 		DoubleMatrix m;	
 		tempoIntervals.push_back(m);
+		
+		IntMatrix h;
+		divisions.push_back(h);
+		
+		DoubleVector d;
+		tempo.push_back(d);
+		
 	}
 	
 	//[channel][index]
@@ -60,6 +89,13 @@
 }
 
 
+void TempoFollower::printTempoTimes(){
+
+	for (int i = 0;i < globalTempo.size();i++){
+		printf("Time %i : tempo %f\n", globalTempoTimes[i], globalTempo[i]);
+	}
+}
+
 void TempoFollower::updateTempo(const int& channel, const int& timeIn){
 	
 	eventTimes[channel].push_back(timeIn);
@@ -70,27 +106,33 @@
 	int recentIndex = eventTimes[channel].size()-1;
 	
 	DoubleVector d;
-	
+	IntVector div;
 	int recentEvent = eventTimes[channel][recentIndex];
 	
 	for (int i = 1;i < eventTimes[channel].size() && interval < intervalLimit;i++){
 		interval = eventTimes[channel][recentIndex] - eventTimes[channel][recentIndex - i];
 		
-		if (testTempoInterval(channel, interval, d))
-			printf("channel %i interval %i at division 1 == tempo update %i\n", channel, interval, interval);
-		
-		for (double divisionInEighthNotes = 2.0;divisionInEighthNotes < 9.0;divisionInEighthNotes+=2){
+		for (int k = 0;k < 3;k++){
 			
+			double divisionInEighthNotes = intervalsToTest[k];
 			double testInterval = interval / divisionInEighthNotes;
-			if (testTempoInterval(channel, testInterval, d))
+			if (testTempoInterval(channel, testInterval, d)){
 				printf("channel %i interval %i at division %.0f == tempo update %f\n", channel, interval, divisionInEighthNotes, testInterval);
-			
+				div.push_back((int)divisionInEighthNotes);
+			}
 		}
 	}
 	
 	(tempoIntervals[channel]).push_back(d);
+	(divisions[channel]).push_back(div);
 	updateTempoDistribution(d);
 	
+	tempo[channel].push_back(playingTempo);
+	
+	globalTempo.push_back(playingTempo);
+	globalTempoTimes.push_back(timeIn);
+	
+	
 }
 
 
@@ -106,16 +148,19 @@
 
 void TempoFollower::updateTempoDistribution(const DoubleVector& d){
 	double tempoLikelihoodToNoiseRatio = 0.8;
+	tempoLikelihoodStdDev = 4;
+	
 	tempoLikelihood.zero();
 	double amount = tempoLikelihoodToNoiseRatio/d.size();
 	for (int i = 0;i < d.size();i++){
-		tempoLikelihood.addGaussianShapeFromRealTime(d[i], 10, amount);
+		tempoLikelihood.addGaussianShapeFromRealTime(d[i], tempoLikelihoodStdDev, amount);
 	}
 	tempoLikelihood.addConstant(0.1*(1-tempoLikelihoodToNoiseRatio));
 	calculatePosterior();
-	
 	tempoPosterior.renormalise();
 	playingTempo = tempoPosterior.getIndexInRealTerms(tempoPosterior.getMAPestimate());
+	
+	
 }
 
 
@@ -130,5 +175,25 @@
 void TempoFollower::drawTempoArray(ofxWindowRegion& window){
 	ofSetColor(150,0,250);
 	tempoPosterior.drawConstrainedVector(0, tempoArraySize, 0, ofGetWidth(), window);
+	
+	ofSetColor(150,150,150);
+	tempoLikelihood.drawConstrainedVector(0, tempoArraySize, 0, ofGetWidth(), window);
+	
+	
 	ofDrawBitmapString("tempo "+ofToString(playingTempo), window.x+ 20, window.y + 40);
+	
+
+	for (int channel = 0;channel < 3;channel+=2){
+		int index = tempoIntervals[channel].size()-1;
+		
+		for (int i = 0;i < 9 && index - i>=0 ;i++){
+			for (int j = 0;j < tempoIntervals[channel][index - i].size();j++){
+				ofSetColor(channel*125, 0, 250);
+				ofCircle(window.x+((tempoIntervals[channel][index - i][j] - minimumTempoInterval)*window.width)/tempoArraySize, window.y+6+(window.height*i/9.0), 4);
+				ofSetColor(255,255,255);
+				ofDrawBitmapString(ofToString(divisions[channel][index-i][j]), (window.x+((tempoIntervals[channel][index - i][j] - minimumTempoInterval)*window.width)/tempoArraySize)-3, window.y+8+(window.height*i/9.0));
+			}
+		}
+	}
 }
+
--- a/src/TempoFollower.h	Thu Feb 09 18:09:34 2012 +0000
+++ b/src/TempoFollower.h	Sun Feb 12 00:48:07 2012 +0000
@@ -15,6 +15,25 @@
 #include "ofMain.h"
 #include "DynamicVector.h"
 #include "ofxWindowRegion.h"
+#include "ofxAubioOnsetDetection.h"
+
+typedef std::vector<double> DoubleVector;
+typedef std::vector<DoubleVector> DoubleMatrix;
+typedef std::vector<DoubleMatrix> DoubleCube;
+
+
+typedef std::vector<int> IntVector;
+typedef std::vector<IntVector> IntMatrix;
+typedef std::vector<IntMatrix> IntCube;
+
+/*
+ struct RecordedTempoData {
+	DoubleCube recordedIntervals;
+	IntCube recordedDivisions;
+	IntMatrix recordedTimes;
+	DoubleMatrix recordedTempo;
+};
+*/
 
 class TempoFollower{
 	
@@ -28,20 +47,23 @@
 	int minimumTempoInterval, maximumTempoInterval;
 	
 	double playingTempo;
-	
+	void zero();
 	void reset();
 	
 	//TEMPO STUFF
 	
-	typedef std::vector<double> DoubleVector;
-	typedef std::vector<DoubleVector> DoubleMatrix;
-	typedef std::vector<DoubleMatrix> DoubleCube;
+
 	DoubleCube tempoIntervals;//channel, event index, vector of interval times
+
+	IntCube divisions;
 	
+	IntMatrix eventTimes;
+	DoubleMatrix tempo;
 	
-	typedef std::vector<int> IntVector;
-	typedef std::vector<IntVector> IntMatrix;
-	IntMatrix eventTimes;
+	DoubleVector globalTempo;
+	IntVector globalTempoTimes;
+	
+	
 	void setUpEventTimeMatrix();
 	void printEventTimes();
 	
@@ -51,5 +73,11 @@
 	void calculatePosterior();
 	void drawTempoArray(ofxWindowRegion& window);
 	
+	double intervalsToTest[4];
+	
+	double tempoLikelihoodStdDev;
+	
+	void printTempoTimes();//prints global tempo - the playing tempo sequence
+	
 };
 #endif
\ No newline at end of file
--- a/src/testApp.cpp	Thu Feb 09 18:09:34 2012 +0000
+++ b/src/testApp.cpp	Sun Feb 12 00:48:07 2012 +0000
@@ -25,7 +25,7 @@
 	sampleRate 			= 44100;
 	ofSoundStreamSetup(2,0,this, sampleRate,256, 4);
 
-	ofSetFrameRate(30);
+	ofSetFrameRate(20);
 
 	
 	eventMatcher.loadAudioFiles();