changeset 22:24c413f0f2c5

rescue mechanism added
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Sun, 12 Feb 2012 22:25:14 +0000
parents 604add81822f
children bc113cd60a2f 75ebe1982741
files MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat src/AudioEventMatcher.cpp src/AudioEventMatcher.h src/RecordedMultitrackAudio.cpp src/testApp.cpp
diffstat 5 files changed, 1238 insertions(+), 1179 deletions(-) [+]
line wrap: on
line diff
--- a/MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat	Sun Feb 12 01:07:45 2012 +0000
+++ b/MaxPatchToPlayFiles/aubioOnsetPitchSender4.maxpat	Sun Feb 12 22:25:14 2012 +0000
@@ -1,9 +1,9 @@
 {
 	"patcher" : 	{
 		"fileversion" : 1,
-		"rect" : [ 152.0, 68.0, 1528.0, 909.0 ],
+		"rect" : [ 1113.0, 86.0, 1528.0, 909.0 ],
 		"bglocked" : 0,
-		"defrect" : [ 152.0, 68.0, 1528.0, 909.0 ],
+		"defrect" : [ 1113.0, 86.0, 1528.0, 909.0 ],
 		"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
 		"openinpresentation" : 0,
 		"default_fontsize" : 10.0,
@@ -20,16 +20,45 @@
 		"devicewidth" : 0.0,
 		"boxes" : [ 			{
 				"box" : 				{
+					"maxclass" : "message",
+					"text" : "/rescue",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
+					"presentation_rect" : [ 46.0, 422.0, 48.0, 17.0 ],
+					"patching_rect" : [ 693.0, 786.0, 48.0, 17.0 ],
+					"presentation" : 1,
+					"id" : "obj-153",
+					"fontname" : "Verdana",
+					"numinlets" : 2
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
+					"presentation_rect" : [ 19.0, 422.0, 20.0, 20.0 ],
+					"patching_rect" : [ 692.0, 757.0, 20.0, 20.0 ],
+					"presentation" : 1,
+					"id" : "obj-139",
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
 					"maxclass" : "number",
+					"numoutlets" : 2,
+					"fontsize" : 10.0,
+					"outlettype" : [ "int", "bang" ],
 					"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" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -37,13 +66,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "ftom",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 484.0, 746.0, 34.0, 19.0 ],
 					"id" : "obj-120",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -51,13 +80,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "t b l",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "bang", "" ],
 					"patching_rect" : [ 869.0, 37.0, 32.5, 19.0 ],
 					"id" : "obj-156",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "bang", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -65,26 +94,26 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "t b b",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "bang", "bang" ],
 					"patching_rect" : [ 1153.0, 315.0, 34.0, 19.0 ],
 					"id" : "obj-125",
-					"numinlets" : 1,
+					"fontname" : "Verdana",
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "flonum",
 					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "bang", "bang" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "flonum",
 					"fontsize" : 10.0,
+					"outlettype" : [ "float", "bang" ],
 					"patching_rect" : [ 1226.0, 337.0, 65.0, 19.0 ],
 					"id" : "obj-121",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -92,13 +121,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 995.0, 348.0, 68.0, 19.0 ],
 					"id" : "obj-82",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -106,26 +135,26 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "f 1.",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float" ],
 					"patching_rect" : [ 977.0, 518.0, 32.5, 19.0 ],
 					"id" : "obj-115",
-					"numinlets" : 2,
+					"fontname" : "Verdana",
+					"numinlets" : 2
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "toggle",
 					"numoutlets" : 1,
-					"fontname" : "Verdana",
-					"outlettype" : [ "float" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "toggle",
+					"outlettype" : [ "int" ],
 					"presentation_rect" : [ 502.0, 170.0, 20.0, 20.0 ],
 					"patching_rect" : [ 976.0, 392.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"id" : "obj-88",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "int" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -133,28 +162,28 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "metro 100",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "bang" ],
 					"patching_rect" : [ 976.0, 423.0, 70.0, 19.0 ],
 					"id" : "obj-69",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "bang" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
+					"numoutlets" : 2,
+					"fontsize" : 10.0,
+					"outlettype" : [ "float", "bang" ],
 					"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,
 					"id" : "obj-137",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -162,13 +191,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "append 1000",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1040.0, 423.0, 77.0, 19.0 ],
 					"id" : "obj-135",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -176,13 +205,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "line 1.",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "", "" ],
 					"patching_rect" : [ 991.0, 449.0, 46.0, 19.0 ],
 					"id" : "obj-134",
-					"numinlets" : 3,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "", "" ]
+					"numinlets" : 3
 				}
 
 			}
@@ -190,13 +219,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "route /setSpeed",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "", "" ],
 					"patching_rect" : [ 1217.0, 296.0, 91.0, 19.0 ],
 					"id" : "obj-133",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -204,13 +233,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "udpreceive 10875",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1193.0, 261.0, 101.0, 19.0 ],
 					"id" : "obj-132",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -218,13 +247,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend /accompanimentSpeed",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 991.0, 819.0, 170.0, 19.0 ],
 					"id" : "obj-131",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -232,27 +261,27 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend /accompanimentRatio",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1108.0, 756.0, 165.0, 19.0 ],
 					"id" : "obj-129",
-					"numinlets" : 1,
+					"fontname" : "Verdana",
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "message",
+					"text" : "39242.992188 0.",
 					"numoutlets" : 1,
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "message",
-					"text" : "758150.4375 0.",
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1235.0, 776.0, 101.0, 17.0 ],
 					"id" : "obj-126",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -260,13 +289,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "r startTime",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1319.0, 610.0, 66.0, 19.0 ],
 					"id" : "obj-124",
-					"numinlets" : 0,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 0
 				}
 
 			}
@@ -274,13 +303,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "- 0.",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float" ],
 					"patching_rect" : [ 1253.0, 662.0, 37.5, 19.0 ],
 					"id" : "obj-123",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -288,13 +317,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "t b f",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "bang", "float" ],
 					"patching_rect" : [ 1243.0, 577.0, 64.5, 19.0 ],
 					"id" : "obj-122",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "bang", "float" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -302,13 +331,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float" ],
 					"patching_rect" : [ 1253.0, 609.0, 58.0, 19.0 ],
 					"id" : "obj-119",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -316,13 +345,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "pack 0. 0.",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1253.0, 709.0, 66.0, 19.0 ],
 					"id" : "obj-118",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -330,26 +359,26 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "stop",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1240.0, 373.0, 32.5, 17.0 ],
 					"id" : "obj-117",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float", "bang" ],
 					"patching_rect" : [ 1305.0, 447.0, 88.0, 19.0 ],
 					"id" : "obj-107",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -357,41 +386,41 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1257.0, 422.0, 68.0, 19.0 ],
 					"id" : "obj-102",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
+					"numoutlets" : 2,
+					"fontsize" : 10.0,
+					"outlettype" : [ "float", "bang" ],
 					"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,
 					"id" : "obj-90",
-					"numinlets" : 1,
+					"fontname" : "Verdana",
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "gain~",
 					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "gain~",
+					"outlettype" : [ "signal", "int" ],
 					"presentation_rect" : [ 366.0, 87.0, 20.0, 140.0 ],
 					"patching_rect" : [ 1098.0, 464.0, 20.0, 140.0 ],
 					"presentation" : 1,
 					"id" : "obj-86",
-					"numinlets" : 2,
-					"numoutlets" : 2,
-					"outlettype" : [ "signal", "int" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -399,13 +428,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "startloop",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1179.0, 374.0, 56.0, 17.0 ],
 					"id" : "obj-84",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -413,13 +442,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "buffer~ accomp",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float", "bang" ],
 					"patching_rect" : [ 1323.0, 371.0, 90.0, 19.0 ],
 					"id" : "obj-77",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -427,30 +456,30 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "replace",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-71",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number~",
+					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"mode" : 2,
-					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "float" ],
+					"sig" : 0.0,
 					"patching_rect" : [ 1259.0, 546.0, 108.0, 19.0 ],
 					"id" : "obj-67",
-					"numinlets" : 2,
-					"numoutlets" : 2,
-					"sig" : 0.0,
 					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "float" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -458,46 +487,46 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "elastic~ accomp 1",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "signal" ],
 					"patching_rect" : [ 1180.0, 483.0, 147.0, 19.0 ],
 					"id" : "obj-15",
