changeset 20:7bb9ab04ee89

real-time and offline version working well
author Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk>
date Fri, 25 Nov 2011 16:52:33 +0000
parents 2e17f0fdeaef
children 11e3119ce6b4
files .DS_Store maxPatchToPlayFiles/playMidiTranscription3.maxpat src/midiEventHolder.cpp
diffstat 3 files changed, 1123 insertions(+), 1121 deletions(-) [+]
line wrap: on
line diff
Binary file .DS_Store has changed
--- a/maxPatchToPlayFiles/playMidiTranscription3.maxpat	Tue Nov 22 13:30:02 2011 +0000
+++ b/maxPatchToPlayFiles/playMidiTranscription3.maxpat	Fri Nov 25 16:52:33 2011 +0000
@@ -1,9 +1,9 @@
 {
 	"patcher" : 	{
 		"fileversion" : 1,
-		"rect" : [ 244.0, 44.0, 1089.0, 872.0 ],
+		"rect" : [ 810.0, 73.0, 1089.0, 872.0 ],
 		"bglocked" : 0,
-		"defrect" : [ 244.0, 44.0, 1089.0, 872.0 ],
+		"defrect" : [ 810.0, 73.0, 1089.0, 872.0 ],
 		"openrect" : [ 0.0, 0.0, 0.0, 0.0 ],
 		"openinpresentation" : 1,
 		"default_fontsize" : 10.0,
@@ -22,13 +22,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
+					"patching_rect" : [ 679.0, 320.0, 32.5, 17.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-41",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 679.0, 320.0, 32.5, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -36,28 +36,28 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 250",
+					"patching_rect" : [ 820.0, 337.0, 80.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-37",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 820.0, 337.0, 80.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "number",
+					"patching_rect" : [ 820.0, 360.0, 50.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 2,
+					"outlettype" : [ "int", "bang" ],
 					"presentation_rect" : [ 583.0, 228.0, 50.0, 19.0 ],
 					"id" : "obj-36",
-					"fontname" : "Verdana",
-					"outlettype" : [ "int", "bang" ],
-					"patching_rect" : [ 820.0, 360.0, 50.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -67,27 +67,27 @@
 					"text" : "iterate through notes when used offline",
 					"linecount" : 2,
 					"presentation_linecount" : 2,
+					"patching_rect" : [ 550.0, 207.0, 150.0, 31.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 550.0, 197.0, 150.0, 31.0 ],
 					"id" : "obj-34",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 550.0, 207.0, 150.0, 31.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
+					"patching_rect" : [ 768.0, 352.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "int" ],
 					"presentation_rect" : [ 523.0, 204.0, 20.0, 20.0 ],
-					"id" : "obj-11",
-					"outlettype" : [ "int" ],
-					"patching_rect" : [ 768.0, 352.0, 20.0, 20.0 ]
+					"id" : "obj-11"
 				}
 
 			}
@@ -95,30 +95,30 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "metro 250",
+					"patching_rect" : [ 769.0, 388.0, 63.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"presentation_rect" : [ 517.0, 230.0, 63.0, 19.0 ],
 					"id" : "obj-2",
-					"fontname" : "Verdana",
-					"outlettype" : [ "bang" ],
-					"patching_rect" : [ 769.0, 388.0, 63.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
+					"patching_rect" : [ 511.0, 249.0, 57.0, 21.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 12.0,
-					"numinlets" : 1,
 					"numoutlets" : 2,
+					"outlettype" : [ "float", "bang" ],
 					"presentation_rect" : [ 282.0, 62.0, 57.0, 21.0 ],
 					"id" : "obj-99",
-					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ],
-					"patching_rect" : [ 511.0, 249.0, 57.0, 21.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -126,13 +126,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/offline",
+					"patching_rect" : [ 783.0, 954.0, 46.0, 17.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-74",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 783.0, 954.0, 46.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -140,13 +140,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/realtime",
+					"patching_rect" : [ 714.0, 951.0, 56.0, 17.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-73",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 714.0, 951.0, 56.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -154,13 +154,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sel 1 2",
+					"patching_rect" : [ 699.0, 921.0, 46.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 3,
+					"outlettype" : [ "bang", "bang", "" ],
 					"id" : "obj-64",
-					"fontname" : "Verdana",
-					"outlettype" : [ "bang", "bang", "" ],
-					"patching_rect" : [ 699.0, 921.0, 46.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -168,14 +168,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "for offline",
+					"patching_rect" : [ 351.0, 174.0, 150.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 120.0, 86.0, 58.0, 19.0 ],
 					"id" : "obj-62",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 351.0, 174.0, 150.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -183,13 +183,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p ftmPlayer",
+					"patching_rect" : [ 45.0, 316.0, 476.0, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 2,
+					"outlettype" : [ "", "" ],
 					"id" : "obj-60",
 					"fontname" : "Verdana",
-					"outlettype" : [ "", "" ],
-					"patching_rect" : [ 45.0, 316.0, 476.0, 19.0 ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
@@ -212,11 +212,11 @@
 						"boxes" : [ 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"patching_rect" : [ 336.0, 56.0, 25.0, 25.0 ],
 									"numinlets" : 0,
 									"numoutlets" : 1,
+									"outlettype" : [ "float" ],
 									"id" : "obj-1",
-									"outlettype" : [ "float" ],
-									"patching_rect" : [ 336.0, 56.0, 25.0, 25.0 ],
 									"comment" : ""
 								}
 
@@ -225,14 +225,14 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "midi",
+									"patching_rect" : [ 131.0, 214.0, 150.0, 19.0 ],
 									"presentation" : 1,
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 0,
 									"presentation_rect" : [ 52.0, 420.0, 150.0, 19.0 ],
 									"id" : "obj-11",
-									"fontname" : "Verdana",
-									"patching_rect" : [ 131.0, 214.0, 150.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -240,13 +240,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "p otherFtmControls",
+									"patching_rect" : [ 50.0, 109.0, 108.0, 19.0 ],
+									"numinlets" : 0,
 									"fontsize" : 10.0,
-									"numinlets" : 0,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-115",
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 50.0, 109.0, 108.0, 19.0 ],
 									"patcher" : 									{
 										"fileversion" : 1,
 										"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
@@ -272,14 +272,14 @@
 													"text" : "ordinary file following (x) or else one shot test",
 													"linecount" : 2,
 													"presentation_linecount" : 2,
+													"patching_rect" : [ 87.0, 206.0, 153.0, 31.0 ],
 													"presentation" : 1,
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"presentation_rect" : [ 52.0, 186.0, 156.0, 31.0 ],
 													"id" : "obj-111",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 87.0, 206.0, 153.0, 31.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -287,33 +287,33 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "set speed",
+													"patching_rect" : [ 362.0, 263.0, 57.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-3",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 362.0, 263.0, 57.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "ftm.mess",
-													"#loadbang" : 0,
 													"#triggerall" : 0,
+													"patching_rect" : [ 216.0, 166.0, 92.157234, 17.0 ],
+													"#untuple" : 0,
+													"numinlets" : 2,
+													"text" : [ "_loop 500 1500 1." ],
 													"fontsize" : 10.0,
-													"#untuple" : 0,
-													"text" : [ "_loop 500 1500 1." ],
 													"ftm_scope" : 1,
-													"numinlets" : 2,
 													"numoutlets" : 1,
 													"#init" : "",
+													"outlettype" : [ "" ],
+													"#loadbang" : 0,
+													"ftm_objref_conv" : 0,
 													"presentation_rect" : [ 216.0, 166.0, 92.157234, 17.0 ],
 													"id" : "obj-4",
-													"fontname" : "Verdana",
-													"ftm_objref_conv" : 0,
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 216.0, 166.0, 92.157234, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -321,33 +321,33 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "set segment (begin, end and speed) and loop",
+													"patching_rect" : [ 306.0, 167.0, 240.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-5",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 306.0, 167.0, 240.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "ftm.mess",
-													"#loadbang" : 0,
 													"#triggerall" : 0,
+													"patching_rect" : [ 216.0, 146.0, 142.66507, 17.0 ],
+													"#untuple" : 0,
+													"numinlets" : 2,
+													"text" : [ "_play $play.seq 500 1500 1." ],
 													"fontsize" : 10.0,
-													"#untuple" : 0,
-													"text" : [ "_play $play.seq 500 1500 1." ],
 													"ftm_scope" : 0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
 													"#init" : "",
+													"outlettype" : [ "" ],
+													"#loadbang" : 0,
+													"ftm_objref_conv" : 0,
 													"presentation_rect" : [ 216.0, 146.0, 142.66507, 17.0 ],
 													"id" : "obj-6",
-													"fontname" : "Verdana",
-													"ftm_objref_conv" : 0,
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 216.0, 146.0, 142.66507, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -355,12 +355,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "set segment (track, begin, end and speed) and play",
+													"patching_rect" : [ 370.0, 147.0, 272.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-7",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 370.0, 147.0, 272.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -368,26 +368,26 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "advance to next time",
+													"patching_rect" : [ 88.0, 258.0, 115.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-8",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 88.0, 258.0, 115.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "slider",
+													"patching_rect" : [ 162.0, 238.0, 169.0, 15.0 ],
+													"numinlets" : 1,
 													"orientation" : 1,
-													"numinlets" : 1,
+													"numoutlets" : 1,
 													"size" : 1001.0,
-													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-9",
-													"outlettype" : [ "" ],
-													"mult" : 10.0,
-													"patching_rect" : [ 162.0, 238.0, 169.0, 15.0 ]
+													"mult" : 10.0
 												}
 
 											}
@@ -395,12 +395,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "locate or jump at given time",
+													"patching_rect" : [ 114.0, 121.0, 151.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-10",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 114.0, 121.0, 151.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -408,13 +408,13 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "next",
+													"patching_rect" : [ 50.0, 257.0, 33.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-11",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 50.0, 257.0, 33.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -422,13 +422,13 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "jump 300.",
+													"patching_rect" : [ 50.0, 119.0, 62.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-12",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 50.0, 119.0, 62.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -436,12 +436,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "set speed by giving a duration for the current segment",
+													"patching_rect" : [ 336.0, 281.0, 285.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-23",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 336.0, 281.0, 285.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -449,12 +449,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "set segment (only begin and end) and play straight",
+													"patching_rect" : [ 354.0, 120.0, 270.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-24",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 354.0, 120.0, 270.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -462,12 +462,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "play current segment",
+													"patching_rect" : [ 86.0, 147.0, 116.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-25",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 86.0, 147.0, 116.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -475,50 +475,50 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "speed 0.5",
+													"patching_rect" : [ 299.0, 262.0, 58.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-26",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 299.0, 262.0, 58.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "ftm.mess",
-													"#loadbang" : 0,
 													"#triggerall" : 0,
+													"patching_rect" : [ 274.0, 119.0, 78.998055, 17.0 ],
+													"#untuple" : 0,
+													"numinlets" : 2,
+													"text" : [ "_set 0 9999999" ],
 													"fontsize" : 10.0,
-													"#untuple" : 0,
-													"text" : [ "_set 0 9999999" ],
 													"ftm_scope" : 0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
 													"#init" : "",
+													"outlettype" : [ "" ],
+													"#loadbang" : 0,
+													"ftm_objref_conv" : 0,
 													"presentation_rect" : [ 274.0, 119.0, 78.998055, 17.0 ],
 													"id" : "obj-27",
-													"fontname" : "Verdana",
-													"ftm_objref_conv" : 0,
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 274.0, 119.0, 78.998055, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "flonum",
+													"patching_rect" : [ 104.0, 238.0, 56.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
 													"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
-													"numinlets" : 1,
+													"triscale" : 0.9,
+													"numoutlets" : 2,
 													"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
-													"numoutlets" : 2,
+													"outlettype" : [ "float", "bang" ],
 													"id" : "obj-28",
-													"fontname" : "Verdana",
-													"outlettype" : [ "float", "bang" ],
-													"triscale" : 0.9,
-													"patching_rect" : [ 104.0, 238.0, 56.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -526,13 +526,13 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "duration 1000",
+													"patching_rect" : [ 252.0, 281.0, 79.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-29",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 252.0, 281.0, 79.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -540,13 +540,13 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "speed 2.",
+													"patching_rect" : [ 252.0, 262.0, 52.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-30",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 252.0, 262.0, 52.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -554,13 +554,13 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "pause",
+													"patching_rect" : [ 50.0, 192.0, 40.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-31",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 50.0, 192.0, 40.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -568,13 +568,13 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "locate 300.",
+													"patching_rect" : [ 50.0, 100.0, 67.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-32",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 50.0, 100.0, 67.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -582,34 +582,34 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "sync $1",
+													"patching_rect" : [ 50.0, 238.0, 49.0, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-33",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 50.0, 238.0, 49.0, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "ftm.mess",
-													"#loadbang" : 0,
 													"#triggerall" : 0,
+													"patching_rect" : [ 274.0, 100.0, 136.952179, 17.0 ],
+													"#untuple" : 0,
+													"numinlets" : 2,
+													"text" : [ "_set $play.seq 500 1500 1." ],
 													"fontsize" : 10.0,
-													"#untuple" : 0,
-													"text" : [ "_set $play.seq 500 1500 1." ],
 													"ftm_scope" : 0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
 													"#init" : "",
+													"outlettype" : [ "" ],
+													"#loadbang" : 0,
+													"ftm_objref_conv" : 0,
 													"presentation_rect" : [ 274.0, 100.0, 136.952179, 17.0 ],
 													"id" : "obj-40",
-													"fontname" : "Verdana",
-													"ftm_objref_conv" : 0,
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 274.0, 100.0, 136.952179, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -617,24 +617,24 @@
 												"box" : 												{
 													"maxclass" : "message",
 													"text" : "loop",
+													"patching_rect" : [ 50.0, 165.0, 32.5, 17.0 ],
+													"numinlets" : 2,
 													"fontsize" : 10.0,
-													"numinlets" : 2,
 													"numoutlets" : 1,
+													"outlettype" : [ "" ],
 													"id" : "obj-41",
-													"fontname" : "Verdana",
-													"outlettype" : [ "" ],
-													"patching_rect" : [ 50.0, 165.0, 32.5, 17.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "button",
+													"patching_rect" : [ 50.0, 292.0, 15.0, 15.0 ],
 													"numinlets" : 1,
 													"numoutlets" : 1,
-													"id" : "obj-50",
 													"outlettype" : [ "bang" ],
-													"patching_rect" : [ 50.0, 292.0, 15.0, 15.0 ]
+													"id" : "obj-50"
 												}
 
 											}
@@ -642,12 +642,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "advance to gven time (output all events on the way)",
+													"patching_rect" : [ 326.0, 238.0, 274.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-54",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 326.0, 238.0, 274.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -655,12 +655,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "locate halted at given time",
+													"patching_rect" : [ 119.0, 101.0, 143.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-55",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 119.0, 101.0, 143.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -668,12 +668,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "loop current segment",
+													"patching_rect" : [ 85.0, 166.0, 116.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-57",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 85.0, 166.0, 116.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -681,12 +681,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "stop playing and reset",
+													"patching_rect" : [ 86.0, 212.0, 121.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-58",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 86.0, 212.0, 121.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -694,12 +694,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "halt playing",
+													"patching_rect" : [ 93.0, 193.0, 67.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-59",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 93.0, 193.0, 67.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -707,12 +707,12 @@
 												"box" : 												{
 													"maxclass" : "comment",
 													"text" : "play current segment straight",
+													"patching_rect" : [ 67.0, 292.0, 158.0, 19.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-60",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 67.0, 292.0, 158.0, 19.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
@@ -721,22 +721,22 @@
 													"maxclass" : "comment",
 													"text" : "note that setting a new track stops and resets the player (play and loop start from beginning)",
 													"linecount" : 2,
+													"patching_rect" : [ 277.0, 196.0, 266.0, 31.0 ],
+													"numinlets" : 1,
 													"fontsize" : 10.0,
-													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-62",
-													"fontname" : "Verdana",
-													"patching_rect" : [ 277.0, 196.0, 266.0, 31.0 ]
+													"fontname" : "Verdana"
 												}
 
 											}
 , 											{
 												"box" : 												{
 													"maxclass" : "outlet",
+													"patching_rect" : [ 147.357147, 371.0, 25.0, 25.0 ],
 													"numinlets" : 1,
 													"numoutlets" : 0,
 													"id" : "obj-114",
-													"patching_rect" : [ 147.357147, 371.0, 25.0, 25.0 ],
 													"comment" : ""
 												}
 
@@ -744,7 +744,124 @@
  ],
 										"lines" : [ 											{
 												"patchline" : 												{
-													"source" : [ "obj-26", 0 ],
+													"source" : [ "obj-9", 0 ],
+													"destination" : [ "obj-28", 0 ],
+													"hidden" : 1,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-28", 0 ],
+													"destination" : [ "obj-33", 0 ],
+													"hidden" : 1,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-32", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-12", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-41", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-31", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-33", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-11", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-50", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-6", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-4", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-30", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-29", 0 ],
+													"destination" : [ "obj-114", 0 ],
+													"hidden" : 0,
+													"midpoints" : [  ]
+												}
+
+											}
+, 											{
+												"patchline" : 												{
+													"source" : [ "obj-40", 0 ],
 													"destination" : [ "obj-114", 0 ],
 													"hidden" : 0,
 													"midpoints" : [  ]
@@ -762,141 +879,24 @@
 											}
 , 											{
 												"patchline" : 												{
-													"source" : [ "obj-40", 0 ],
+													"source" : [ "obj-26", 0 ],
 													"destination" : [ "obj-114", 0 ],
 													"hidden" : 0,
 													"midpoints" : [  ]
 												}
 
 											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-29", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-30", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-4", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-6", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-50", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-11", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-33", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-31", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-41", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-12", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-32", 0 ],
-													"destination" : [ "obj-114", 0 ],
-													"hidden" : 0,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-28", 0 ],
-													"destination" : [ "obj-33", 0 ],
-													"hidden" : 1,
-													"midpoints" : [  ]
-												}
-
-											}
-, 											{
-												"patchline" : 												{
-													"source" : [ "obj-9", 0 ],
-													"destination" : [ "obj-28", 0 ],
-													"hidden" : 1,
-													"midpoints" : [  ]
-												}
-
-											}
  ]
 									}
 ,
 									"saved_object_attributes" : 									{
+										"default_fontsize" : 12.0,
 										"globalpatchername" : "",
 										"fontface" : 0,
 										"fontsize" : 12.0,
 										"default_fontface" : 0,
 										"default_fontname" : "Arial",
-										"fontname" : "Arial",
-										"default_fontsize" : 12.0
+										"fontname" : "Arial"
 									}
 
 								}
@@ -906,12 +906,12 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "syntax:",
+									"patching_rect" : [ 358.0, 168.0, 46.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 0,
 									"id" : "obj-2",
-									"fontname" : "Verdana",
-									"patching_rect" : [ 358.0, 168.0, 46.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -920,12 +920,12 @@
 									"maxclass" : "comment",
 									"text" : "kill hanging notes when looping",
 									"hidden" : 1,
+									"patching_rect" : [ 291.0, 203.0, 168.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 0,
 									"id" : "obj-13",
-									"fontname" : "Verdana",
-									"patching_rect" : [ 291.0, 203.0, 168.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -933,12 +933,12 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "set segment end",
+									"patching_rect" : [ 433.0, 120.0, 93.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 0,
 									"id" : "obj-21",
-									"fontname" : "Verdana",
-									"patching_rect" : [ 433.0, 120.0, 93.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -947,41 +947,41 @@
 									"maxclass" : "newobj",
 									"text" : "change 0 -",
 									"hidden" : 1,
+									"patching_rect" : [ 128.0, 202.0, 62.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 3,
+									"outlettype" : [ "", "int", "int" ],
 									"id" : "obj-34",
-									"fontname" : "Verdana",
-									"outlettype" : [ "", "int", "int" ],
-									"patching_rect" : [ 128.0, 202.0, 62.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "slider",
+									"patching_rect" : [ 262.0, 120.0, 169.0, 15.0 ],
+									"numinlets" : 1,
 									"orientation" : 1,
-									"numinlets" : 1,
+									"numoutlets" : 1,
 									"size" : 1001.0,
-									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-35",
-									"outlettype" : [ "" ],
-									"mult" : 10.0,
-									"patching_rect" : [ 262.0, 120.0, 169.0, 15.0 ]
+									"mult" : 10.0
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "slider",
+									"patching_rect" : [ 187.0, 100.0, 169.0, 15.0 ],
+									"numinlets" : 1,
 									"orientation" : 1,
-									"numinlets" : 1,
+									"numoutlets" : 1,
 									"size" : 1001.0,
-									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-36",
-									"outlettype" : [ "" ],
-									"mult" : 10.0,
-									"patching_rect" : [ 187.0, 100.0, 169.0, 15.0 ]
+									"mult" : 10.0
 								}
 
 							}
@@ -989,15 +989,15 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "GM",
+									"patching_rect" : [ 203.0, 228.0, 32.5, 17.0 ],
 									"presentation" : 1,
+									"numinlets" : 2,
 									"fontsize" : 10.0,
-									"numinlets" : 2,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"presentation_rect" : [ 127.0, 442.0, 32.5, 17.0 ],
 									"id" : "obj-37",
-									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 203.0, 228.0, 32.5, 17.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -1005,15 +1005,15 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "panic",
+									"patching_rect" : [ 161.0, 228.0, 37.0, 17.0 ],
 									"presentation" : 1,
+									"numinlets" : 2,
 									"fontsize" : 10.0,
-									"numinlets" : 2,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"presentation_rect" : [ 85.0, 442.0, 37.0, 17.0 ],
 									"id" : "obj-38",
-									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 161.0, 228.0, 37.0, 17.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -1021,47 +1021,47 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "off",
+									"patching_rect" : [ 124.0, 228.0, 32.5, 17.0 ],
 									"presentation" : 1,
+									"numinlets" : 2,
 									"fontsize" : 10.0,
-									"numinlets" : 2,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"presentation_rect" : [ 48.0, 442.0, 32.5, 17.0 ],
 									"id" : "obj-39",
-									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 124.0, 228.0, 32.5, 17.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"patching_rect" : [ 262.0, 143.0, 55.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
 									"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
-									"numinlets" : 1,
+									"triscale" : 0.9,
+									"numoutlets" : 2,
 									"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
-									"numoutlets" : 2,
+									"outlettype" : [ "float", "bang" ],
 									"id" : "obj-42",
-									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ],
-									"triscale" : 0.9,
-									"patching_rect" : [ 262.0, 143.0, 55.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"patching_rect" : [ 187.0, 143.0, 55.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
 									"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
-									"numinlets" : 1,
+									"triscale" : 0.9,
+									"numoutlets" : 2,
 									"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
-									"numoutlets" : 2,
+									"outlettype" : [ "float", "bang" ],
 									"id" : "obj-43",
-									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ],
-									"triscale" : 0.9,
-									"patching_rect" : [ 187.0, 143.0, 55.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -1069,13 +1069,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "ftm.midiunparse",
+									"patching_rect" : [ 112.0, 249.0, 93.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-45",
 									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 112.0, 249.0, 93.0, 19.0 ],
 									"saved_object_attributes" : 									{
 										"ftm_scope" : 0,
 										"ftm_objref_conv" : 0
@@ -1087,27 +1087,27 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"patching_rect" : [ 337.0, 228.0, 15.0, 15.0 ],
 									"numinlets" : 1,
 									"numoutlets" : 1,
-									"id" : "obj-51",
 									"outlettype" : [ "bang" ],
-									"patching_rect" : [ 337.0, 228.0, 15.0, 15.0 ]
+									"id" : "obj-51"
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "flonum",
+									"patching_rect" : [ 215.0, 201.0, 55.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
 									"bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ],
-									"numinlets" : 1,
+									"triscale" : 0.9,
+									"numoutlets" : 2,
 									"htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ],
-									"numoutlets" : 2,
+									"outlettype" : [ "float", "bang" ],
 									"id" : "obj-52",
-									"fontname" : "Verdana",
-									"outlettype" : [ "float", "bang" ],
-									"triscale" : 0.9,
-									"patching_rect" : [ 215.0, 201.0, 55.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -1115,13 +1115,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "ftm.play $play.seq",
+									"patching_rect" : [ 112.0, 166.0, 244.0, 28.0 ],
+									"numinlets" : 4,
 									"fontsize" : 18.0,
-									"numinlets" : 4,
 									"numoutlets" : 3,
+									"outlettype" : [ "", "", "" ],
 									"id" : "obj-53",
 									"fontname" : "Verdana",
-									"outlettype" : [ "", "", "" ],
-									"patching_rect" : [ 112.0, 166.0, 244.0, 28.0 ],
 									"saved_object_attributes" : 									{
 										"ftm_scope" : 0,
 										"ftm_objref_conv" : 0
@@ -1134,23 +1134,23 @@
 								"box" : 								{
 									"maxclass" : "comment",
 									"text" : "set segment beginning",
+									"patching_rect" : [ 358.0, 100.0, 123.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 0,
 									"id" : "obj-61",
-									"fontname" : "Verdana",
-									"patching_rect" : [ 358.0, 100.0, 123.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"patching_rect" : [ 112.0, 40.0, 25.0, 25.0 ],
 									"numinlets" : 0,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-57",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 112.0, 40.0, 25.0, 25.0 ],
 									"comment" : ""
 								}
 
@@ -1158,10 +1158,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"patching_rect" : [ 112.0, 328.0, 25.0, 25.0 ],
 									"numinlets" : 1,
 									"numoutlets" : 0,
 									"id" : "obj-58",
-									"patching_rect" : [ 112.0, 328.0, 25.0, 25.0 ],
 									"comment" : ""
 								}
 
@@ -1169,10 +1169,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"patching_rect" : [ 224.0, 328.0, 25.0, 25.0 ],
 									"numinlets" : 1,
 									"numoutlets" : 0,
 									"id" : "obj-59",
-									"patching_rect" : [ 224.0, 328.0, 25.0, 25.0 ],
 									"comment" : ""
 								}
 
@@ -1180,8 +1180,8 @@
  ],
 						"lines" : [ 							{
 								"patchline" : 								{
-									"source" : [ "obj-53", 1 ],
-									"destination" : [ "obj-59", 0 ],
+									"source" : [ "obj-1", 0 ],
+									"destination" : [ "obj-53", 3 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
 								}
@@ -1189,16 +1189,7 @@
 							}
 , 							{
 								"patchline" : 								{
-									"source" : [ "obj-45", 0 ],
-									"destination" : [ "obj-58", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-57", 0 ],
+									"source" : [ "obj-115", 0 ],
 									"destination" : [ "obj-53", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
@@ -1207,88 +1198,7 @@
 							}
 , 							{
 								"patchline" : 								{
-									"source" : [ "obj-53", 2 ],
-									"destination" : [ "obj-51", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-42", 0 ],
-									"destination" : [ "obj-53", 2 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-35", 0 ],
-									"destination" : [ "obj-42", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-53", 1 ],
-									"destination" : [ "obj-52", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-43", 0 ],
-									"destination" : [ "obj-53", 1 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-36", 0 ],
-									"destination" : [ "obj-43", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-34", 0 ],
-									"destination" : [ "obj-39", 0 ],
-									"hidden" : 1,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-52", 0 ],
-									"destination" : [ "obj-34", 0 ],
-									"hidden" : 1,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-53", 0 ],
-									"destination" : [ "obj-45", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-39", 0 ],
+									"source" : [ "obj-37", 0 ],
 									"destination" : [ "obj-45", 0 ],
 									"hidden" : 1,
 									"midpoints" : [  ]
@@ -1306,7 +1216,7 @@
 							}
 , 							{
 								"patchline" : 								{
-									"source" : [ "obj-37", 0 ],
+									"source" : [ "obj-39", 0 ],
 									"destination" : [ "obj-45", 0 ],
 									"hidden" : 1,
 									"midpoints" : [  ]
@@ -1315,7 +1225,88 @@
 							}
 , 							{
 								"patchline" : 								{
-									"source" : [ "obj-115", 0 ],
+									"source" : [ "obj-53", 0 ],
+									"destination" : [ "obj-45", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-52", 0 ],
+									"destination" : [ "obj-34", 0 ],
+									"hidden" : 1,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-34", 0 ],
+									"destination" : [ "obj-39", 0 ],
+									"hidden" : 1,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-36", 0 ],
+									"destination" : [ "obj-43", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-43", 0 ],
+									"destination" : [ "obj-53", 1 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-53", 1 ],
+									"destination" : [ "obj-52", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-35", 0 ],
+									"destination" : [ "obj-42", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-42", 0 ],
+									"destination" : [ "obj-53", 2 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-53", 2 ],
+									"destination" : [ "obj-51", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-57", 0 ],
 									"destination" : [ "obj-53", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
@@ -1324,8 +1315,17 @@
 							}
 , 							{
 								"patchline" : 								{
-									"source" : [ "obj-1", 0 ],
-									"destination" : [ "obj-53", 3 ],
+									"source" : [ "obj-45", 0 ],
+									"destination" : [ "obj-58", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-53", 1 ],
+									"destination" : [ "obj-59", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
 								}
@@ -1335,13 +1335,13 @@
 					}
 ,
 					"saved_object_attributes" : 					{
+						"default_fontsize" : 12.0,
 						"globalpatchername" : "",
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
 						"default_fontname" : "Arial",
-						"fontname" : "Arial",
-						"default_fontsize" : 12.0
+						"fontname" : "Arial"
 					}
 
 				}
@@ -1351,15 +1351,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "pause",
+					"patching_rect" : [ 226.0, 269.0, 40.0, 17.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"presentation_rect" : [ 62.0, 86.0, 51.0, 17.0 ],
 					"id" : "obj-55",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 226.0, 269.0, 40.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1367,12 +1367,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "hear MIDI playing",
+					"patching_rect" : [ -10.0, 351.0, 150.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"id" : "obj-54",
-					"fontname" : "Verdana",
-					"patching_rect" : [ -10.0, 351.0, 150.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1380,13 +1380,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "p weirdStarter",
+					"patching_rect" : [ 240.0, 618.0, 83.0, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "bang" ],
 					"id" : "obj-48",
 					"fontname" : "Verdana",
-					"outlettype" : [ "bang" ],
-					"patching_rect" : [ 240.0, 618.0, 83.0, 19.0 ],
 					"patcher" : 					{
 						"fileversion" : 1,
 						"rect" : [ 25.0, 69.0, 640.0, 480.0 ],
@@ -1409,22 +1409,22 @@
 						"boxes" : [ 							{
 								"box" : 								{
 									"maxclass" : "toggle",
+									"patching_rect" : [ 94.0, 159.0, 20.0, 20.0 ],
 									"numinlets" : 1,
 									"numoutlets" : 1,
-									"id" : "obj-132",
 									"outlettype" : [ "int" ],
-									"patching_rect" : [ 94.0, 159.0, 20.0, 20.0 ]
+									"id" : "obj-132"
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "button",
+									"patching_rect" : [ 95.0, 217.0, 20.0, 20.0 ],
 									"numinlets" : 1,
 									"numoutlets" : 1,
-									"id" : "obj-130",
 									"outlettype" : [ "bang" ],
-									"patching_rect" : [ 95.0, 217.0, 20.0, 20.0 ]
+									"id" : "obj-130"
 								}
 
 							}
@@ -1432,13 +1432,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "0",
+									"patching_rect" : [ 92.0, 239.0, 32.5, 17.0 ],
+									"numinlets" : 2,
 									"fontsize" : 10.0,
-									"numinlets" : 2,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-128",
-									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 92.0, 239.0, 32.5, 17.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -1446,13 +1446,13 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "gate",
+									"patching_rect" : [ 92.0, 192.0, 33.0, 19.0 ],
+									"numinlets" : 2,
 									"fontsize" : 10.0,
-									"numinlets" : 2,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-126",
-									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 92.0, 192.0, 33.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -1460,13 +1460,13 @@
 								"box" : 								{
 									"maxclass" : "message",
 									"text" : "1",
+									"patching_rect" : [ 65.0, 136.0, 32.5, 17.0 ],
+									"numinlets" : 2,
 									"fontsize" : 10.0,
-									"numinlets" : 2,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-125",
-									"fontname" : "Verdana",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 65.0, 136.0, 32.5, 17.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
@@ -1474,24 +1474,24 @@
 								"box" : 								{
 									"maxclass" : "newobj",
 									"text" : "loadbang",
+									"patching_rect" : [ 50.0, 100.0, 56.0, 19.0 ],
+									"numinlets" : 1,
 									"fontsize" : 10.0,
-									"numinlets" : 1,
 									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"id" : "obj-123",
-									"fontname" : "Verdana",
-									"outlettype" : [ "bang" ],
-									"patching_rect" : [ 50.0, 100.0, 56.0, 19.0 ]
+									"fontname" : "Verdana"
 								}
 
 							}
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"patching_rect" : [ 65.0, 40.0, 25.0, 25.0 ],
 									"numinlets" : 0,
 									"numoutlets" : 1,
+									"outlettype" : [ "bang" ],
 									"id" : "obj-40",
-									"outlettype" : [ "bang" ],
-									"patching_rect" : [ 65.0, 40.0, 25.0, 25.0 ],
 									"comment" : ""
 								}
 
@@ -1499,11 +1499,11 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "inlet",
+									"patching_rect" : [ 106.0, 40.0, 25.0, 25.0 ],
 									"numinlets" : 0,
 									"numoutlets" : 1,
+									"outlettype" : [ "" ],
 									"id" : "obj-41",
-									"outlettype" : [ "" ],
-									"patching_rect" : [ 106.0, 40.0, 25.0, 25.0 ],
 									"comment" : ""
 								}
 
@@ -1511,10 +1511,10 @@
 , 							{
 								"box" : 								{
 									"maxclass" : "outlet",
+									"patching_rect" : [ 95.0, 331.5, 25.0, 25.0 ],
 									"numinlets" : 1,
 									"numoutlets" : 0,
 									"id" : "obj-47",
-									"patching_rect" : [ 95.0, 331.5, 25.0, 25.0 ],
 									"comment" : ""
 								}
 
@@ -1522,8 +1522,62 @@
  ],
 						"lines" : [ 							{
 								"patchline" : 								{
+									"source" : [ "obj-125", 0 ],
+									"destination" : [ "obj-132", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-128", 0 ],
+									"destination" : [ "obj-132", 0 ],
+									"hidden" : 0,
+									"midpoints" : [ 101.5, 253.0, 101.5, 264.0, 83.0, 264.0, 83.0, 155.0, 103.5, 155.0 ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
 									"source" : [ "obj-130", 0 ],
-									"destination" : [ "obj-47", 0 ],
+									"destination" : [ "obj-128", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-126", 0 ],
+									"destination" : [ "obj-130", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-132", 0 ],
+									"destination" : [ "obj-126", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-123", 0 ],
+									"destination" : [ "obj-125", 0 ],
+									"hidden" : 0,
+									"midpoints" : [  ]
+								}
+
+							}
+, 							{
+								"patchline" : 								{
+									"source" : [ "obj-40", 0 ],
+									"destination" : [ "obj-125", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
 								}
@@ -1540,62 +1594,8 @@
 							}
 , 							{
 								"patchline" : 								{
-									"source" : [ "obj-40", 0 ],
-									"destination" : [ "obj-125", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-123", 0 ],
-									"destination" : [ "obj-125", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-132", 0 ],
-									"destination" : [ "obj-126", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-126", 0 ],
-									"destination" : [ "obj-130", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
 									"source" : [ "obj-130", 0 ],
-									"destination" : [ "obj-128", 0 ],
-									"hidden" : 0,
-									"midpoints" : [  ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-128", 0 ],
-									"destination" : [ "obj-132", 0 ],
-									"hidden" : 0,
-									"midpoints" : [ 101.5, 253.0, 101.5, 264.0, 83.0, 264.0, 83.0, 155.0, 103.5, 155.0 ]
-								}
-
-							}
-, 							{
-								"patchline" : 								{
-									"source" : [ "obj-125", 0 ],
-									"destination" : [ "obj-132", 0 ],
+									"destination" : [ "obj-47", 0 ],
 									"hidden" : 0,
 									"midpoints" : [  ]
 								}
@@ -1605,13 +1605,13 @@
 					}
 ,
 					"saved_object_attributes" : 					{
+						"default_fontsize" : 12.0,
 						"globalpatchername" : "",
 						"fontface" : 0,
 						"fontsize" : 12.0,
 						"default_fontface" : 0,
 						"default_fontname" : "Arial",
-						"fontname" : "Arial",
-						"default_fontsize" : 12.0
+						"fontname" : "Arial"
 					}
 
 				}
@@ -1621,30 +1621,30 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
+					"patching_rect" : [ 415.0, 762.0, 68.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-33",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 415.0, 762.0, 68.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "umenu",
+					"types" : [  ],
+					"patching_rect" : [ 418.0, 792.0, 100.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
 					"items" : [ "off", ",", "realtime", ",", "offline" ],
-					"numinlets" : 1,
 					"numoutlets" : 3,
+					"outlettype" : [ "int", "", "" ],
 					"presentation_rect" : [ 232.0, 138.0, 100.0, 19.0 ],
 					"id" : "obj-32",
-					"fontname" : "Verdana",
-					"outlettype" : [ "int", "", "" ],
-					"types" : [  ],
-					"patching_rect" : [ 418.0, 792.0, 100.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1652,13 +1652,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "switch",
+					"patching_rect" : [ 426.0, 856.0, 46.0, 19.0 ],
+					"numinlets" : 3,
 					"fontsize" : 10.0,
-					"numinlets" : 3,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-31",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 426.0, 856.0, 46.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1666,29 +1666,29 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
+					"patching_rect" : [ 87.0, 845.0, 33.0, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-30",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 87.0, 845.0, 33.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "77 0 7363.161621",
+					"text" : "75 100 0.386527",
+					"patching_rect" : [ 422.0, 937.0, 201.0, 17.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"presentation_rect" : [ 32.0, 199.0, 201.0, 17.0 ],
 					"id" : "obj-29",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 422.0, 937.0, 201.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1696,13 +1696,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend set",
+					"patching_rect" : [ 495.0, 697.0, 70.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-27",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 495.0, 697.0, 70.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1710,13 +1710,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "append",
+					"patching_rect" : [ 495.0, 725.0, 47.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-26",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 495.0, 725.0, 47.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1724,15 +1724,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "next",
+					"patching_rect" : [ 182.0, 268.0, 33.0, 17.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
-					"presentation_rect" : [ 23.0, 86.0, 33.0, 17.0 ],
+					"outlettype" : [ "" ],
+					"presentation_rect" : [ 22.0, 86.0, 33.0, 17.0 ],
 					"id" : "obj-25",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 182.0, 268.0, 33.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1740,14 +1740,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "speed",
+					"patching_rect" : [ 269.0, 68.0, 150.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 245.0, 62.0, 150.0, 19.0 ],
 					"id" : "obj-9",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 269.0, 68.0, 150.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1755,14 +1755,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "MIDI representation",
+					"patching_rect" : [ 1141.0, 862.0, 150.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 16.0, -3.0, 150.0, 19.0 ],
 					"id" : "obj-24",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 1141.0, 862.0, 150.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1770,14 +1770,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "audio",
+					"patching_rect" : [ 1126.0, 847.0, 150.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 14.0, 119.0, 150.0, 19.0 ],
 					"id" : "obj-23",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 1126.0, 847.0, 150.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1785,14 +1785,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "send notes",
+					"patching_rect" : [ 1243.0, 894.0, 150.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 149.0, 169.0, 67.0, 19.0 ],
 					"id" : "obj-10",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 1243.0, 894.0, 150.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1800,13 +1800,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
+					"patching_rect" : [ 21.0, 762.0, 68.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-3",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 21.0, 762.0, 68.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1815,14 +1815,14 @@
 					"maxclass" : "comment",
 					"text" : "midi playing on/off",
 					"presentation_linecount" : 2,
+					"patching_rect" : [ 712.0, 190.0, 150.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 215.0, 84.0, 73.0, 31.0 ],
 					"id" : "obj-8",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 712.0, 190.0, 150.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1832,27 +1832,27 @@
 					"text" : "plays midi and accompanying audio too",
 					"linecount" : 2,
 					"presentation_linecount" : 2,
+					"patching_rect" : [ 906.0, 904.0, 150.0, 31.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 337.0, 464.0, 150.0, 31.0 ],
 					"id" : "obj-6",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 906.0, 904.0, 150.0, 31.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
+					"patching_rect" : [ -33.0, 356.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "int" ],
 					"presentation_rect" : [ 188.0, 84.0, 20.0, 20.0 ],
-					"id" : "obj-4",
-					"outlettype" : [ "int" ],
-					"patching_rect" : [ -33.0, 356.0, 20.0, 20.0 ]
+					"id" : "obj-4"
 				}
 
 			}
@@ -1860,13 +1860,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "gate",
+					"patching_rect" : [ -15.0, 373.0, 33.0, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-1",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ -15.0, 373.0, 33.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1874,13 +1874,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "loadmess 1",
+					"patching_rect" : [ -28.0, 861.0, 68.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-138",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ -28.0, 861.0, 68.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1888,42 +1888,42 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend /setSpeedPrior",
+					"patching_rect" : [ -29.0, 923.0, 129.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"presentation_rect" : [ 128.0, 383.0, 129.0, 19.0 ],
 					"id" : "obj-137",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ -29.0, 923.0, 129.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "flonum",
+					"patching_rect" : [ -29.0, 884.0, 50.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
+					"fontsize" : 10.0,
+					"numoutlets" : 2,
 					"minimum" : 0.0,
-					"fontsize" : 10.0,
-					"numinlets" : 1,
-					"numoutlets" : 2,
+					"outlettype" : [ "float", "bang" ],
 					"presentation_rect" : [ 133.0, 351.0, 50.0, 19.0 ],
 					"id" : "obj-136",
-					"fontname" : "Verdana",
-					"outlettype" : [ "float", "bang" ],
-					"patching_rect" : [ -29.0, 884.0, 50.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"patching_rect" : [ 204.0, 687.0, 20.0, 20.0 ],
 					"numinlets" : 1,
 					"numoutlets" : 1,
-					"id" : "obj-134",
 					"outlettype" : [ "bang" ],
-					"patching_rect" : [ 204.0, 687.0, 20.0, 20.0 ]
+					"id" : "obj-134"
 				}
 
 			}
@@ -1931,15 +1931,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "open",
+					"patching_rect" : [ 320.0, 23.0, 35.0, 17.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
-					"presentation_rect" : [ 65.0, 173.0, 35.0, 17.0 ],
+					"outlettype" : [ "" ],
+					"presentation_rect" : [ 58.0, 170.0, 35.0, 17.0 ],
 					"id" : "obj-113",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 320.0, 23.0, 35.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1947,13 +1947,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "0",
+					"patching_rect" : [ 281.0, 23.0, 32.5, 17.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-110",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 281.0, 23.0, 32.5, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1961,15 +1961,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "1",
+					"patching_rect" : [ 240.0, 23.0, 32.5, 17.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
-					"presentation_rect" : [ 26.0, 173.0, 32.5, 17.0 ],
+					"outlettype" : [ "" ],
+					"presentation_rect" : [ 19.0, 172.0, 32.5, 17.0 ],
 					"id" : "obj-105",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 240.0, 23.0, 32.5, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -1977,13 +1977,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "sfplay~ 2",
+					"patching_rect" : [ 230.0, 46.0, 58.0, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 3,
+					"outlettype" : [ "signal", "signal", "bang" ],
 					"id" : "obj-65",
 					"fontname" : "Verdana",
-					"outlettype" : [ "signal", "signal", "bang" ],
-					"patching_rect" : [ 230.0, 46.0, 58.0, 19.0 ],
 					"save" : [ "#N", "sfplay~", "", 2, 120960, 0, "", ";" ]
 				}
 
@@ -1991,13 +1991,13 @@
 , 			{
 				"box" : 				{
 					"maxclass" : "toggle",
+					"patching_rect" : [ 74.0, 790.0, 20.0, 20.0 ],
 					"presentation" : 1,
 					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "int" ],
 					"presentation_rect" : [ 126.0, 169.0, 20.0, 20.0 ],
-					"id" : "obj-109",
-					"outlettype" : [ "int" ],
-					"patching_rect" : [ 74.0, 790.0, 20.0, 20.0 ]
+					"id" : "obj-109"
 				}
 
 			}
@@ -2005,13 +2005,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "zl slice 1",
+					"patching_rect" : [ 51.0, 608.0, 54.0, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 2,
+					"outlettype" : [ "", "" ],
 					"id" : "obj-82",
-					"fontname" : "Verdana",
-					"outlettype" : [ "", "" ],
-					"patching_rect" : [ 51.0, 608.0, 54.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2019,13 +2019,13 @@
 				"box" : 				{
 					"maxclass" : "ezdac~",
 					"varname" : "autohelp_dac",
+					"patching_rect" : [ 229.0, 91.0, 45.0, 45.0 ],
 					"presentation" : 1,
 					"numinlets" : 2,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 186.0, 14.0, 45.0, 45.0 ],
 					"id" : "obj-94",
-					"local" : 1,
-					"patching_rect" : [ 229.0, 91.0, 45.0, 45.0 ]
+					"local" : 1
 				}
 
 			}
@@ -2033,15 +2033,15 @@
 				"box" : 				{
 					"maxclass" : "panel",
 					"varname" : "startwinwdow_panel",
+					"patching_rect" : [ 1093.0, 826.0, 100.0, 55.0 ],
+					"border" : 2,
 					"presentation" : 1,
-					"border" : 2,
+					"numinlets" : 1,
+					"bordercolor" : [ 0.392157, 0.792157, 0.117647, 1.0 ],
 					"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
-					"numinlets" : 1,
 					"numoutlets" : 0,
-					"presentation_rect" : [ 15.0, 136.0, 205.0, 57.0 ],
-					"bordercolor" : [ 0.392157, 0.792157, 0.117647, 1.0 ],
-					"id" : "obj-95",
-					"patching_rect" : [ 1093.0, 826.0, 100.0, 55.0 ]
+					"presentation_rect" : [ 12.0, 136.0, 205.0, 57.0 ],
+					"id" : "obj-95"
 				}
 
 			}
@@ -2049,13 +2049,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "zl join",
+					"patching_rect" : [ 123.0, 777.0, 41.0, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 2,
+					"outlettype" : [ "", "" ],
 					"id" : "obj-83",
-					"fontname" : "Verdana",
-					"outlettype" : [ "", "" ],
-					"patching_rect" : [ 123.0, 777.0, 41.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2063,13 +2063,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "- 0.",
+					"patching_rect" : [ 137.0, 746.0, 32.5, 19.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "float" ],
 					"id" : "obj-80",
-					"fontname" : "Verdana",
-					"outlettype" : [ "float" ],
-					"patching_rect" : [ 137.0, 746.0, 32.5, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2077,13 +2077,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "t l b",
+					"patching_rect" : [ 123.0, 688.0, 32.5, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 2,
+					"outlettype" : [ "", "bang" ],
 					"id" : "obj-79",
-					"fontname" : "Verdana",
-					"outlettype" : [ "", "bang" ],
-					"patching_rect" : [ 123.0, 688.0, 32.5, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2091,13 +2091,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
+					"patching_rect" : [ 204.0, 717.0, 53.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "float" ],
 					"id" : "obj-78",
-					"fontname" : "Verdana",
-					"outlettype" : [ "float" ],
-					"patching_rect" : [ 204.0, 717.0, 53.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2105,24 +2105,24 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "cpuclock",
+					"patching_rect" : [ 137.0, 716.0, 53.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "float" ],
 					"id" : "obj-76",
-					"fontname" : "Verdana",
-					"outlettype" : [ "float" ],
-					"patching_rect" : [ 137.0, 716.0, 53.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"patching_rect" : [ 598.0, 327.0, 20.0, 20.0 ],
 					"numinlets" : 1,
 					"numoutlets" : 1,
-					"id" : "obj-71",
 					"outlettype" : [ "bang" ],
-					"patching_rect" : [ 598.0, 327.0, 20.0, 20.0 ]
+					"id" : "obj-71"
 				}
 
 			}
@@ -2130,24 +2130,24 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/stopplaying",
+					"patching_rect" : [ 653.0, 361.0, 73.0, 17.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-72",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 653.0, 361.0, 73.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "button",
+					"patching_rect" : [ 418.0, -27.0, 20.0, 20.0 ],
 					"numinlets" : 1,
 					"numoutlets" : 1,
-					"id" : "obj-70",
 					"outlettype" : [ "bang" ],
-					"patching_rect" : [ 418.0, -27.0, 20.0, 20.0 ]
+					"id" : "obj-70"
 				}
 
 			}
@@ -2155,13 +2155,13 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "/startplaying",
+					"patching_rect" : [ 241.0, 653.0, 75.0, 17.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-63",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 241.0, 653.0, 75.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2169,13 +2169,13 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "prepend /midinoteon",
+					"patching_rect" : [ 262.0, 939.0, 116.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-69",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 262.0, 939.0, 116.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2183,26 +2183,26 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "udpsend 127.0.0.1 12121",
+					"patching_rect" : [ 229.0, 962.0, 141.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"id" : "obj-68",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 229.0, 962.0, 141.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "message",
-					"text" : "77 0",
+					"text" : "75 100",
+					"patching_rect" : [ 58.0, 637.0, 50.0, 17.0 ],
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
+					"outlettype" : [ "" ],
 					"id" : "obj-67",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 58.0, 637.0, 50.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2210,21 +2210,21 @@
 				"box" : 				{
 					"maxclass" : "ftm.object",
 					"text" : "sequence midi",
+					"persistence" : 0,
+					"description" : "sequence midi",
+					"patching_rect" : [ 712.0, 250.0, 161.785156, 20.0 ],
+					"editor_interface" : "matrix",
+					"numinlets" : 1,
 					"fontsize" : 12.0,
 					"ftm_scope" : 2,
-					"numinlets" : 1,
-					"persistence" : 0,
+					"scope" : 0,
 					"numoutlets" : 2,
+					"outlettype" : [ "", "" ],
+					"ftm_objref_conv" : 0,
 					"presentation_rect" : [ 712.0, 250.0, 161.785156, 20.0 ],
-					"editor_interface" : "matrix",
 					"id" : "obj-14",
 					"fontname" : "Verdana",
-					"ftm_objref_conv" : 0,
-					"outlettype" : [ "", "" ],
-					"scope" : 0,
-					"name" : "play.seq",
-					"patching_rect" : [ 712.0, 250.0, 161.785156, 20.0 ],
-					"description" : "sequence midi"
+					"name" : "play.seq"
 				}
 
 			}
@@ -2232,15 +2232,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "import",
+					"patching_rect" : [ 712.0, 222.0, 43.0, 17.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 10.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
-					"presentation_rect" : [ 15.0, 57.0, 43.0, 17.0 ],
+					"outlettype" : [ "" ],
+					"presentation_rect" : [ 19.0, 57.0, 43.0, 17.0 ],
 					"id" : "obj-15",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 712.0, 222.0, 43.0, 17.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2248,14 +2248,14 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "import MIDI file",
+					"patching_rect" : [ 757.0, 221.0, 90.0, 19.0 ],
 					"presentation" : 1,
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"presentation_rect" : [ 60.0, 56.0, 90.0, 19.0 ],
 					"id" : "obj-16",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 757.0, 221.0, 90.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2263,12 +2263,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "play an FTM track",
+					"patching_rect" : [ 60.0, 23.0, 98.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"id" : "obj-17",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 60.0, 23.0, 98.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2276,12 +2276,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "ftm.play",
+					"patching_rect" : [ 54.0, -10.0, 108.0, 36.0 ],
+					"numinlets" : 1,
 					"fontsize" : 24.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"id" : "obj-18",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 54.0, -10.0, 108.0, 36.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2289,23 +2289,23 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "FTM basic objects",
+					"patching_rect" : [ 48.0, -22.0, 97.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"id" : "obj-19",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 48.0, -22.0, 97.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
 , 			{
 				"box" : 				{
 					"maxclass" : "fpic",
+					"patching_rect" : [ 8.0, -25.0, 54.0, 74.0 ],
+					"pic" : "ftm.help.jpg",
 					"numinlets" : 1,
 					"numoutlets" : 0,
-					"id" : "obj-20",
-					"patching_rect" : [ 8.0, -25.0, 54.0, 74.0 ],
-					"pic" : "ftm.help.jpg"
+					"id" : "obj-20"
 				}
 
 			}
@@ -2313,12 +2313,12 @@
 				"box" : 				{
 					"maxclass" : "newobj",
 					"text" : "midiout",
+					"patching_rect" : [ -9.0, 401.0, 48.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"id" : "obj-44",
-					"fontname" : "Verdana",
-					"patching_rect" : [ -9.0, 401.0, 48.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2326,15 +2326,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "play",
+					"patching_rect" : [ 424.0, 52.0, 52.0, 26.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 18.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
-					"presentation_rect" : [ 25.0, 17.0, 52.0, 26.0 ],
+					"outlettype" : [ "" ],
+					"presentation_rect" : [ 18.0, 22.0, 52.0, 26.0 ],
 					"id" : "obj-46",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 424.0, 52.0, 52.0, 26.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2342,15 +2342,15 @@
 				"box" : 				{
 					"maxclass" : "message",
 					"text" : "stop",
+					"patching_rect" : [ 539.0, 55.0, 51.0, 26.0 ],
 					"presentation" : 1,
+					"numinlets" : 2,
 					"fontsize" : 18.0,
-					"numinlets" : 2,
 					"numoutlets" : 1,
-					"presentation_rect" : [ 93.0, 19.0, 51.0, 26.0 ],
+					"outlettype" : [ "" ],
+					"presentation_rect" : [ 86.0, 22.0, 51.0, 26.0 ],
 					"id" : "obj-49",
-					"fontname" : "Verdana",
-					"outlettype" : [ "" ],
-					"patching_rect" : [ 539.0, 55.0, 51.0, 26.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2358,12 +2358,12 @@
 				"box" : 				{
 					"maxclass" : "comment",
 					"text" : "set segment (track, begin, end and speed)",
+					"patching_rect" : [ 402.0, 91.0, 226.0, 19.0 ],
+					"numinlets" : 1,
 					"fontsize" : 10.0,
-					"numinlets" : 1,
 					"numoutlets" : 0,
 					"id" : "obj-56",
-					"fontname" : "Verdana",
-					"patching_rect" : [ 402.0, 91.0, 226.0, 19.0 ]
+					"fontname" : "Verdana"
 				}
 
 			}
@@ -2371,23 +2371,140 @@
 				"box" : 				{
 					"maxclass" : "panel",
 					"varname" : "startwinwdow_panel[1]",
+					"patching_rect" : [ 1093.0, 886.0, 100.0, 55.0 ],
+					"border" : 2,
 					"presentation" : 1,
-					"border" : 2,
+					"numinlets" : 1,
+					"bordercolor" : [ 0.392157, 0.792157, 0.117647, 1.0 ],
 					"bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ],
-					"numinlets" : 1,
 					"numoutlets" : 0,
-					"presentation_rect" : [ 13.0, 13.0, 167.0, 98.0 ],
-					"bordercolor" : [ 0.392157, 0.792157, 0.117647, 1.0 ],
-					"id" : "obj-5",
-					"patching_rect" : [ 1093.0, 886.0, 100.0, 55.0 ]
+					"presentation_rect" : [ 12.0, 17.0, 167.0, 98.0 ],
+					"id" : "obj-5"
 				}
 
 			}
  ],
 		"lines" : [ 			{
 				"patchline" : 				{
-					"source" : [ "obj-41", 0 ],
-					"destination" : [ "obj-11", 0 ],
+					"source" : [ "obj-99", 0 ],
+					"destination" : [ "obj-60", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-31", 0 ],
+					"destination" : [ "obj-69", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-74", 0 ],
+					"destination" : [ "obj-68", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-64", 1 ],
+					"destination" : [ "obj-74", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-73", 0 ],
+					"destination" : [ "obj-68", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-64", 0 ],
+					"destination" : [ "obj-73", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-32", 0 ],
+					"destination" : [ "obj-64", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-49", 0 ],
+					"destination" : [ "obj-60", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-46", 0 ],
+					"destination" : [ "obj-60", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-25", 0 ],
+					"destination" : [ "obj-60", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-55", 0 ],
+					"destination" : [ "obj-60", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-60", 0 ],
+					"destination" : [ "obj-82", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-60", 0 ],
+					"destination" : [ "obj-1", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-60", 1 ],
+					"destination" : [ "obj-27", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2396,61 +2513,7 @@
 , 			{
 				"patchline" : 				{
 					"source" : [ "obj-71", 0 ],
-					"destination" : [ "obj-41", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-37", 0 ],
-					"destination" : [ "obj-36", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-36", 0 ],
-					"destination" : [ "obj-2", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-2", 0 ],
-					"destination" : [ "obj-25", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-11", 0 ],
-					"destination" : [ "obj-2", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-3", 0 ],
-					"destination" : [ "obj-109", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-71", 0 ],
-					"destination" : [ "obj-110", 0 ],
+					"destination" : [ "obj-48", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2459,7 +2522,7 @@
 , 			{
 				"patchline" : 				{
 					"source" : [ "obj-82", 1 ],
-					"destination" : [ "obj-79", 0 ],
+					"destination" : [ "obj-48", 1 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2467,8 +2530,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-136", 0 ],
-					"destination" : [ "obj-137", 0 ],
+					"source" : [ "obj-48", 0 ],
+					"destination" : [ "obj-63", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2476,8 +2539,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-137", 0 ],
-					"destination" : [ "obj-68", 0 ],
+					"source" : [ "obj-31", 0 ],
+					"destination" : [ "obj-29", 1 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2485,8 +2548,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-138", 0 ],
-					"destination" : [ "obj-136", 0 ],
+					"source" : [ "obj-32", 0 ],
+					"destination" : [ "obj-31", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2494,8 +2557,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-134", 0 ],
-					"destination" : [ "obj-78", 0 ],
+					"source" : [ "obj-33", 0 ],
+					"destination" : [ "obj-32", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2503,8 +2566,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-63", 0 ],
-					"destination" : [ "obj-134", 0 ],
+					"source" : [ "obj-30", 0 ],
+					"destination" : [ "obj-31", 1 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2512,8 +2575,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-80", 0 ],
-					"destination" : [ "obj-83", 1 ],
+					"source" : [ "obj-26", 0 ],
+					"destination" : [ "obj-31", 2 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2521,8 +2584,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-76", 0 ],
-					"destination" : [ "obj-80", 0 ],
+					"source" : [ "obj-83", 0 ],
+					"destination" : [ "obj-30", 1 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2530,8 +2593,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-78", 0 ],
-					"destination" : [ "obj-80", 1 ],
+					"source" : [ "obj-109", 0 ],
+					"destination" : [ "obj-30", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2539,8 +2602,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-79", 1 ],
-					"destination" : [ "obj-76", 0 ],
+					"source" : [ "obj-82", 1 ],
+					"destination" : [ "obj-26", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2548,8 +2611,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-69", 0 ],
-					"destination" : [ "obj-68", 0 ],
+					"source" : [ "obj-27", 0 ],
+					"destination" : [ "obj-26", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2557,8 +2620,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-15", 0 ],
-					"destination" : [ "obj-14", 0 ],
+					"source" : [ "obj-4", 0 ],
+					"destination" : [ "obj-1", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2566,8 +2629,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-46", 0 ],
-					"destination" : [ "obj-70", 0 ],
+					"source" : [ "obj-1", 0 ],
+					"destination" : [ "obj-44", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2575,7 +2638,88 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-63", 0 ],
+					"source" : [ "obj-65", 1 ],
+					"destination" : [ "obj-94", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-65", 0 ],
+					"destination" : [ "obj-94", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-110", 0 ],
+					"destination" : [ "obj-65", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-105", 0 ],
+					"destination" : [ "obj-65", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-113", 0 ],
+					"destination" : [ "obj-65", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-70", 0 ],
+					"destination" : [ "obj-105", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-79", 0 ],
+					"destination" : [ "obj-83", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-82", 1 ],
+					"destination" : [ "obj-67", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-49", 0 ],
+					"destination" : [ "obj-71", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-72", 0 ],
 					"destination" : [ "obj-68", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
@@ -2593,7 +2737,7 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-72", 0 ],
+					"source" : [ "obj-63", 0 ],
 					"destination" : [ "obj-68", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
@@ -2602,8 +2746,107 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-49", 0 ],
-					"destination" : [ "obj-71", 0 ],
+					"source" : [ "obj-46", 0 ],
+					"destination" : [ "obj-70", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-15", 0 ],
+					"destination" : [ "obj-14", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-69", 0 ],
+					"destination" : [ "obj-68", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-79", 1 ],
+					"destination" : [ "obj-76", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-78", 0 ],
+					"destination" : [ "obj-80", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-76", 0 ],
+					"destination" : [ "obj-80", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-80", 0 ],
+					"destination" : [ "obj-83", 1 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-63", 0 ],
+					"destination" : [ "obj-134", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-134", 0 ],
+					"destination" : [ "obj-78", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-138", 0 ],
+					"destination" : [ "obj-136", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-137", 0 ],
+					"destination" : [ "obj-68", 0 ],
+					"hidden" : 0,
+					"midpoints" : [  ]
+				}
+
+			}
+, 			{
+				"patchline" : 				{
+					"source" : [ "obj-136", 0 ],
+					"destination" : [ "obj-137", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2612,187 +2855,7 @@
 , 			{
 				"patchline" : 				{
 					"source" : [ "obj-82", 1 ],
-					"destination" : [ "obj-67", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-79", 0 ],
-					"destination" : [ "obj-83", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-70", 0 ],
-					"destination" : [ "obj-105", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-113", 0 ],
-					"destination" : [ "obj-65", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-105", 0 ],
-					"destination" : [ "obj-65", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-110", 0 ],
-					"destination" : [ "obj-65", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-65", 0 ],
-					"destination" : [ "obj-94", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-65", 1 ],
-					"destination" : [ "obj-94", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-1", 0 ],
-					"destination" : [ "obj-44", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-4", 0 ],
-					"destination" : [ "obj-1", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-27", 0 ],
-					"destination" : [ "obj-26", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-82", 1 ],
-					"destination" : [ "obj-26", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-109", 0 ],
-					"destination" : [ "obj-30", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-83", 0 ],
-					"destination" : [ "obj-30", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-26", 0 ],
-					"destination" : [ "obj-31", 2 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-30", 0 ],
-					"destination" : [ "obj-31", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-33", 0 ],
-					"destination" : [ "obj-32", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-32", 0 ],
-					"destination" : [ "obj-31", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-31", 0 ],
-					"destination" : [ "obj-29", 1 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-48", 0 ],
-					"destination" : [ "obj-63", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-82", 1 ],
-					"destination" : [ "obj-48", 1 ],
+					"destination" : [ "obj-79", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2801,7 +2864,7 @@
 , 			{
 				"patchline" : 				{
 					"source" : [ "obj-71", 0 ],
-					"destination" : [ "obj-48", 0 ],
+					"destination" : [ "obj-110", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2809,8 +2872,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-60", 1 ],
-					"destination" : [ "obj-27", 0 ],
+					"source" : [ "obj-3", 0 ],
+					"destination" : [ "obj-109", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2818,8 +2881,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-60", 0 ],
-					"destination" : [ "obj-1", 1 ],
+					"source" : [ "obj-11", 0 ],
+					"destination" : [ "obj-2", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2827,8 +2890,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-60", 0 ],
-					"destination" : [ "obj-82", 0 ],
+					"source" : [ "obj-2", 0 ],
+					"destination" : [ "obj-25", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2836,8 +2899,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-55", 0 ],
-					"destination" : [ "obj-60", 0 ],
+					"source" : [ "obj-36", 0 ],
+					"destination" : [ "obj-2", 1 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2845,8 +2908,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-25", 0 ],
-					"destination" : [ "obj-60", 0 ],
+					"source" : [ "obj-37", 0 ],
+					"destination" : [ "obj-36", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2854,8 +2917,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-46", 0 ],
-					"destination" : [ "obj-60", 0 ],
+					"source" : [ "obj-71", 0 ],
+					"destination" : [ "obj-41", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
@@ -2863,71 +2926,8 @@
 			}
 , 			{
 				"patchline" : 				{
-					"source" : [ "obj-49", 0 ],
-					"destination" : [ "obj-60", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-32", 0 ],
-					"destination" : [ "obj-64", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-64", 0 ],
-					"destination" : [ "obj-73", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-73", 0 ],
-					"destination" : [ "obj-68", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-64", 1 ],
-					"destination" : [ "obj-74", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-74", 0 ],
-					"destination" : [ "obj-68", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-31", 0 ],
-					"destination" : [ "obj-69", 0 ],
-					"hidden" : 0,
-					"midpoints" : [  ]
-				}
-
-			}
-, 			{
-				"patchline" : 				{
-					"source" : [ "obj-99", 0 ],
-					"destination" : [ "obj-60", 1 ],
+					"source" : [ "obj-41", 0 ],
+					"destination" : [ "obj-11", 0 ],
 					"hidden" : 0,
 					"midpoints" : [  ]
 				}
--- a/src/midiEventHolder.cpp	Tue Nov 22 13:30:02 2011 +0000
+++ b/src/midiEventHolder.cpp	Fri Nov 25 16:52:33 2011 +0000
@@ -12,6 +12,9 @@
 midiEventHolder::midiEventHolder(){
 //	recordedNoteOnIndex = 0;
 	
+	runningInRealTime = false;
+	bayesStruct.realTimeMode = &runningInRealTime;
+	
 	width = ofGetWidth();
 	height = ofGetHeight();
 	screenWidth= &width;
@@ -28,14 +31,13 @@
 	maximumMatchSpeed = 2.0;
 
 	likelihoodWidth = 100;
-	likelihoodToNoiseRatio = 0.03;//was 0.02 on 18/11/11, changing to give more weight to observations
+	likelihoodToNoiseRatio = 0.08;//was 0.02 on 18/11/11, changing to give more weight to observations
 	
 	bayesStruct.speedLikelihoodNoise = 0.1;//was 0.05
 	bayesStruct.speedDecayWidth = 20;
 	bayesStruct.speedDecayAmount = 10;
 	
-	runningInRealTime = false;
-	bayesStruct.realTimeMode = &runningInRealTime;
+
 	
 	speedPriorValue = 1.0;