-					"numinlets" : 4,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "signal" ]
+					"numinlets" : 4
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/DiamondMatch2/keys_bip.wav\"",
-					"linecount" : 18,
+					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveIdiot1/keys_bip.wav\"",
+					"linecount" : 17,
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
-					"patching_rect" : [ 930.0, 220.0, 50.0, 223.0 ],
+					"outlettype" : [ "" ],
+					"patching_rect" : [ 930.0, 220.0, 50.0, 211.0 ],
 					"id" : "obj-68",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "prefix \"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/DiamondMatch2/\"",
+					"text" : "prefix \"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveIdiot1/\"",
 					"linecount" : 3,
 					"presentation_linecount" : 3,
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-23",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -505,13 +534,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/start",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 469.0, 284.0, 38.0, 17.0 ],
 					"id" : "obj-116",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -519,14 +548,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "snare",
+					"numoutlets" : 0,
+					"fontsize" : 10.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,
 					"id" : "obj-114",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -534,14 +563,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "bass",
+					"numoutlets" : 0,
+					"fontsize" : 10.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,
 					"id" : "obj-111",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -549,14 +578,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "kick",
+					"numoutlets" : 0,
+					"fontsize" : 10.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,
 					"id" : "obj-109",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -565,14 +594,14 @@
 					"maxclass" : "comment",
 					"text" : "drag and drop foler - number them, 01bass, 02kick, 03snare",
 					"linecount" : 3,
+					"numoutlets" : 0,
+					"fontsize" : 10.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,
 					"id" : "obj-106",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -580,24 +609,24 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend prefix",
+					"numoutlets" : 1,
 					"fontsize" : 11.595187,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 856.0, 9.0, 85.0, 20.0 ],
 					"id" : "obj-93",
-					"numinlets" : 1,
+					"fontname" : "Arial",
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "button",
 					"numoutlets" : 1,
-					"fontname" : "Arial",
-					"outlettype" : [ "" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "button",
+					"outlettype" : [ "bang" ],
 					"patching_rect" : [ 714.0, -14.0, 20.0, 20.0 ],
 					"id" : "obj-94",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -605,29 +634,29 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend set",
+					"numoutlets" : 1,
 					"fontsize" : 11.595187,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 714.0, -39.0, 72.0, 20.0 ],
 					"id" : "obj-95",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Arial",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "dropfile",
+					"numoutlets" : 2,
+					"border" : 0.0,
+					"outlettype" : [ "", "" ],
 					"presentation_rect" : [ 488.0, 24.0, 270.0, 19.0 ],
 					"types" : [ "fold" ],
-					"border" : 0.0,
 					"patching_rect" : [ 809.0, -39.0, 270.0, 19.0 ],
 					"presentation" : 1,
 					"id" : "obj-96",
 					"rounded" : 0.0,
-					"numinlets" : 1,
-					"numoutlets" : 2,
-					"outlettype" : [ "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -635,33 +664,33 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "route text",
+					"numoutlets" : 2,
 					"fontsize" : 11.595187,
+					"outlettype" : [ "", "" ],
 					"patching_rect" : [ 856.0, -12.0, 59.0, 20.0 ],
 					"id" : "obj-97",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Arial",
-					"outlettype" : [ "", "" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "textedit",
-					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/DiamondMatch2/\"",
-					"linecount" : 4,
-					"presentation_linecount" : 4,
+					"text" : "\"Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveIdiot1/\"",
+					"linecount" : 3,
+					"presentation_linecount" : 3,
+					"numoutlets" : 4,
+					"fontsize" : 11.595187,
+					"border" : 1.0,
+					"outlettype" : [ "", "int", "", "" ],
 					"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,
 					"id" : "obj-98",
+					"fontname" : "Arial",
 					"rounded" : 6.0,
-					"numinlets" : 1,
-					"numoutlets" : 4,
-					"fontname" : "Arial",
-					"outlettype" : [ "", "int", "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -669,32 +698,32 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "autopopulate 1",
+					"numoutlets" : 1,
 					"fontsize" : 11.595187,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 760.0, 10.0, 87.0, 18.0 ],
 					"id" : "obj-99",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Arial",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
-					"autopopulate" : 1,
+					"numoutlets" : 3,
+					"fontsize" : 11.595187,
+					"outlettype" : [ "int", "", "" ],
 					"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" : [  ],
-					"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,
 					"id" : "obj-100",
+					"autopopulate" : 1,
+					"fontname" : "Arial",
 					"numinlets" : 1,
-					"numoutlets" : 3,
-					"fontname" : "Arial",
-					"outlettype" : [ "int", "", "" ]
+					"prefix" : "Macintosh HD:/Users/andrew/Documents/work/programming/MadMax/AudioFiles/MultitrackMatch/LiveIdiot1/"
 				}
 
 			}
@@ -702,12 +731,12 @@
 				"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 ],
 					"id" : "obj-101",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Arial"
+					"fontname" : "Arial",
+					"numinlets" : 1
 				}
 
 			}
@@ -715,13 +744,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/stop",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 434.0, 587.0, 36.0, 17.0 ],
 					"id" : "obj-92",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -730,49 +759,49 @@
 					"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 ],
 					"id" : "obj-89",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"patching_rect" : [ 137.0, -131.0, 20.0, 20.0 ],
 					"id" : "obj-87",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "int", "bang" ],
 					"patching_rect" : [ 190.0, -114.0, 50.0, 19.0 ],
 					"id" : "obj-85",
-					"numinlets" : 1,
+					"fontname" : "Verdana",
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "number",
 					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "int", "bang" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "number",
 					"fontsize" : 10.0,
+					"outlettype" : [ "int", "bang" ],
 					"patching_rect" : [ 138.0, -79.0, 50.0, 19.0 ],
 					"id" : "obj-83",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -780,13 +809,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "i 0",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "int" ],
 					"patching_rect" : [ 138.0, -103.0, 32.5, 19.0 ],
 					"id" : "obj-79",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -794,13 +823,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "20",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 183.0, 399.0, 32.5, 17.0 ],
 					"id" : "obj-70",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -808,13 +837,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadbang",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "bang" ],
 					"patching_rect" : [ 102.0, 364.0, 56.0, 19.0 ],
 					"id" : "obj-61",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -822,25 +851,25 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "135",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 68.0, 398.0, 37.0, 17.0 ],
 					"id" : "obj-26",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "newobj",
+					"numoutlets" : 0,
 					"fontsize" : 10.0,
 					"patching_rect" : [ 88.0, 440.0, 100.0, 19.0 ],
 					"id" : "obj-9",
-					"numinlets" : 0,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 0
 				}
 
 			}
@@ -848,13 +877,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDuesVerse2/",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 693.0, -92.0, 436.0, 17.0 ],
 					"id" : "obj-7",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -862,13 +891,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "counter 0 0 5",
+					"numoutlets" : 4,
 					"fontsize" : 10.0,
+					"outlettype" : [ "int", "", "", "int" ],
 					"patching_rect" : [ 953.0, 63.0, 78.0, 19.0 ],
 					"id" : "obj-60",
-					"numinlets" : 5,
-					"numoutlets" : 4,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "", "", "int" ]
+					"numinlets" : 5
 				}
 
 			}
@@ -876,13 +905,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 353.0, 225.0, 68.0, 19.0 ],
 					"id" : "obj-1",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -890,12 +919,12 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "s startTime",
+					"numoutlets" : 0,
 					"fontsize" : 10.0,
 					"patching_rect" : [ 359.0, 699.0, 67.0, 19.0 ],
 					"id" : "obj-65",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -903,41 +932,41 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 715.0, 525.0, 68.0, 19.0 ],
 					"id" : "obj-64",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number~",
+					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"mode" : 2,
-					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "float" ],
+					"sig" : 0.0,
 					"patching_rect" : [ 133.0, 494.0, 56.0, 19.0 ],
 					"id" : "obj-62",
-					"numinlets" : 2,
+					"fontname" : "Verdana",
+					"numinlets" : 2
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "gain~",
 					"numoutlets" : 2,
-					"sig" : 0.0,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "float" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "gain~",
+					"outlettype" : [ "signal", "int" ],
 					"presentation_rect" : [ 141.0, 85.0, 20.0, 140.0 ],
 					"patching_rect" : [ 128.0, 531.0, 20.0, 140.0 ],
 					"presentation" : 1,
 					"id" : "obj-63",
-					"numinlets" : 2,
-					"numoutlets" : 2,
-					"outlettype" : [ "signal", "int" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -945,13 +974,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend open",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 695.0, 135.0, 80.0, 19.0 ],
 					"id" : "obj-59",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -959,28 +988,28 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-58",
-					"numinlets" : 2,
+					"fontname" : "Verdana",
+					"numinlets" : 2
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "toggle",
 					"numoutlets" : 1,
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "toggle",
-					"presentation_rect" : [ 141.0, 253.0, 20.0, 20.0 ],
+					"outlettype" : [ "int" ],
+					"presentation_rect" : [ 141.0, 256.0, 20.0, 20.0 ],
 					"patching_rect" : [ 835.0, 583.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"id" : "obj-39",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "int" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -988,13 +1017,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 846.0, 610.0, 33.0, 19.0 ],
 					"id" : "obj-40",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -1002,40 +1031,40 @@
 				"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 ],
 					"id" : "obj-42",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"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,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"numoutlets" : 3,
+					"fontsize" : 10.0,
+					"outlettype" : [ "int", "", "" ],
 					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"fontsize" : 10.0,
 					"patching_rect" : [ 823.0, 256.0, 100.0, 19.0 ],
 					"id" : "obj-46",
-					"numinlets" : 1,
-					"numoutlets" : 3,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -1043,13 +1072,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 823.0, 290.0, 52.0, 19.0 ],
 					"id" : "obj-47",
-					"numinlets" : 3,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 3
 				}
 
 			}
@@ -1057,13 +1086,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p aubioOnsetDeetection",
+					"numoutlets" : 4,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patching_rect" : [ 797.0, 207.0, 131.0, 19.0 ],
 					"id" : "obj-48",
+					"fontname" : "Verdana",
 					"numinlets" : 2,
-					"numoutlets" : 4,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 0.0, 0.0, 640.0, 480.0 ],
@@ -1087,12 +1116,12 @@
 								"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 ],
 									"id" : "obj-62",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
@@ -1100,12 +1129,12 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: minimum frequency in Hz",
+									"numoutlets" : 0,
 									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ],
 									"id" : "obj-64",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
@@ -1114,38 +1143,38 @@
 									"maxclass" : "comment",
 									"text" : "estimation quality factor",
 									"linecount" : 2,
+									"numoutlets" : 0,
 									"fontsize" : 9.0,
 									"patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ],
 									"id" : "obj-82",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ],
 									"id" : "obj-68",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ],
 									"presentation" : 1,
 									"id" : "obj-40",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1153,13 +1182,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/medianOnset",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ],
 									"id" : "obj-39",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -1167,13 +1196,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /medianAubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ],
 									"id" : "obj-37",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1181,13 +1210,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /rawAubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ],
 									"id" : "obj-5",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1196,25 +1225,25 @@
 									"maxclass" : "comment",
 									"text" : "raw detection function value",
 									"linecount" : 2,
+									"numoutlets" : 0,
 									"fontsize" : 10.0,
 									"patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ],
 									"id" : "obj-32",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ],
 									"id" : "obj-24",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1222,27 +1251,27 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "reset axis /mode ",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-23",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ],
 									"presentation" : 1,
 									"id" : "obj-2",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1250,13 +1279,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "hfc",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ],
 									"id" : "obj-34",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -1264,12 +1293,12 @@
 								"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 ],
 									"id" : "obj-33",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -1277,13 +1306,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /mode",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ],
 									"id" : "obj-31",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1291,31 +1320,31 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection mode",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-29",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "umenu",
+									"numoutlets" : 3,
+									"fontsize" : 10.0,
+									"outlettype" : [ "int", "", "" ],
 									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
 									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
 									"types" : [  ],
-									"fontsize" : 10.0,
 									"patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ],
 									"presentation" : 1,
 									"id" : "obj-15",
-									"numinlets" : 1,
-									"numoutlets" : 3,
 									"fontname" : "Verdana",
-									"outlettype" : [ "int", "", "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1324,12 +1353,12 @@
 									"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 ],
 									"id" : "obj-28",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -1338,23 +1367,23 @@
 									"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 ],
 									"id" : "obj-26",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "toggle",
+									"numoutlets" : 1,
+									"outlettype" : [ "int" ],
 									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
 									"id" : "obj-18",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "int" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1362,13 +1391,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "gate",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ],
 									"id" : "obj-13",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -1376,14 +1405,14 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection function as float",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-11",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -1391,13 +1420,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/onset",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ],
 									"id" : "obj-22",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -1405,13 +1434,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "energy",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ],
 									"id" : "obj-25",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -1419,13 +1448,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ],
 									"id" : "obj-21",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1433,12 +1462,12 @@
 								"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 ],
 									"id" : "obj-20",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -1446,13 +1475,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "float 0.",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float" ],
 									"patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ],
 									"id" : "obj-16",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -1460,27 +1489,27 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "print",
+									"numoutlets" : 0,
 									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ],
 									"id" : "obj-19",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
+									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"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,
 									"id" : "obj-17",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1488,44 +1517,44 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "threshold",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-6",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
+									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"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,
 									"id" : "obj-9",
+									"fontname" : "Verdana",
 									"numinlets" : 1,
-									"minimum" : 0.1,
-									"maximum" : 10.0,
-									"numoutlets" : 2,
-									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"minimum" : 0.1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ],
 									"presentation" : 1,
 									"id" : "obj-7",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -1533,36 +1562,36 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubioOnsetDetect~ 0.4",
+									"numoutlets" : 6,
 									"fontsize" : 10.0,
+									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ],
 									"patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ],
 									"id" : "obj-1",
-									"numinlets" : 1,
-									"numoutlets" : 6,
 									"fontname" : "Verdana",
-									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ]
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"numoutlets" : 1,
+									"outlettype" : [ "signal" ],
 									"patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-121",
 									"numinlets" : 0,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "inlet",
 									"numoutlets" : 1,
-									"outlettype" : [ "signal" ],
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "inlet",
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-122",
 									"numinlets" : 0,
-									"numoutlets" : 1,
-									"outlettype" : [ "" ],
 									"comment" : ""
 								}
 
@@ -1570,43 +1599,43 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"numoutlets" : 0,
 									"patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-123",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-124",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-125",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-126",
 									"numinlets" : 1,
-									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -1931,13 +1960,13 @@
 					}
 ,
 					"saved_object_attributes" : 					{
-						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
-						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"fontname" : "Arial"
+						"fontname" : "Arial",
+						"default_fontsize" : 12.0,
+						"globalpatchername" : ""
 					}
 
 				}
@@ -1947,12 +1976,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "snare channel",
+					"numoutlets" : 0,
 					"fontsize" : 10.0,
 					"patching_rect" : [ 824.0, 182.0, 150.0, 19.0 ],
 					"id" : "obj-49",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -1960,15 +1989,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-50",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -1976,15 +2005,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-51",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -1992,13 +2021,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "bang" ],
 					"patching_rect" : [ 796.0, 161.0, 48.0, 19.0 ],
 					"id" : "obj-52",
+					"fontname" : "Verdana",
 					"numinlets" : 2,
-					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -2006,27 +2035,27 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "/snare 2 39282",
+					"text" : "/snare 2 32840",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 924.0, 604.0, 130.0, 17.0 ],
 					"id" : "obj-53",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "int", "bang" ],
 					"patching_rect" : [ 823.0, 460.0, 60.0, 19.0 ],
 					"id" : "obj-54",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2034,13 +2063,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "- 0.",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float" ],
 					"patching_rect" : [ 823.0, 431.0, 32.5, 19.0 ],
 					"id" : "obj-55",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2048,13 +2077,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float" ],
 					"patching_rect" : [ 823.0, 399.0, 53.0, 19.0 ],
 					"id" : "obj-56",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2062,28 +2091,28 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/snare 2 $1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 858.0, 582.0, 69.0, 17.0 ],
 					"id" : "obj-57",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"numoutlets" : 3,
+					"fontsize" : 10.0,
+					"outlettype" : [ "int", "", "" ],
 					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"fontsize" : 10.0,
 					"patching_rect" : [ 164.0, 686.0, 100.0, 19.0 ],
 					"id" : "obj-35",
-					"numinlets" : 1,
-					"numoutlets" : 3,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2091,41 +2120,41 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 164.0, 720.0, 52.0, 19.0 ],
 					"id" : "obj-38",
-					"numinlets" : 3,
+					"fontname" : "Verdana",
+					"numinlets" : 3
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "message",
+					"text" : "/aubioPitch 1 0. 33049",
+					"linecount" : 2,
 					"numoutlets" : 1,
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "message",
-					"text" : "/aubioPitch 1 0. 39491",
-					"linecount" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 420.0, 613.0, 120.0, 29.0 ],
 					"id" : "obj-31",
-					"numinlets" : 2,
+					"fontname" : "Verdana",
+					"numinlets" : 2
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "toggle",
 					"numoutlets" : 1,
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "toggle",
+					"outlettype" : [ "int" ],
 					"presentation_rect" : [ 30.0, 256.0, 20.0, 20.0 ],
 					"patching_rect" : [ 385.0, 600.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"id" : "obj-22",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "int" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2133,13 +2162,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 385.0, 627.0, 33.0, 19.0 ],
 					"id" : "obj-24",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2147,53 +2176,53 @@
 				"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 ],
 					"id" : "obj-20",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"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,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
+					"numoutlets" : 2,
+					"fontsize" : 10.0,
+					"outlettype" : [ "int", "bang" ],
 					"presentation_rect" : [ 243.0, 34.0, 61.0, 19.0 ],
-					"fontsize" : 10.0,
 					"patching_rect" : [ 195.0, 33.0, 61.0, 19.0 ],
 					"presentation" : 1,
 					"id" : "obj-41",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
+					"numoutlets" : 1,
+					"outlettype" : [ "int" ],
 					"presentation_rect" : [ 81.0, 256.0, 20.0, 20.0 ],
 					"patching_rect" : [ 539.0, 580.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"id" : "obj-37",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "int" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2201,13 +2230,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 550.0, 607.0, 33.0, 19.0 ],
 					"id" : "obj-34",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2215,14 +2244,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "start",
+					"numoutlets" : 0,
+					"fontsize" : 10.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,
 					"id" : "obj-33",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -2230,40 +2259,40 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "stop",
+					"numoutlets" : 0,
+					"fontsize" : 10.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,
 					"id" : "obj-32",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"presentation_rect" : [ 155.0, 14.0, 45.0, 45.0 ],
 					"patching_rect" : [ 422.0, 10.0, 45.0, 45.0 ],
 					"presentation" : 1,
 					"id" : "obj-29",
-					"numinlets" : 1,
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "button",
 					"numoutlets" : 1,
-					"outlettype" : [ "bang" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "button",
+					"outlettype" : [ "bang" ],
 					"presentation_rect" : [ 93.0, 14.0, 45.0, 45.0 ],
 					"patching_rect" : [ 302.0, 9.0, 45.0, 45.0 ],
 					"presentation" : 1,
 					"id" : "obj-28",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2271,13 +2300,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p signal Info",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "", "int" ],
 					"patching_rect" : [ 35.61554, 5.19075, 246.38446, 19.0 ],
 					"id" : "obj-25",
+					"fontname" : "Verdana",
 					"numinlets" : 1,
-					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "", "int" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
@@ -2300,11 +2329,11 @@
 						"boxes" : [ 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"patching_rect" : [ 76.0, 60.0, 25.0, 25.0 ],
 									"id" : "obj-2",
 									"numinlets" : 0,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ],
 									"comment" : ""
 								}
 
@@ -2312,10 +2341,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"numoutlets" : 0,
 									"patching_rect" : [ 204.717804, 391.809265, 25.0, 25.0 ],
 									"id" : "obj-1",
 									"numinlets" : 1,
-									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -2323,30 +2352,30 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "number",
+									"numoutlets" : 2,
+									"triscale" : 0.9,
+									"fontsize" : 11.595187,
+									"outlettype" : [ "int", "bang" ],
 									"presentation_rect" : [ 45.0, 45.0, 50.0, 20.0 ],
+									"patching_rect" : [ 171.523865, 285.404633, 50.0, 20.0 ],
+									"id" : "obj-55",
+									"fontname" : "Arial",
+									"numinlets" : 1
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "number",
+									"numoutlets" : 2,
+									"triscale" : 0.9,
 									"fontsize" : 11.595187,
-									"patching_rect" : [ 171.523865, 285.404633, 50.0, 20.0 ],
-									"triscale" : 0.9,
-									"id" : "obj-55",
-									"numinlets" : 1,
-									"numoutlets" : 2,
+									"outlettype" : [ "int", "bang" ],
+									"presentation_rect" : [ 30.0, 30.0, 50.0, 20.0 ],
+									"patching_rect" : [ 175.523865, 212.445099, 50.0, 20.0 ],
+									"id" : "obj-54",
 									"fontname" : "Arial",
-									"outlettype" : [ "int", "bang" ]
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "number",
-									"presentation_rect" : [ 30.0, 30.0, 50.0, 20.0 ],
-									"fontsize" : 11.595187,
-									"patching_rect" : [ 175.523865, 212.445099, 50.0, 20.0 ],
-									"triscale" : 0.9,
-									"id" : "obj-54",
-									"numinlets" : 1,
-									"numoutlets" : 2,
-									"fontname" : "Arial",
-									"outlettype" : [ "int", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2354,13 +2383,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /ioVectorSize",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 151.38446, 309.809265, 122.0, 19.0 ],
 									"id" : "obj-53",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2368,13 +2397,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /signalVectorSize",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 154.38446, 239.809265, 142.0, 19.0 ],
 									"id" : "obj-52",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2382,13 +2411,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /samplingRate",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 98.38446, 155.809265, 128.0, 19.0 ],
 									"id" : "obj-51",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2396,28 +2425,28 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "adstatus iovs",
+									"numoutlets" : 2,
 									"fontsize" : 11.595187,
+									"outlettype" : [ "", "int" ],
 									"patching_rect" : [ 92.0, 285.404633, 78.0, 20.0 ],
 									"id" : "obj-38",
-									"numinlets" : 2,
+									"fontname" : "Arial",
+									"numinlets" : 2
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "number",
 									"numoutlets" : 2,
+									"triscale" : 0.9,
+									"fontsize" : 11.595187,
+									"outlettype" : [ "int", "bang" ],
+									"presentation_rect" : [ 15.0, 15.0, 50.0, 20.0 ],
+									"patching_rect" : [ 134.523865, 131.445099, 50.0, 20.0 ],
+									"id" : "obj-42",
 									"fontname" : "Arial",
-									"outlettype" : [ "", "int" ]
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "number",
-									"presentation_rect" : [ 15.0, 15.0, 50.0, 20.0 ],
-									"fontsize" : 11.595187,
-									"patching_rect" : [ 134.523865, 131.445099, 50.0, 20.0 ],
-									"triscale" : 0.9,
-									"id" : "obj-42",
-									"numinlets" : 1,
-									"numoutlets" : 2,
-									"fontname" : "Arial",
-									"outlettype" : [ "int", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2425,24 +2454,24 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "adstatus sigvs",
+									"numoutlets" : 2,
 									"fontsize" : 11.595187,
+									"outlettype" : [ "", "int" ],
 									"patching_rect" : [ 89.0, 213.406555, 84.0, 20.0 ],
 									"id" : "obj-45",
-									"numinlets" : 2,
-									"numoutlets" : 2,
 									"fontname" : "Arial",
-									"outlettype" : [ "", "int" ]
+									"numinlets" : 2
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"patching_rect" : [ 50.0, 104.192688, 20.0, 20.0 ],
 									"id" : "obj-49",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2450,13 +2479,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "adstatus sr",
+									"numoutlets" : 2,
 									"fontsize" : 11.595187,
+									"outlettype" : [ "", "int" ],
 									"patching_rect" : [ 50.0, 131.445099, 67.0, 20.0 ],
 									"id" : "obj-50",
-									"numinlets" : 2,
-									"numoutlets" : 2,
 									"fontname" : "Arial",
-									"outlettype" : [ "", "int" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -2464,22 +2493,22 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "report sampling rate choices",
+									"numoutlets" : 0,
 									"fontsize" : 11.595187,
 									"patching_rect" : [ 92.457458, 100.000015, 154.0, 20.0 ],
 									"id" : "obj-63",
-									"numinlets" : 1,
+									"fontname" : "Arial",
+									"numinlets" : 1
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"fontname" : "Arial"
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 129.717804, 388.809265, 25.0, 25.0 ],
 									"id" : "obj-24",
 									"numinlets" : 1,
-									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -2615,13 +2644,13 @@
 					}
 ,
 					"saved_object_attributes" : 					{
-						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
-						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"fontname" : "Arial"
+						"fontname" : "Arial",
+						"default_fontsize" : 12.0,
+						"globalpatchername" : ""
 					}
 
 				}
@@ -2630,13 +2659,13 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"presentation_rect" : [ 496.0, 78.0, 20.0, 20.0 ],
 					"patching_rect" : [ 953.0, 16.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"id" : "obj-21",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2644,13 +2673,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "uzi 5",
+					"numoutlets" : 3,
 					"fontsize" : 10.0,
+					"outlettype" : [ "bang", "bang", "int" ],
 					"patching_rect" : [ 953.0, 41.0, 46.0, 19.0 ],
 					"id" : "obj-19",
-					"numinlets" : 2,
-					"numoutlets" : 3,
 					"fontname" : "Verdana",
-					"outlettype" : [ "bang", "bang", "int" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2658,15 +2687,15 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend open",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-18",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2674,13 +2703,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend open",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 340.0, 131.0, 80.0, 19.0 ],
 					"id" : "obj-17",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2689,13 +2718,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,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 958.0, 133.0, 297.0, 41.0 ],
 					"id" : "obj-16",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2703,13 +2732,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "route 0 1 2",
+					"numoutlets" : 4,
 					"fontsize" : 10.0,
+					"outlettype" : [ "", "", "", "" ],
 					"patching_rect" : [ 343.0, 91.0, 67.0, 19.0 ],
 					"id" : "obj-13",
-					"numinlets" : 1,
-					"numoutlets" : 4,
 					"fontname" : "Verdana",
-					"outlettype" : [ "", "", "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2717,13 +2746,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "pack 0 s",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 369.0, 63.0, 52.0, 19.0 ],
 					"id" : "obj-11",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2731,13 +2760,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadbang",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "bang" ],
 					"patching_rect" : [ 825.0, -148.0, 56.0, 19.0 ],
 					"id" : "obj-6",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2745,13 +2774,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "autopopulate 1",
+					"numoutlets" : 1,
 					"fontsize" : 11.595187,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 810.0, -117.0, 87.0, 18.0 ],
 					"id" : "obj-5",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Arial",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2760,13 +2789,13 @@
 					"maxclass" : "message",
 					"text" : "prefix /Users/andrew/Documents/work/programming/MadMax/AudioFiles/LiveDues/",
 					"linecount" : 3,
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 1160.0, -117.0, 372.0, 41.0 ],
 					"id" : "obj-2",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -2774,81 +2803,81 @@
 				"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 ],
 					"id" : "obj-66",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float", "bang" ],
 					"patching_rect" : [ 320.0, 621.0, 50.0, 19.0 ],
 					"id" : "obj-154",
-					"numinlets" : 1,
+					"fontname" : "Verdana",
+					"numinlets" : 1
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "number~",
 					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "number~",
+					"fontsize" : 10.0,
 					"mode" : 2,
-					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "float" ],
+					"sig" : 0.0,
 					"patching_rect" : [ 69.0, 490.0, 56.0, 19.0 ],
 					"id" : "obj-152",
-					"numinlets" : 2,
+					"fontname" : "Verdana",
+					"numinlets" : 2
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "gain~",
 					"numoutlets" : 2,
-					"sig" : 0.0,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "float" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "gain~",
+					"outlettype" : [ "signal", "int" ],
 					"presentation_rect" : [ 82.0, 85.0, 20.0, 140.0 ],
 					"patching_rect" : [ 69.0, 537.0, 20.0, 140.0 ],
 					"presentation" : 1,
 					"id" : "obj-151",
-					"numinlets" : 2,
-					"numoutlets" : 2,
-					"outlettype" : [ "signal", "int" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"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,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"numoutlets" : 3,
+					"fontsize" : 10.0,
+					"outlettype" : [ "int", "", "" ],
 					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"fontsize" : 10.0,
 					"patching_rect" : [ 527.0, 253.0, 100.0, 19.0 ],
 					"id" : "obj-148",
-					"numinlets" : 1,
-					"numoutlets" : 3,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -2856,13 +2885,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 527.0, 287.0, 52.0, 19.0 ],
 					"id" : "obj-149",
-					"numinlets" : 3,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 3
 				}
 
 			}
@@ -2870,13 +2899,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p aubioOnsetDeetection",
+					"numoutlets" : 4,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patching_rect" : [ 501.0, 204.0, 131.0, 19.0 ],
 					"id" : "obj-141",
+					"fontname" : "Verdana",
 					"numinlets" : 2,
-					"numoutlets" : 4,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 0.0, 0.0, 640.0, 480.0 ],
@@ -2900,12 +2929,12 @@
 								"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 ],
 									"id" : "obj-62",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
@@ -2913,12 +2942,12 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: minimum frequency in Hz",
+									"numoutlets" : 0,
 									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ],
 									"id" : "obj-64",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
@@ -2927,38 +2956,38 @@
 									"maxclass" : "comment",
 									"text" : "estimation quality factor",
 									"linecount" : 2,
+									"numoutlets" : 0,
 									"fontsize" : 9.0,
 									"patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ],
 									"id" : "obj-82",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ],
 									"id" : "obj-68",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ],
 									"presentation" : 1,
 									"id" : "obj-40",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2966,13 +2995,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/medianOnset",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ],
 									"id" : "obj-39",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -2980,13 +3009,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /medianAubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ],
 									"id" : "obj-37",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -2994,13 +3023,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /rawAubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ],
 									"id" : "obj-5",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3009,25 +3038,25 @@
 									"maxclass" : "comment",
 									"text" : "raw detection function value",
 									"linecount" : 2,
+									"numoutlets" : 0,
 									"fontsize" : 10.0,
 									"patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ],
 									"id" : "obj-32",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ],
 									"id" : "obj-24",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3035,27 +3064,27 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "reset axis /mode ",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-23",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ],
 									"presentation" : 1,
 									"id" : "obj-2",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3063,13 +3092,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "hfc",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ],
 									"id" : "obj-34",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -3077,12 +3106,12 @@
 								"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 ],
 									"id" : "obj-33",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -3090,13 +3119,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /mode",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ],
 									"id" : "obj-31",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3104,31 +3133,31 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection mode",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-29",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "umenu",
+									"numoutlets" : 3,
+									"fontsize" : 10.0,
+									"outlettype" : [ "int", "", "" ],
 									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
 									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
 									"types" : [  ],
-									"fontsize" : 10.0,
 									"patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ],
 									"presentation" : 1,
 									"id" : "obj-15",
-									"numinlets" : 1,
-									"numoutlets" : 3,
 									"fontname" : "Verdana",
-									"outlettype" : [ "int", "", "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3137,12 +3166,12 @@
 									"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 ],
 									"id" : "obj-28",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -3151,23 +3180,23 @@
 									"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 ],
 									"id" : "obj-26",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "toggle",
+									"numoutlets" : 1,
+									"outlettype" : [ "int" ],
 									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
 									"id" : "obj-18",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "int" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3175,13 +3204,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "gate",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ],
 									"id" : "obj-13",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -3189,14 +3218,14 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection function as float",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-11",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -3204,13 +3233,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/onset",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ],
 									"id" : "obj-22",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -3218,13 +3247,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "energy",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ],
 									"id" : "obj-25",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -3232,13 +3261,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ],
 									"id" : "obj-21",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3246,12 +3275,12 @@
 								"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 ],
 									"id" : "obj-20",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -3259,13 +3288,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "float 0.",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float" ],
 									"patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ],
 									"id" : "obj-16",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -3273,27 +3302,27 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "print",
+									"numoutlets" : 0,
 									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ],
 									"id" : "obj-19",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
+									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"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,
 									"id" : "obj-17",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3301,44 +3330,44 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "threshold",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-6",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
+									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"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,
 									"id" : "obj-9",
+									"fontname" : "Verdana",
 									"numinlets" : 1,
-									"minimum" : 0.1,
-									"maximum" : 10.0,
-									"numoutlets" : 2,
-									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"minimum" : 0.1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ],
 									"presentation" : 1,
 									"id" : "obj-7",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3346,36 +3375,36 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubioOnsetDetect~ 0.4",
+									"numoutlets" : 6,
 									"fontsize" : 10.0,
+									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ],
 									"patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ],
 									"id" : "obj-1",
-									"numinlets" : 1,
-									"numoutlets" : 6,
 									"fontname" : "Verdana",
-									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ]
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"numoutlets" : 1,
+									"outlettype" : [ "signal" ],
 									"patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-121",
 									"numinlets" : 0,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "inlet",
 									"numoutlets" : 1,
-									"outlettype" : [ "signal" ],
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "inlet",
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-122",
 									"numinlets" : 0,
-									"numoutlets" : 1,
-									"outlettype" : [ "" ],
 									"comment" : ""
 								}
 
@@ -3383,43 +3412,43 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"numoutlets" : 0,
 									"patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-123",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-124",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-125",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-126",
 									"numinlets" : 1,
-									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3744,13 +3773,13 @@
 					}
 ,
 					"saved_object_attributes" : 					{
-						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
-						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"fontname" : "Arial"
+						"fontname" : "Arial",
+						"default_fontsize" : 12.0,
+						"globalpatchername" : ""
 					}
 
 				}
@@ -3760,12 +3789,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "soundfile load",
+					"numoutlets" : 0,
 					"fontsize" : 10.0,
 					"patching_rect" : [ 472.0, 104.0, 150.0, 19.0 ],
 					"id" : "obj-142",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -3773,15 +3802,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-143",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -3789,15 +3818,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-144",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -3805,15 +3834,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-145",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -3821,13 +3850,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "bang" ],
 					"patching_rect" : [ 500.0, 158.0, 48.0, 19.0 ],
 					"id" : "obj-146",
+					"fontname" : "Verdana",
 					"numinlets" : 2,
-					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -3836,13 +3865,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p pitchChannel_0",
+					"numoutlets" : 4,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float", "float", "", "float" ],
 					"patching_rect" : [ 320.0, 575.0, 98.0, 19.0 ],
 					"id" : "obj-140",
+					"fontname" : "Verdana",
 					"numinlets" : 3,
-					"numoutlets" : 4,
-					"fontname" : "Verdana",
-					"outlettype" : [ "float", "float", "", "float" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
@@ -3865,32 +3894,32 @@
 						"boxes" : [ 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"numoutlets" : 0,
 									"patching_rect" : [ 428.0, 417.0, 25.0, 25.0 ],
 									"id" : "obj-3",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 378.0, 416.0, 25.0, 25.0 ],
 									"id" : "obj-2",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 244.0, 417.0, 25.0, 25.0 ],
 									"id" : "obj-1",
 									"numinlets" : 1,
-									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -3898,13 +3927,13 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 224.0, 131.0, 50.0, 19.0 ],
 									"id" : "obj-47",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3912,13 +3941,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "- 0.",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float" ],
 									"patching_rect" : [ 273.0, 218.0, 32.5, 19.0 ],
 									"id" : "obj-88",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -3926,13 +3955,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "cpuclock",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float" ],
 									"patching_rect" : [ 326.0, 191.0, 53.0, 19.0 ],
 									"id" : "obj-87",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3940,25 +3969,25 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "sending osc of pitch",
+									"numoutlets" : 0,
 									"fontsize" : 10.0,
 									"patching_rect" : [ 293.0, 273.0, 150.0, 19.0 ],
 									"id" : "obj-86",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "number",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "int", "bang" ],
 									"patching_rect" : [ 273.0, 245.0, 72.0, 19.0 ],
 									"id" : "obj-83",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "int", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -3966,27 +3995,27 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioPitch 1",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 248.0, 304.0, 122.0, 19.0 ],
 									"id" : "obj-77",
-									"numinlets" : 1,
+									"fontname" : "Verdana",
+									"numinlets" : 1
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "message",
+									"text" : "0. 33049",
 									"numoutlets" : 1,
-									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "message",
-									"text" : "0. 39491",
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 50.0, 305.0, 187.0, 17.0 ],
 									"id" : "obj-65",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -3994,13 +4023,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "pack 0. 0",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 220.0, 270.0, 61.0, 19.0 ],
 									"id" : "obj-60",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4008,13 +4037,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "cpuclock",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float" ],
 									"patching_rect" : [ 273.0, 190.0, 53.0, 19.0 ],
 									"id" : "obj-59",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4022,26 +4051,26 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "delay 100",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "bang" ],
 									"patching_rect" : [ 127.0, 124.0, 60.0, 19.0 ],
 									"id" : "obj-58",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "bang" ]
+									"numinlets" : 2
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 220.0, 218.0, 50.0, 19.0 ],
 									"id" : "obj-57",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4049,13 +4078,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "f 0.",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float" ],
 									"patching_rect" : [ 260.0, 156.0, 32.5, 19.0 ],
 									"id" : "obj-48",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4063,48 +4092,48 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubiopitch~",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "signal", "float" ],
 									"patching_rect" : [ 221.0, 100.0, 71.0, 19.0 ],
 									"id" : "obj-44",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "signal", "float" ]
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 308.0, 45.0, 25.0, 25.0 ],
 									"id" : "obj-135",
 									"numinlets" : 0,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "inlet",
 									"numoutlets" : 1,
-									"outlettype" : [ "" ],
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "inlet",
+									"outlettype" : [ "signal" ],
 									"patching_rect" : [ 221.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-136",
 									"numinlets" : 0,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "inlet",
 									"numoutlets" : 1,
-									"outlettype" : [ "signal" ],
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "inlet",
+									"outlettype" : [ "bang" ],
 									"patching_rect" : [ 385.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-138",
 									"numinlets" : 0,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ],
 									"comment" : ""
 								}
 
@@ -4112,10 +4141,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"numoutlets" : 0,
 									"patching_rect" : [ 326.0, 413.0, 25.0, 25.0 ],
 									"id" : "obj-139",
 									"numinlets" : 1,
-									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -4296,13 +4325,13 @@
 					}
 ,
 					"saved_object_attributes" : 					{
-						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
-						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"fontname" : "Arial"
+						"fontname" : "Arial",
+						"default_fontsize" : 12.0,
+						"globalpatchername" : ""
 					}
 
 				}
@@ -4311,13 +4340,13 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"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,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -4325,13 +4354,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p aubioOnsetDeetection",
+					"numoutlets" : 4,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patching_rect" : [ 108.0, 206.0, 131.0, 19.0 ],
 					"id" : "obj-128",
+					"fontname" : "Verdana",
 					"numinlets" : 2,
-					"numoutlets" : 4,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "bang", "float", "bang" ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 0.0, 0.0, 640.0, 480.0 ],
@@ -4355,12 +4384,12 @@
 								"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 ],
 									"id" : "obj-62",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
@@ -4368,12 +4397,12 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "<number>: minimum frequency in Hz",
+									"numoutlets" : 0,
 									"fontsize" : 9.0,
 									"patching_rect" : [ 181.0, 156.0, 343.0, 17.0 ],
 									"id" : "obj-64",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
@@ -4382,38 +4411,38 @@
 									"maxclass" : "comment",
 									"text" : "estimation quality factor",
 									"linecount" : 2,
+									"numoutlets" : 0,
 									"fontsize" : 9.0,
 									"patching_rect" : [ 50.0, 287.0, 70.0, 27.0 ],
 									"id" : "obj-82",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Arial"
+									"fontname" : "Arial",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 647.0, 253.0, 50.0, 19.0 ],
 									"id" : "obj-68",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 359.0, 334.0, 47.0, 47.0 ],
 									"patching_rect" : [ 569.0, 218.0, 47.0, 47.0 ],
 									"presentation" : 1,
 									"id" : "obj-40",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4421,13 +4450,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/medianOnset",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 508.0, 373.0, 81.0, 17.0 ],
 									"id" : "obj-39",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4435,13 +4464,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /medianAubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 627.0, 214.0, 149.0, 19.0 ],
 									"id" : "obj-37",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4449,13 +4478,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /rawAubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 451.0, 281.0, 130.0, 19.0 ],
 									"id" : "obj-5",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4464,25 +4493,25 @@
 									"maxclass" : "comment",
 									"text" : "raw detection function value",
 									"linecount" : 2,
+									"numoutlets" : 0,
 									"fontsize" : 10.0,
 									"patching_rect" : [ 415.0, 208.0, 150.0, 31.0 ],
 									"id" : "obj-32",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"patching_rect" : [ 366.0, 209.0, 50.0, 19.0 ],
 									"id" : "obj-24",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4490,27 +4519,27 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "reset axis /mode ",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-23",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 127.0, 159.0, 20.0, 20.0 ],
 									"patching_rect" : [ 129.0, 100.0, 20.0, 20.0 ],
 									"presentation" : 1,
 									"id" : "obj-2",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4518,13 +4547,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "hfc",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 289.0, 116.0, 45.0, 17.0 ],
 									"id" : "obj-34",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4532,12 +4561,12 @@
 								"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 ],
 									"id" : "obj-33",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -4545,13 +4574,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /mode",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 171.0, 288.0, 88.0, 19.0 ],
 									"id" : "obj-31",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4559,31 +4588,31 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection mode",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-29",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "umenu",
+									"numoutlets" : 3,
+									"fontsize" : 10.0,
+									"outlettype" : [ "int", "", "" ],
 									"presentation_rect" : [ 127.0, 204.0, 100.0, 19.0 ],
 									"items" : [ "complex", ",", "energy", ",", "hfc", ",", "specdiff", ",", "phase", ",", "kl", ",", "mkl" ],
 									"types" : [  ],
-									"fontsize" : 10.0,
 									"patching_rect" : [ 129.0, 145.0, 100.0, 19.0 ],
 									"presentation" : 1,
 									"id" : "obj-15",
-									"numinlets" : 1,
-									"numoutlets" : 3,
 									"fontname" : "Verdana",
-									"outlettype" : [ "int", "", "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4592,12 +4621,12 @@
 									"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 ],
 									"id" : "obj-28",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -4606,23 +4635,23 @@
 									"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 ],
 									"id" : "obj-26",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "toggle",
+									"numoutlets" : 1,
+									"outlettype" : [ "int" ],
 									"patching_rect" : [ 221.0, 321.0, 20.0, 20.0 ],
 									"id" : "obj-18",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "int" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4630,13 +4659,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "gate",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 221.0, 364.0, 33.0, 19.0 ],
 									"id" : "obj-13",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4644,14 +4673,14 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "detection function as float",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-11",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -4659,13 +4688,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "/onset",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 287.0, 282.0, 43.0, 17.0 ],
 									"id" : "obj-22",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4673,13 +4702,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "energy",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 262.0, 142.0, 45.0, 17.0 ],
 									"id" : "obj-25",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4687,13 +4716,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "prepend /aubioData",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 336.0, 280.0, 111.0, 19.0 ],
 									"id" : "obj-21",
-									"numinlets" : 1,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4701,12 +4730,12 @@
 								"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 ],
 									"id" : "obj-20",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
@@ -4714,13 +4743,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "float 0.",
+									"numoutlets" : 1,
 									"fontsize" : 10.0,
+									"outlettype" : [ "float" ],
 									"patching_rect" : [ 235.0, 343.0, 46.0, 19.0 ],
 									"id" : "obj-16",
-									"numinlets" : 2,
-									"numoutlets" : 1,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float" ]
+									"numinlets" : 2
 								}
 
 							}
@@ -4728,27 +4757,27 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "print",
+									"numoutlets" : 0,
 									"fontsize" : 10.0,
 									"patching_rect" : [ 221.0, 386.0, 34.0, 19.0 ],
 									"id" : "obj-19",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
+									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"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,
 									"id" : "obj-17",
-									"numinlets" : 1,
-									"numoutlets" : 2,
 									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4756,44 +4785,44 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "threshold",
+									"numoutlets" : 0,
+									"fontsize" : 10.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,
 									"id" : "obj-6",
-									"numinlets" : 1,
-									"numoutlets" : 0,
-									"fontname" : "Verdana"
+									"fontname" : "Verdana",
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"numoutlets" : 2,
+									"fontsize" : 10.0,
+									"outlettype" : [ "float", "bang" ],
 									"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,
 									"id" : "obj-9",
+									"fontname" : "Verdana",
 									"numinlets" : 1,
-									"minimum" : 0.1,
-									"maximum" : 10.0,
-									"numoutlets" : 2,
-									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ]
+									"minimum" : 0.1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"presentation_rect" : [ 354.0, 247.0, 47.0, 47.0 ],
 									"patching_rect" : [ 287.0, 219.0, 47.0, 47.0 ],
 									"presentation" : 1,
 									"id" : "obj-7",
-									"numinlets" : 1,
-									"numoutlets" : 1,
-									"outlettype" : [ "bang" ]
+									"numinlets" : 1
 								}
 
 							}
@@ -4801,36 +4830,36 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "aubioOnsetDetect~ 0.4",
+									"numoutlets" : 6,
 									"fontsize" : 10.0,
+									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ],
 									"patching_rect" : [ 254.0, 182.0, 340.0, 19.0 ],
 									"id" : "obj-1",
-									"numinlets" : 1,
-									"numoutlets" : 6,
 									"fontname" : "Verdana",
-									"outlettype" : [ "signal", "bang", "float", "float", "bang", "float" ]
+									"numinlets" : 1
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"numoutlets" : 1,
+									"outlettype" : [ "signal" ],
 									"patching_rect" : [ 254.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-121",
 									"numinlets" : 0,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "inlet",
 									"numoutlets" : 1,
-									"outlettype" : [ "signal" ],
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "inlet",
+									"outlettype" : [ "" ],
 									"patching_rect" : [ 441.0, 40.0, 25.0, 25.0 ],
 									"id" : "obj-122",
 									"numinlets" : 0,
-									"numoutlets" : 1,
-									"outlettype" : [ "" ],
 									"comment" : ""
 								}
 
@@ -4838,43 +4867,43 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"numoutlets" : 0,
 									"patching_rect" : [ 254.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-123",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 287.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-124",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 382.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-125",
 									"numinlets" : 1,
+									"comment" : ""
+								}
+
+							}
+, 							{
+								"box" : 								{
+									"maxclass" : "outlet",
 									"numoutlets" : 0,
-									"comment" : ""
-								}
-
-							}
-, 							{
-								"box" : 								{
-									"maxclass" : "outlet",
 									"patching_rect" : [ 569.0, 478.0, 25.0, 25.0 ],
 									"id" : "obj-126",
 									"numinlets" : 1,
-									"numoutlets" : 0,
 									"comment" : ""
 								}
 
@@ -5199,13 +5228,13 @@
 					}
 ,
 					"saved_object_attributes" : 					{
-						"default_fontsize" : 12.0,
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
-						"globalpatchername" : "",
 						"default_fontname" : "Arial",
-						"fontname" : "Arial"
+						"fontname" : "Arial",
+						"default_fontsize" : 12.0,
+						"globalpatchername" : ""
 					}
 
 				}
@@ -5214,27 +5243,27 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "/kick 0 38795",
+					"text" : "/kick 0 32596",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 628.0, 601.0, 130.0, 17.0 ],
 					"id" : "obj-112",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "int", "bang" ],
 					"patching_rect" : [ 527.0, 457.0, 60.0, 19.0 ],
 					"id" : "obj-110",
-					"numinlets" : 1,
-					"numoutlets" : 2,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -5242,12 +5271,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "start button",
+					"numoutlets" : 0,
 					"fontsize" : 10.0,
 					"patching_rect" : [ 333.0, 436.0, 75.0, 19.0 ],
 					"id" : "obj-108",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -5255,13 +5284,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "- 0.",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float" ],
 					"patching_rect" : [ 527.0, 428.0, 32.5, 19.0 ],
 					"id" : "obj-105",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5269,13 +5298,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "float" ],
 					"patching_rect" : [ 527.0, 396.0, 53.0, 19.0 ],
 					"id" : "obj-104",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "float" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -5283,24 +5312,24 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/kick 0 $1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 562.0, 579.0, 61.0, 17.0 ],
 					"id" : "obj-103",
-					"numinlets" : 2,
+					"fontname" : "Verdana",
+					"numinlets" : 2
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"maxclass" : "button",
 					"numoutlets" : 1,
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
-				}
-
-			}
-, 			{
-				"box" : 				{
-					"maxclass" : "button",
+					"outlettype" : [ "bang" ],
 					"patching_rect" : [ 398.0, 437.0, 20.0, 20.0 ],
 					"id" : "obj-91",
-					"numinlets" : 1,
-					"numoutlets" : 1,
-					"outlettype" : [ "bang" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -5308,29 +5337,29 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "soundfile load",
+					"numoutlets" : 0,
 					"fontsize" : 10.0,
 					"patching_rect" : [ 79.0, 106.0, 150.0, 19.0 ],
 					"id" : "obj-81",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"numoutlets" : 3,
+					"fontsize" : 10.0,
+					"outlettype" : [ "int", "", "" ],
 					"presentation_rect" : [ 27.0, 309.0, 100.0, 19.0 ],
 					"items" : [ "click", "off", ",", "slope", "detect", ",", "threshold", "detect" ],
 					"types" : [  ],
-					"fontsize" : 10.0,
 					"patching_rect" : [ 360.0, 471.0, 100.0, 19.0 ],
 					"presentation" : 1,
 					"id" : "obj-80",
-					"numinlets" : 1,
-					"numoutlets" : 3,
 					"fontname" : "Verdana",
-					"outlettype" : [ "int", "", "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -5338,13 +5367,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch 2",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 360.0, 505.0, 52.0, 19.0 ],
 					"id" : "obj-78",
-					"numinlets" : 3,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 3
 				}
 
 			}
@@ -5352,13 +5381,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 80",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 271.0, 896.0, 74.0, 19.0 ],
 					"id" : "obj-127",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
@@ -5366,12 +5395,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "click sound to use",
+					"numoutlets" : 0,
 					"fontsize" : 10.0,
 					"patching_rect" : [ 204.0, 770.0, 108.0, 19.0 ],
 					"id" : "obj-113",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -5379,13 +5408,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 204.0, 825.0, 32.5, 17.0 ],
 					"id" : "obj-36",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5393,27 +5422,27 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess open cow2.wav",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 227.0, 795.0, 139.0, 19.0 ],
 					"id" : "obj-72",
-					"numinlets" : 1,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 1
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "gain~",
+					"numoutlets" : 2,
+					"outlettype" : [ "signal", "int" ],
 					"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,
 					"id" : "obj-73",
-					"numinlets" : 2,
-					"numoutlets" : 2,
-					"outlettype" : [ "signal", "int" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5421,13 +5450,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 237.0, 825.0, 35.0, 17.0 ],
 					"id" : "obj-74",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5435,13 +5464,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 273.0, 825.0, 32.5, 17.0 ],
 					"id" : "obj-75",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5449,13 +5478,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "bang" ],
 					"patching_rect" : [ 235.0, 856.0, 48.0, 19.0 ],
 					"id" : "obj-76",
+					"fontname" : "Verdana",
 					"numinlets" : 2,
-					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -5464,26 +5493,26 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "seek $1",
+					"numoutlets" : 1,
 					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"patching_rect" : [ 138.0, -55.0, 50.0, 17.0 ],
 					"id" : "obj-43",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "gain~",
+					"numoutlets" : 2,
+					"outlettype" : [ "signal", "int" ],
 					"presentation_rect" : [ 28.0, 85.0, 20.0, 140.0 ],
 					"patching_rect" : [ 15.0, 531.0, 20.0, 140.0 ],
 					"presentation" : 1,
 					"id" : "obj-27",
-					"numinlets" : 2,
-					"numoutlets" : 2,
-					"outlettype" : [ "signal", "int" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5492,12 +5521,12 @@
 					"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 ],
 					"id" : "obj-30",
-					"numinlets" : 1,
-					"numoutlets" : 0,
-					"fontname" : "Verdana"
+					"fontname" : "Verdana",
+					"numinlets" : 1
 				}
 
 			}
@@ -5505,15 +5534,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-14",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5521,15 +5550,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-12",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5537,15 +5566,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
+					"numoutlets" : 1,
+					"fontsize" : 10.0,
+					"outlettype" : [ "" ],
 					"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,
 					"id" : "obj-10",
-					"numinlets" : 2,
-					"numoutlets" : 1,
 					"fontname" : "Verdana",
-					"outlettype" : [ "" ]
+					"numinlets" : 2
 				}
 
 			}
@@ -5553,13 +5582,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~",
+					"numoutlets" : 2,
 					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "bang" ],
 					"patching_rect" : [ 107.0, 160.0, 48.0, 19.0 ],
 					"id" : "obj-8",
+					"fontname" : "Verdana",
 					"numinlets" : 2,
-					"numoutlets" : 2,
-					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "bang" ],
 					"save" : [ "#N", "sfplay~", "", 1, 120960, 0, "", ";" ]
 				}
 
@@ -5567,33 +5596,51 @@
 , 			{
 				"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,
 					"id" : "obj-4",
-					"numinlets" : 2,
-					"numoutlets" : 0
+					"numinlets" : 2
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number~",
+					"numoutlets" : 2,
+					"fontsize" : 10.0,
 					"mode" : 2,
-					"fontsize" : 10.0,
+					"outlettype" : [ "signal", "float" ],
+					"sig" : 0.0,
 					"patching_rect" : [ 5.0, 492.0, 56.0, 19.0 ],
 					"id" : "obj-3",
-					"numinlets" : 2,
-					"numoutlets" : 2,
-					"sig" : 0.0,
 					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "float" ]
+					"numinlets" : 2
 				}
 
 			}
  ],
 		"lines" : [ 			{
 				"patchline" : 				{
+					"source" : [ "obj-153", 0 ],
+					"destination" : [ "obj-66", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-139", 0 ],
+					"destination" : [ "obj-153", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
 					"source" : [ "obj-120", 0 ],
 					"destination" : [ "obj-138", 0 ],
 					"hidden" : 0,
--- a/src/AudioEventMatcher.cpp	Sun Feb 12 01:07:45 2012 +0000
+++ b/src/AudioEventMatcher.cpp	Sun Feb 12 22:25:14 2012 +0000
@@ -149,7 +149,7 @@
 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);
+	bayesianStruct.relativeSpeedPosterior.addGaussianShapeFromRealTime(1, 0.06, 0.8);
 }
 
 void AudioEventMatcher::stopPlaying(){
@@ -157,6 +157,13 @@
 	temporal.printEventTimes();
 }
 
+void AudioEventMatcher::rescue(){
+	bayesianStruct.posterior.zero();
+	bayesianStruct.posterior.addConstant(1);
+	bayesianStruct.prior.zero();
+	bayesianStruct.prior.addConstant(1);
+}
+
 void AudioEventMatcher::updatePosition(){
 	
 	if (startedPlaying){
--- a/src/AudioEventMatcher.h	Sun Feb 12 01:07:45 2012 +0000
+++ b/src/AudioEventMatcher.h	Sun Feb 12 22:25:14 2012 +0000
@@ -53,7 +53,7 @@
 	RecordedMultitrackAudio recordedTracks;
 	
 	void loadAudioFiles();
-	
+	void rescue();//flat prior
 	void windowResized(const int& w, const int& h);
 	
 	ofxWindowRegion bayesTempoWindow;
--- a/src/RecordedMultitrackAudio.cpp	Sun Feb 12 01:07:45 2012 +0000
+++ b/src/RecordedMultitrackAudio.cpp	Sun Feb 12 22:25:14 2012 +0000
@@ -17,14 +17,15 @@
 	const char	*bassfilename = "../../../data/sound/LiveDues/bass_upsideLive.wav";	
 	const char	*snarefilename = "../../../data/sound/LiveDues/snare_liveDues.wav";	
 */	
+/*
 	const char	*kickfilename = "../../../data/sound/DiamondMatch1/kick_bip.wav";	
 	const char	*bassfilename = "../../../data/sound/DiamondMatch1/bass_bip.wav";	
 	const char	*snarefilename = "../../../data/sound/DiamondMatch1/snare_bip.wav";	
-	
-/*	const char	*kickfilename = "../../../data/sound/LiveIdiot2/02kick_bip.wav";	
+*/	
+	const char	*kickfilename = "../../../data/sound/LiveIdiot2/02kick_bip.wav";	
 	const char	*bassfilename = "../../../data/sound/LiveIdiot2/01bass_bip.wav";	
 	const char	*snarefilename = "../../../data/sound/LiveIdiot2/03snare_bip.wav";	
-*/	
+	
 /*	const char	*kickfilename = "../../../data/sound/UistLive1/02kick_bip.wav";	
 	const char	*bassfilename = "../../../data/sound/UistLive1/01bass_bip.wav";	
 	const char	*snarefilename = "../../../data/sound/UistLive1/03snare_bip.wav";		
--- a/src/testApp.cpp	Sun Feb 12 01:07:45 2012 +0000
+++ b/src/testApp.cpp	Sun Feb 12 22:25:14 2012 +0000
@@ -97,6 +97,10 @@
 			eventMatcher.synchroniser.setPlayingRatio(ratio, time);
 		}
 		
+		if ( m.getAddress() == "/rescue" ){
+			printf("rescue!\n");
+			eventMatcher.rescue();
+		}
 	}
 }