Mercurial > hg > midi-score-follower
changeset 19:2e17f0fdeaef
offline method is now working, linked via pointer in BayesianStructure. Progresses using the time played so could be used for sequential offfline analysis
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 22 Nov 2011 13:30:02 +0000 |
parents | c7107e5c8f03 |
children | 7bb9ab04ee89 |
files | maxPatchToPlayFiles/playMidiTranscription3.maxpat src/BayesianArrayStructure.cpp src/midiEventHolder.cpp |
diffstat | 3 files changed, 1231 insertions(+), 1086 deletions(-) [+] |
line wrap: on
line diff
--- a/maxPatchToPlayFiles/playMidiTranscription3.maxpat Fri Nov 18 11:56:32 2011 +0000 +++ b/maxPatchToPlayFiles/playMidiTranscription3.maxpat Tue Nov 22 13:30:02 2011 +0000 @@ -1,9 +1,9 @@ { "patcher" : { "fileversion" : 1, - "rect" : [ 826.0, 100.0, 1089.0, 872.0 ], + "rect" : [ 244.0, 44.0, 1089.0, 872.0 ], "bglocked" : 0, - "defrect" : [ 826.0, 100.0, 1089.0, 872.0 ], + "defrect" : [ 244.0, 44.0, 1089.0, 872.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 1, "default_fontsize" : 10.0, @@ -20,16 +20,105 @@ "devicewidth" : 0.0, "boxes" : [ { "box" : { + "maxclass" : "message", + "text" : "0", + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, + "id" : "obj-41", + "fontname" : "Verdana", + "outlettype" : [ "" ], + "patching_rect" : [ 679.0, 320.0, 32.5, 17.0 ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "loadmess 250", + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1, + "id" : "obj-37", + "fontname" : "Verdana", + "outlettype" : [ "" ], + "patching_rect" : [ 820.0, 337.0, 80.0, 19.0 ] + } + + } +, { + "box" : { + "maxclass" : "number", + "presentation" : 1, + "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 2, + "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 ] + } + + } +, { + "box" : { + "maxclass" : "comment", + "text" : "iterate through notes when used offline", + "linecount" : 2, + "presentation_linecount" : 2, + "presentation" : 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 ] + } + + } +, { + "box" : { + "maxclass" : "toggle", + "presentation" : 1, + "numinlets" : 1, + "numoutlets" : 1, + "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 ] + } + + } +, { + "box" : { + "maxclass" : "newobj", + "text" : "metro 250", + "presentation" : 1, + "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, + "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 ] + } + + } +, { + "box" : { "maxclass" : "flonum", + "presentation" : 1, "fontsize" : 12.0, + "numinlets" : 1, + "numoutlets" : 2, "presentation_rect" : [ 282.0, 62.0, 57.0, 21.0 ], - "numinlets" : 1, - "patching_rect" : [ 511.0, 249.0, 57.0, 21.0 ], - "numoutlets" : 2, - "presentation" : 1, "id" : "obj-99", "fontname" : "Verdana", - "outlettype" : [ "float", "bang" ] + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 511.0, 249.0, 57.0, 21.0 ] } } @@ -39,11 +128,11 @@ "text" : "/offline", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 783.0, 954.0, 46.0, 17.0 ], "numoutlets" : 1, "id" : "obj-74", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 783.0, 954.0, 46.0, 17.0 ] } } @@ -53,11 +142,11 @@ "text" : "/realtime", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 714.0, 951.0, 56.0, 17.0 ], "numoutlets" : 1, "id" : "obj-73", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 714.0, 951.0, 56.0, 17.0 ] } } @@ -67,11 +156,11 @@ "text" : "sel 1 2", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 699.0, 921.0, 46.0, 19.0 ], "numoutlets" : 3, "id" : "obj-64", "fontname" : "Verdana", - "outlettype" : [ "bang", "bang", "" ] + "outlettype" : [ "bang", "bang", "" ], + "patching_rect" : [ 699.0, 921.0, 46.0, 19.0 ] } } @@ -79,14 +168,14 @@ "box" : { "maxclass" : "comment", "text" : "for offline", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 120.0, 86.0, 58.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ 351.0, 174.0, 150.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-62", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 351.0, 174.0, 150.0, 19.0 ] } } @@ -96,11 +185,11 @@ "text" : "p ftmPlayer", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 45.0, 316.0, 476.0, 19.0 ], "numoutlets" : 2, "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 ], @@ -124,10 +213,10 @@ "box" : { "maxclass" : "inlet", "numinlets" : 0, - "patching_rect" : [ 336.0, 56.0, 25.0, 25.0 ], "numoutlets" : 1, "id" : "obj-1", "outlettype" : [ "float" ], + "patching_rect" : [ 336.0, 56.0, 25.0, 25.0 ], "comment" : "" } @@ -136,14 +225,14 @@ "box" : { "maxclass" : "comment", "text" : "midi", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 52.0, 420.0, 150.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ 131.0, 214.0, 150.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-11", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 131.0, 214.0, 150.0, 19.0 ] } } @@ -153,11 +242,11 @@ "text" : "p otherFtmControls", "fontsize" : 10.0, "numinlets" : 0, - "patching_rect" : [ 50.0, 109.0, 108.0, 19.0 ], "numoutlets" : 1, "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 ], @@ -183,14 +272,14 @@ "text" : "ordinary file following (x) or else one shot test", "linecount" : 2, "presentation_linecount" : 2, + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 52.0, 186.0, 156.0, 31.0 ], - "numinlets" : 1, - "patching_rect" : [ 87.0, 206.0, 153.0, 31.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-111", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 87.0, 206.0, 153.0, 31.0 ] } } @@ -200,31 +289,31 @@ "text" : "set speed", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 362.0, 263.0, 57.0, 19.0 ], "numoutlets" : 0, "id" : "obj-3", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 362.0, 263.0, 57.0, 19.0 ] } } , { "box" : { "maxclass" : "ftm.mess", + "#loadbang" : 0, "#triggerall" : 0, + "fontsize" : 10.0, + "#untuple" : 0, + "text" : [ "_loop 500 1500 1." ], "ftm_scope" : 1, - "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "#init" : "", - "text" : [ "_loop 500 1500 1." ], "presentation_rect" : [ 216.0, 166.0, 92.157234, 17.0 ], - "ftm_objref_conv" : 0, - "numinlets" : 2, - "#loadbang" : 0, - "patching_rect" : [ 216.0, 166.0, 92.157234, 17.0 ], - "numoutlets" : 1, "id" : "obj-4", "fontname" : "Verdana", - "#untuple" : 0, - "outlettype" : [ "" ] + "ftm_objref_conv" : 0, + "outlettype" : [ "" ], + "patching_rect" : [ 216.0, 166.0, 92.157234, 17.0 ] } } @@ -234,31 +323,31 @@ "text" : "set segment (begin, end and speed) and loop", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 306.0, 167.0, 240.0, 19.0 ], "numoutlets" : 0, "id" : "obj-5", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 306.0, 167.0, 240.0, 19.0 ] } } , { "box" : { "maxclass" : "ftm.mess", + "#loadbang" : 0, "#triggerall" : 0, + "fontsize" : 10.0, + "#untuple" : 0, + "text" : [ "_play $play.seq 500 1500 1." ], "ftm_scope" : 0, - "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "#init" : "", - "text" : [ "_play $play.seq 500 1500 1." ], "presentation_rect" : [ 216.0, 146.0, 142.66507, 17.0 ], - "ftm_objref_conv" : 0, - "numinlets" : 2, - "#loadbang" : 0, - "patching_rect" : [ 216.0, 146.0, 142.66507, 17.0 ], - "numoutlets" : 1, "id" : "obj-6", "fontname" : "Verdana", - "#untuple" : 0, - "outlettype" : [ "" ] + "ftm_objref_conv" : 0, + "outlettype" : [ "" ], + "patching_rect" : [ 216.0, 146.0, 142.66507, 17.0 ] } } @@ -268,10 +357,10 @@ "text" : "set segment (track, begin, end and speed) and play", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 370.0, 147.0, 272.0, 19.0 ], "numoutlets" : 0, "id" : "obj-7", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 370.0, 147.0, 272.0, 19.0 ] } } @@ -281,10 +370,10 @@ "text" : "advance to next time", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 88.0, 258.0, 115.0, 19.0 ], "numoutlets" : 0, "id" : "obj-8", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 88.0, 258.0, 115.0, 19.0 ] } } @@ -294,11 +383,11 @@ "orientation" : 1, "numinlets" : 1, "size" : 1001.0, - "patching_rect" : [ 162.0, 238.0, 169.0, 15.0 ], "numoutlets" : 1, "id" : "obj-9", + "outlettype" : [ "" ], "mult" : 10.0, - "outlettype" : [ "" ] + "patching_rect" : [ 162.0, 238.0, 169.0, 15.0 ] } } @@ -308,10 +397,10 @@ "text" : "locate or jump at given time", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 114.0, 121.0, 151.0, 19.0 ], "numoutlets" : 0, "id" : "obj-10", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 114.0, 121.0, 151.0, 19.0 ] } } @@ -321,11 +410,11 @@ "text" : "next", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 50.0, 257.0, 33.0, 17.0 ], "numoutlets" : 1, "id" : "obj-11", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 257.0, 33.0, 17.0 ] } } @@ -335,11 +424,11 @@ "text" : "jump 300.", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 50.0, 119.0, 62.0, 17.0 ], "numoutlets" : 1, "id" : "obj-12", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 119.0, 62.0, 17.0 ] } } @@ -349,10 +438,10 @@ "text" : "set speed by giving a duration for the current segment", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 336.0, 281.0, 285.0, 19.0 ], "numoutlets" : 0, "id" : "obj-23", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 336.0, 281.0, 285.0, 19.0 ] } } @@ -362,10 +451,10 @@ "text" : "set segment (only begin and end) and play straight", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 354.0, 120.0, 270.0, 19.0 ], "numoutlets" : 0, "id" : "obj-24", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 354.0, 120.0, 270.0, 19.0 ] } } @@ -375,10 +464,10 @@ "text" : "play current segment", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 86.0, 147.0, 116.0, 19.0 ], "numoutlets" : 0, "id" : "obj-25", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 86.0, 147.0, 116.0, 19.0 ] } } @@ -388,32 +477,32 @@ "text" : "speed 0.5", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 299.0, 262.0, 58.0, 17.0 ], "numoutlets" : 1, "id" : "obj-26", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 299.0, 262.0, 58.0, 17.0 ] } } , { "box" : { "maxclass" : "ftm.mess", + "#loadbang" : 0, "#triggerall" : 0, + "fontsize" : 10.0, + "#untuple" : 0, + "text" : [ "_set 0 9999999" ], "ftm_scope" : 0, - "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "#init" : "", - "text" : [ "_set 0 9999999" ], "presentation_rect" : [ 274.0, 119.0, 78.998055, 17.0 ], - "ftm_objref_conv" : 0, - "numinlets" : 2, - "#loadbang" : 0, - "patching_rect" : [ 274.0, 119.0, 78.998055, 17.0 ], - "numoutlets" : 1, "id" : "obj-27", "fontname" : "Verdana", - "#untuple" : 0, - "outlettype" : [ "" ] + "ftm_objref_conv" : 0, + "outlettype" : [ "" ], + "patching_rect" : [ 274.0, 119.0, 78.998055, 17.0 ] } } @@ -421,15 +510,15 @@ "box" : { "maxclass" : "flonum", "fontsize" : 10.0, - "triscale" : 0.9, + "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "numinlets" : 1, - "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "patching_rect" : [ 104.0, 238.0, 56.0, 19.0 ], + "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "id" : "obj-28", "fontname" : "Verdana", - "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], - "outlettype" : [ "float", "bang" ] + "outlettype" : [ "float", "bang" ], + "triscale" : 0.9, + "patching_rect" : [ 104.0, 238.0, 56.0, 19.0 ] } } @@ -439,11 +528,11 @@ "text" : "duration 1000", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 252.0, 281.0, 79.0, 17.0 ], "numoutlets" : 1, "id" : "obj-29", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 252.0, 281.0, 79.0, 17.0 ] } } @@ -453,11 +542,11 @@ "text" : "speed 2.", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 252.0, 262.0, 52.0, 17.0 ], "numoutlets" : 1, "id" : "obj-30", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 252.0, 262.0, 52.0, 17.0 ] } } @@ -467,11 +556,11 @@ "text" : "pause", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 50.0, 192.0, 40.0, 17.0 ], "numoutlets" : 1, "id" : "obj-31", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 192.0, 40.0, 17.0 ] } } @@ -481,11 +570,11 @@ "text" : "locate 300.", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 50.0, 100.0, 67.0, 17.0 ], "numoutlets" : 1, "id" : "obj-32", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 100.0, 67.0, 17.0 ] } } @@ -495,32 +584,32 @@ "text" : "sync $1", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 50.0, 238.0, 49.0, 17.0 ], "numoutlets" : 1, "id" : "obj-33", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 238.0, 49.0, 17.0 ] } } , { "box" : { "maxclass" : "ftm.mess", + "#loadbang" : 0, "#triggerall" : 0, + "fontsize" : 10.0, + "#untuple" : 0, + "text" : [ "_set $play.seq 500 1500 1." ], "ftm_scope" : 0, - "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "#init" : "", - "text" : [ "_set $play.seq 500 1500 1." ], "presentation_rect" : [ 274.0, 100.0, 136.952179, 17.0 ], - "ftm_objref_conv" : 0, - "numinlets" : 2, - "#loadbang" : 0, - "patching_rect" : [ 274.0, 100.0, 136.952179, 17.0 ], - "numoutlets" : 1, "id" : "obj-40", "fontname" : "Verdana", - "#untuple" : 0, - "outlettype" : [ "" ] + "ftm_objref_conv" : 0, + "outlettype" : [ "" ], + "patching_rect" : [ 274.0, 100.0, 136.952179, 17.0 ] } } @@ -530,11 +619,11 @@ "text" : "loop", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 50.0, 165.0, 32.5, 17.0 ], "numoutlets" : 1, "id" : "obj-41", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 165.0, 32.5, 17.0 ] } } @@ -542,10 +631,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, - "patching_rect" : [ 50.0, 292.0, 15.0, 15.0 ], "numoutlets" : 1, "id" : "obj-50", - "outlettype" : [ "bang" ] + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 292.0, 15.0, 15.0 ] } } @@ -555,10 +644,10 @@ "text" : "advance to gven time (output all events on the way)", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 326.0, 238.0, 274.0, 19.0 ], "numoutlets" : 0, "id" : "obj-54", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 326.0, 238.0, 274.0, 19.0 ] } } @@ -568,10 +657,10 @@ "text" : "locate halted at given time", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 119.0, 101.0, 143.0, 19.0 ], "numoutlets" : 0, "id" : "obj-55", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 119.0, 101.0, 143.0, 19.0 ] } } @@ -581,10 +670,10 @@ "text" : "loop current segment", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 85.0, 166.0, 116.0, 19.0 ], "numoutlets" : 0, "id" : "obj-57", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 85.0, 166.0, 116.0, 19.0 ] } } @@ -594,10 +683,10 @@ "text" : "stop playing and reset", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 86.0, 212.0, 121.0, 19.0 ], "numoutlets" : 0, "id" : "obj-58", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 86.0, 212.0, 121.0, 19.0 ] } } @@ -607,10 +696,10 @@ "text" : "halt playing", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 93.0, 193.0, 67.0, 19.0 ], "numoutlets" : 0, "id" : "obj-59", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 93.0, 193.0, 67.0, 19.0 ] } } @@ -620,10 +709,10 @@ "text" : "play current segment straight", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 67.0, 292.0, 158.0, 19.0 ], "numoutlets" : 0, "id" : "obj-60", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 67.0, 292.0, 158.0, 19.0 ] } } @@ -634,10 +723,10 @@ "linecount" : 2, "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 277.0, 196.0, 266.0, 31.0 ], "numoutlets" : 0, "id" : "obj-62", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 277.0, 196.0, 266.0, 31.0 ] } } @@ -645,9 +734,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "patching_rect" : [ 147.357147, 371.0, 25.0, 25.0 ], "numoutlets" : 0, "id" : "obj-114", + "patching_rect" : [ 147.357147, 371.0, 25.0, 25.0 ], "comment" : "" } @@ -655,25 +744,106 @@ ], "lines" : [ { "patchline" : { - "source" : [ "obj-9", 0 ], - "destination" : [ "obj-28", 0 ], - "hidden" : 1, + "source" : [ "obj-26", 0 ], + "destination" : [ "obj-114", 0 ], + "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { - "source" : [ "obj-28", 0 ], - "destination" : [ "obj-33", 0 ], - "hidden" : 1, + "source" : [ "obj-27", 0 ], + "destination" : [ "obj-114", 0 ], + "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { - "source" : [ "obj-32", 0 ], + "source" : [ "obj-40", 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" : [ ] @@ -691,7 +861,7 @@ } , { "patchline" : { - "source" : [ "obj-41", 0 ], + "source" : [ "obj-32", 0 ], "destination" : [ "obj-114", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -700,99 +870,18 @@ } , { "patchline" : { - "source" : [ "obj-31", 0 ], - "destination" : [ "obj-114", 0 ], - "hidden" : 0, + "source" : [ "obj-28", 0 ], + "destination" : [ "obj-33", 0 ], + "hidden" : 1, "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" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-27", 0 ], - "destination" : [ "obj-114", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-26", 0 ], - "destination" : [ "obj-114", 0 ], - "hidden" : 0, + "source" : [ "obj-9", 0 ], + "destination" : [ "obj-28", 0 ], + "hidden" : 1, "midpoints" : [ ] } @@ -819,10 +908,10 @@ "text" : "syntax:", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 358.0, 168.0, 46.0, 19.0 ], "numoutlets" : 0, "id" : "obj-2", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 358.0, 168.0, 46.0, 19.0 ] } } @@ -833,10 +922,10 @@ "hidden" : 1, "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 291.0, 203.0, 168.0, 19.0 ], "numoutlets" : 0, "id" : "obj-13", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 291.0, 203.0, 168.0, 19.0 ] } } @@ -846,10 +935,10 @@ "text" : "set segment end", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 433.0, 120.0, 93.0, 19.0 ], "numoutlets" : 0, "id" : "obj-21", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 433.0, 120.0, 93.0, 19.0 ] } } @@ -860,11 +949,11 @@ "hidden" : 1, "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 128.0, 202.0, 62.0, 19.0 ], "numoutlets" : 3, "id" : "obj-34", "fontname" : "Verdana", - "outlettype" : [ "", "int", "int" ] + "outlettype" : [ "", "int", "int" ], + "patching_rect" : [ 128.0, 202.0, 62.0, 19.0 ] } } @@ -874,11 +963,11 @@ "orientation" : 1, "numinlets" : 1, "size" : 1001.0, - "patching_rect" : [ 262.0, 120.0, 169.0, 15.0 ], "numoutlets" : 1, "id" : "obj-35", + "outlettype" : [ "" ], "mult" : 10.0, - "outlettype" : [ "" ] + "patching_rect" : [ 262.0, 120.0, 169.0, 15.0 ] } } @@ -888,11 +977,11 @@ "orientation" : 1, "numinlets" : 1, "size" : 1001.0, - "patching_rect" : [ 187.0, 100.0, 169.0, 15.0 ], "numoutlets" : 1, "id" : "obj-36", + "outlettype" : [ "" ], "mult" : 10.0, - "outlettype" : [ "" ] + "patching_rect" : [ 187.0, 100.0, 169.0, 15.0 ] } } @@ -900,15 +989,15 @@ "box" : { "maxclass" : "message", "text" : "GM", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 127.0, 442.0, 32.5, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 203.0, 228.0, 32.5, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-37", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 203.0, 228.0, 32.5, 17.0 ] } } @@ -916,15 +1005,15 @@ "box" : { "maxclass" : "message", "text" : "panic", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 85.0, 442.0, 37.0, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 161.0, 228.0, 37.0, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-38", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 161.0, 228.0, 37.0, 17.0 ] } } @@ -932,15 +1021,15 @@ "box" : { "maxclass" : "message", "text" : "off", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 48.0, 442.0, 32.5, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 124.0, 228.0, 32.5, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-39", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 124.0, 228.0, 32.5, 17.0 ] } } @@ -948,15 +1037,15 @@ "box" : { "maxclass" : "flonum", "fontsize" : 10.0, - "triscale" : 0.9, + "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "numinlets" : 1, - "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "patching_rect" : [ 262.0, 143.0, 55.0, 19.0 ], + "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "id" : "obj-42", "fontname" : "Verdana", - "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], - "outlettype" : [ "float", "bang" ] + "outlettype" : [ "float", "bang" ], + "triscale" : 0.9, + "patching_rect" : [ 262.0, 143.0, 55.0, 19.0 ] } } @@ -964,15 +1053,15 @@ "box" : { "maxclass" : "flonum", "fontsize" : 10.0, - "triscale" : 0.9, + "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "numinlets" : 1, - "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "patching_rect" : [ 187.0, 143.0, 55.0, 19.0 ], + "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "id" : "obj-43", "fontname" : "Verdana", - "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], - "outlettype" : [ "float", "bang" ] + "outlettype" : [ "float", "bang" ], + "triscale" : 0.9, + "patching_rect" : [ 187.0, 143.0, 55.0, 19.0 ] } } @@ -982,11 +1071,11 @@ "text" : "ftm.midiunparse", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 112.0, 249.0, 93.0, 19.0 ], "numoutlets" : 1, "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 @@ -999,10 +1088,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, - "patching_rect" : [ 337.0, 228.0, 15.0, 15.0 ], "numoutlets" : 1, "id" : "obj-51", - "outlettype" : [ "bang" ] + "outlettype" : [ "bang" ], + "patching_rect" : [ 337.0, 228.0, 15.0, 15.0 ] } } @@ -1010,15 +1099,15 @@ "box" : { "maxclass" : "flonum", "fontsize" : 10.0, - "triscale" : 0.9, + "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "numinlets" : 1, - "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], - "patching_rect" : [ 215.0, 201.0, 55.0, 19.0 ], + "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "id" : "obj-52", "fontname" : "Verdana", - "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], - "outlettype" : [ "float", "bang" ] + "outlettype" : [ "float", "bang" ], + "triscale" : 0.9, + "patching_rect" : [ 215.0, 201.0, 55.0, 19.0 ] } } @@ -1028,11 +1117,11 @@ "text" : "ftm.play $play.seq", "fontsize" : 18.0, "numinlets" : 4, - "patching_rect" : [ 112.0, 166.0, 244.0, 28.0 ], "numoutlets" : 3, "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 @@ -1047,10 +1136,10 @@ "text" : "set segment beginning", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 358.0, 100.0, 123.0, 19.0 ], "numoutlets" : 0, "id" : "obj-61", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 358.0, 100.0, 123.0, 19.0 ] } } @@ -1058,10 +1147,10 @@ "box" : { "maxclass" : "inlet", "numinlets" : 0, - "patching_rect" : [ 112.0, 40.0, 25.0, 25.0 ], "numoutlets" : 1, "id" : "obj-57", "outlettype" : [ "" ], + "patching_rect" : [ 112.0, 40.0, 25.0, 25.0 ], "comment" : "" } @@ -1070,9 +1159,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "patching_rect" : [ 112.0, 328.0, 25.0, 25.0 ], "numoutlets" : 0, "id" : "obj-58", + "patching_rect" : [ 112.0, 328.0, 25.0, 25.0 ], "comment" : "" } @@ -1081,9 +1170,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "patching_rect" : [ 224.0, 328.0, 25.0, 25.0 ], "numoutlets" : 0, "id" : "obj-59", + "patching_rect" : [ 224.0, 328.0, 25.0, 25.0 ], "comment" : "" } @@ -1091,8 +1180,8 @@ ], "lines" : [ { "patchline" : { - "source" : [ "obj-1", 0 ], - "destination" : [ "obj-53", 3 ], + "source" : [ "obj-53", 1 ], + "destination" : [ "obj-59", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -1100,7 +1189,16 @@ } , { "patchline" : { - "source" : [ "obj-115", 0 ], + "source" : [ "obj-45", 0 ], + "destination" : [ "obj-58", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-57", 0 ], "destination" : [ "obj-53", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -1109,7 +1207,88 @@ } , { "patchline" : { - "source" : [ "obj-37", 0 ], + "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 ], "destination" : [ "obj-45", 0 ], "hidden" : 1, "midpoints" : [ ] @@ -1127,7 +1306,7 @@ } , { "patchline" : { - "source" : [ "obj-39", 0 ], + "source" : [ "obj-37", 0 ], "destination" : [ "obj-45", 0 ], "hidden" : 1, "midpoints" : [ ] @@ -1136,88 +1315,7 @@ } , { "patchline" : { - "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 ], + "source" : [ "obj-115", 0 ], "destination" : [ "obj-53", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -1226,17 +1324,8 @@ } , { "patchline" : { - "source" : [ "obj-45", 0 ], - "destination" : [ "obj-58", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-53", 1 ], - "destination" : [ "obj-59", 0 ], + "source" : [ "obj-1", 0 ], + "destination" : [ "obj-53", 3 ], "hidden" : 0, "midpoints" : [ ] } @@ -1262,15 +1351,15 @@ "box" : { "maxclass" : "message", "text" : "pause", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 62.0, 86.0, 51.0, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 226.0, 269.0, 40.0, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-55", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 226.0, 269.0, 40.0, 17.0 ] } } @@ -1280,10 +1369,10 @@ "text" : "hear MIDI playing", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ -10.0, 351.0, 150.0, 19.0 ], "numoutlets" : 0, "id" : "obj-54", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ -10.0, 351.0, 150.0, 19.0 ] } } @@ -1293,11 +1382,11 @@ "text" : "p weirdStarter", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 240.0, 618.0, 83.0, 19.0 ], "numoutlets" : 1, "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 ], @@ -1321,10 +1410,10 @@ "box" : { "maxclass" : "toggle", "numinlets" : 1, - "patching_rect" : [ 94.0, 159.0, 20.0, 20.0 ], "numoutlets" : 1, "id" : "obj-132", - "outlettype" : [ "int" ] + "outlettype" : [ "int" ], + "patching_rect" : [ 94.0, 159.0, 20.0, 20.0 ] } } @@ -1332,10 +1421,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, - "patching_rect" : [ 95.0, 217.0, 20.0, 20.0 ], "numoutlets" : 1, "id" : "obj-130", - "outlettype" : [ "bang" ] + "outlettype" : [ "bang" ], + "patching_rect" : [ 95.0, 217.0, 20.0, 20.0 ] } } @@ -1345,11 +1434,11 @@ "text" : "0", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 92.0, 239.0, 32.5, 17.0 ], "numoutlets" : 1, "id" : "obj-128", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 92.0, 239.0, 32.5, 17.0 ] } } @@ -1359,11 +1448,11 @@ "text" : "gate", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 92.0, 192.0, 33.0, 19.0 ], "numoutlets" : 1, "id" : "obj-126", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 92.0, 192.0, 33.0, 19.0 ] } } @@ -1373,11 +1462,11 @@ "text" : "1", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 65.0, 136.0, 32.5, 17.0 ], "numoutlets" : 1, "id" : "obj-125", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 65.0, 136.0, 32.5, 17.0 ] } } @@ -1387,11 +1476,11 @@ "text" : "loadbang", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 50.0, 100.0, 56.0, 19.0 ], "numoutlets" : 1, "id" : "obj-123", "fontname" : "Verdana", - "outlettype" : [ "bang" ] + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 100.0, 56.0, 19.0 ] } } @@ -1399,10 +1488,10 @@ "box" : { "maxclass" : "inlet", "numinlets" : 0, - "patching_rect" : [ 65.0, 40.0, 25.0, 25.0 ], "numoutlets" : 1, "id" : "obj-40", "outlettype" : [ "bang" ], + "patching_rect" : [ 65.0, 40.0, 25.0, 25.0 ], "comment" : "" } @@ -1411,10 +1500,10 @@ "box" : { "maxclass" : "inlet", "numinlets" : 0, - "patching_rect" : [ 106.0, 40.0, 25.0, 25.0 ], "numoutlets" : 1, "id" : "obj-41", "outlettype" : [ "" ], + "patching_rect" : [ 106.0, 40.0, 25.0, 25.0 ], "comment" : "" } @@ -1423,9 +1512,9 @@ "box" : { "maxclass" : "outlet", "numinlets" : 1, - "patching_rect" : [ 95.0, 331.5, 25.0, 25.0 ], "numoutlets" : 0, "id" : "obj-47", + "patching_rect" : [ 95.0, 331.5, 25.0, 25.0 ], "comment" : "" } @@ -1433,8 +1522,62 @@ ], "lines" : [ { "patchline" : { - "source" : [ "obj-125", 0 ], - "destination" : [ "obj-132", 0 ], + "source" : [ "obj-130", 0 ], + "destination" : [ "obj-47", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-41", 0 ], + "destination" : [ "obj-126", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "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" : [ ] } @@ -1451,62 +1594,8 @@ } , { "patchline" : { - "source" : [ "obj-130", 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" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-41", 0 ], - "destination" : [ "obj-126", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-130", 0 ], - "destination" : [ "obj-47", 0 ], + "source" : [ "obj-125", 0 ], + "destination" : [ "obj-132", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -1534,28 +1623,28 @@ "text" : "loadmess 1", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 415.0, 762.0, 68.0, 19.0 ], "numoutlets" : 1, "id" : "obj-33", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 415.0, 762.0, 68.0, 19.0 ] } } , { "box" : { "maxclass" : "umenu", + "presentation" : 1, "fontsize" : 10.0, - "presentation_rect" : [ 232.0, 138.0, 100.0, 19.0 ], "items" : [ "off", ",", "realtime", ",", "offline" ], "numinlets" : 1, - "types" : [ ], - "patching_rect" : [ 418.0, 792.0, 100.0, 19.0 ], "numoutlets" : 3, - "presentation" : 1, + "presentation_rect" : [ 232.0, 138.0, 100.0, 19.0 ], "id" : "obj-32", "fontname" : "Verdana", - "outlettype" : [ "int", "", "" ] + "outlettype" : [ "int", "", "" ], + "types" : [ ], + "patching_rect" : [ 418.0, 792.0, 100.0, 19.0 ] } } @@ -1565,11 +1654,11 @@ "text" : "switch", "fontsize" : 10.0, "numinlets" : 3, - "patching_rect" : [ 426.0, 856.0, 46.0, 19.0 ], "numoutlets" : 1, "id" : "obj-31", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 426.0, 856.0, 46.0, 19.0 ] } } @@ -1579,27 +1668,27 @@ "text" : "gate", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 87.0, 845.0, 33.0, 19.0 ], "numoutlets" : 1, "id" : "obj-30", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 87.0, 845.0, 33.0, 19.0 ] } } , { "box" : { "maxclass" : "message", - "text" : "48 0 95275.25", + "text" : "77 0 7363.161621", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 32.0, 199.0, 201.0, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 422.0, 937.0, 201.0, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-29", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 422.0, 937.0, 201.0, 17.0 ] } } @@ -1609,11 +1698,11 @@ "text" : "prepend set", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 495.0, 697.0, 70.0, 19.0 ], "numoutlets" : 1, "id" : "obj-27", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 495.0, 697.0, 70.0, 19.0 ] } } @@ -1623,11 +1712,11 @@ "text" : "append", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 495.0, 725.0, 47.0, 19.0 ], "numoutlets" : 1, "id" : "obj-26", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 495.0, 725.0, 47.0, 19.0 ] } } @@ -1635,15 +1724,15 @@ "box" : { "maxclass" : "message", "text" : "next", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 23.0, 86.0, 33.0, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 182.0, 268.0, 33.0, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-25", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 182.0, 268.0, 33.0, 17.0 ] } } @@ -1651,14 +1740,14 @@ "box" : { "maxclass" : "comment", "text" : "speed", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 245.0, 62.0, 150.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ 269.0, 68.0, 150.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-9", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 269.0, 68.0, 150.0, 19.0 ] } } @@ -1666,14 +1755,14 @@ "box" : { "maxclass" : "comment", "text" : "MIDI representation", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 16.0, -3.0, 150.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ 1141.0, 862.0, 150.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-24", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 1141.0, 862.0, 150.0, 19.0 ] } } @@ -1681,14 +1770,14 @@ "box" : { "maxclass" : "comment", "text" : "audio", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 14.0, 119.0, 150.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ 1126.0, 847.0, 150.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-23", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 1126.0, 847.0, 150.0, 19.0 ] } } @@ -1696,14 +1785,14 @@ "box" : { "maxclass" : "comment", "text" : "send notes", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 149.0, 169.0, 67.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ 1243.0, 894.0, 150.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-10", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 1243.0, 894.0, 150.0, 19.0 ] } } @@ -1713,11 +1802,11 @@ "text" : "loadmess 1", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 21.0, 762.0, 68.0, 19.0 ], "numoutlets" : 1, "id" : "obj-3", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 21.0, 762.0, 68.0, 19.0 ] } } @@ -1726,14 +1815,14 @@ "maxclass" : "comment", "text" : "midi playing on/off", "presentation_linecount" : 2, + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 215.0, 84.0, 73.0, 31.0 ], - "numinlets" : 1, - "patching_rect" : [ 712.0, 190.0, 150.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-8", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 712.0, 190.0, 150.0, 19.0 ] } } @@ -1743,27 +1832,27 @@ "text" : "plays midi and accompanying audio too", "linecount" : 2, "presentation_linecount" : 2, + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 337.0, 464.0, 150.0, 31.0 ], - "numinlets" : 1, - "patching_rect" : [ 906.0, 904.0, 150.0, 31.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-6", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 906.0, 904.0, 150.0, 31.0 ] } } , { "box" : { "maxclass" : "toggle", + "presentation" : 1, + "numinlets" : 1, + "numoutlets" : 1, "presentation_rect" : [ 188.0, 84.0, 20.0, 20.0 ], - "numinlets" : 1, - "patching_rect" : [ -33.0, 356.0, 20.0, 20.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-4", - "outlettype" : [ "int" ] + "outlettype" : [ "int" ], + "patching_rect" : [ -33.0, 356.0, 20.0, 20.0 ] } } @@ -1773,11 +1862,11 @@ "text" : "gate", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ -15.0, 373.0, 33.0, 19.0 ], "numoutlets" : 1, "id" : "obj-1", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ -15.0, 373.0, 33.0, 19.0 ] } } @@ -1787,11 +1876,11 @@ "text" : "loadmess 1", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ -28.0, 861.0, 68.0, 19.0 ], "numoutlets" : 1, "id" : "obj-138", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ -28.0, 861.0, 68.0, 19.0 ] } } @@ -1799,31 +1888,31 @@ "box" : { "maxclass" : "newobj", "text" : "prepend /setSpeedPrior", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 1, "presentation_rect" : [ 128.0, 383.0, 129.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ -29.0, 923.0, 129.0, 19.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-137", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ -29.0, 923.0, 129.0, 19.0 ] } } , { "box" : { "maxclass" : "flonum", + "presentation" : 1, + "minimum" : 0.0, "fontsize" : 10.0, - "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, "presentation_rect" : [ 133.0, 351.0, 50.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ -29.0, 884.0, 50.0, 19.0 ], - "numoutlets" : 2, - "presentation" : 1, "id" : "obj-136", "fontname" : "Verdana", - "outlettype" : [ "float", "bang" ] + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ -29.0, 884.0, 50.0, 19.0 ] } } @@ -1831,10 +1920,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, - "patching_rect" : [ 204.0, 687.0, 20.0, 20.0 ], "numoutlets" : 1, "id" : "obj-134", - "outlettype" : [ "bang" ] + "outlettype" : [ "bang" ], + "patching_rect" : [ 204.0, 687.0, 20.0, 20.0 ] } } @@ -1842,15 +1931,15 @@ "box" : { "maxclass" : "message", "text" : "open", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 65.0, 173.0, 35.0, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 320.0, 23.0, 35.0, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-113", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 320.0, 23.0, 35.0, 17.0 ] } } @@ -1860,11 +1949,11 @@ "text" : "0", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 281.0, 23.0, 32.5, 17.0 ], "numoutlets" : 1, "id" : "obj-110", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 281.0, 23.0, 32.5, 17.0 ] } } @@ -1872,15 +1961,15 @@ "box" : { "maxclass" : "message", "text" : "1", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 26.0, 173.0, 32.5, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 240.0, 23.0, 32.5, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-105", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 240.0, 23.0, 32.5, 17.0 ] } } @@ -1890,11 +1979,11 @@ "text" : "sfplay~ 2", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 230.0, 46.0, 58.0, 19.0 ], "numoutlets" : 3, "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, "", ";" ] } @@ -1902,13 +1991,13 @@ , { "box" : { "maxclass" : "toggle", + "presentation" : 1, + "numinlets" : 1, + "numoutlets" : 1, "presentation_rect" : [ 126.0, 169.0, 20.0, 20.0 ], - "numinlets" : 1, - "patching_rect" : [ 74.0, 790.0, 20.0, 20.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-109", - "outlettype" : [ "int" ] + "outlettype" : [ "int" ], + "patching_rect" : [ 74.0, 790.0, 20.0, 20.0 ] } } @@ -1918,11 +2007,11 @@ "text" : "zl slice 1", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 51.0, 608.0, 54.0, 19.0 ], "numoutlets" : 2, "id" : "obj-82", "fontname" : "Verdana", - "outlettype" : [ "", "" ] + "outlettype" : [ "", "" ], + "patching_rect" : [ 51.0, 608.0, 54.0, 19.0 ] } } @@ -1930,13 +2019,13 @@ "box" : { "maxclass" : "ezdac~", "varname" : "autohelp_dac", + "presentation" : 1, + "numinlets" : 2, + "numoutlets" : 0, "presentation_rect" : [ 186.0, 14.0, 45.0, 45.0 ], - "numinlets" : 2, - "patching_rect" : [ 229.0, 91.0, 45.0, 45.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-94", - "local" : 1 + "local" : 1, + "patching_rect" : [ 229.0, 91.0, 45.0, 45.0 ] } } @@ -1944,15 +2033,15 @@ "box" : { "maxclass" : "panel", "varname" : "startwinwdow_panel", + "presentation" : 1, "border" : 2, + "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 ], - "presentation_rect" : [ 15.0, 136.0, 205.0, 57.0 ], - "numinlets" : 1, - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "patching_rect" : [ 1093.0, 826.0, 100.0, 55.0 ], - "numoutlets" : 0, - "presentation" : 1, - "id" : "obj-95" + "id" : "obj-95", + "patching_rect" : [ 1093.0, 826.0, 100.0, 55.0 ] } } @@ -1962,11 +2051,11 @@ "text" : "zl join", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 123.0, 777.0, 41.0, 19.0 ], "numoutlets" : 2, "id" : "obj-83", "fontname" : "Verdana", - "outlettype" : [ "", "" ] + "outlettype" : [ "", "" ], + "patching_rect" : [ 123.0, 777.0, 41.0, 19.0 ] } } @@ -1976,11 +2065,11 @@ "text" : "- 0.", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 137.0, 746.0, 32.5, 19.0 ], "numoutlets" : 1, "id" : "obj-80", "fontname" : "Verdana", - "outlettype" : [ "float" ] + "outlettype" : [ "float" ], + "patching_rect" : [ 137.0, 746.0, 32.5, 19.0 ] } } @@ -1990,11 +2079,11 @@ "text" : "t l b", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 123.0, 688.0, 32.5, 19.0 ], "numoutlets" : 2, "id" : "obj-79", "fontname" : "Verdana", - "outlettype" : [ "", "bang" ] + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 123.0, 688.0, 32.5, 19.0 ] } } @@ -2004,11 +2093,11 @@ "text" : "cpuclock", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 204.0, 717.0, 53.0, 19.0 ], "numoutlets" : 1, "id" : "obj-78", "fontname" : "Verdana", - "outlettype" : [ "float" ] + "outlettype" : [ "float" ], + "patching_rect" : [ 204.0, 717.0, 53.0, 19.0 ] } } @@ -2018,11 +2107,11 @@ "text" : "cpuclock", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 137.0, 716.0, 53.0, 19.0 ], "numoutlets" : 1, "id" : "obj-76", "fontname" : "Verdana", - "outlettype" : [ "float" ] + "outlettype" : [ "float" ], + "patching_rect" : [ 137.0, 716.0, 53.0, 19.0 ] } } @@ -2030,10 +2119,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, - "patching_rect" : [ 284.0, 534.0, 20.0, 20.0 ], "numoutlets" : 1, "id" : "obj-71", - "outlettype" : [ "bang" ] + "outlettype" : [ "bang" ], + "patching_rect" : [ 598.0, 327.0, 20.0, 20.0 ] } } @@ -2043,11 +2132,11 @@ "text" : "/stopplaying", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 339.0, 568.0, 73.0, 17.0 ], "numoutlets" : 1, "id" : "obj-72", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 653.0, 361.0, 73.0, 17.0 ] } } @@ -2055,10 +2144,10 @@ "box" : { "maxclass" : "button", "numinlets" : 1, - "patching_rect" : [ 418.0, -27.0, 20.0, 20.0 ], "numoutlets" : 1, "id" : "obj-70", - "outlettype" : [ "bang" ] + "outlettype" : [ "bang" ], + "patching_rect" : [ 418.0, -27.0, 20.0, 20.0 ] } } @@ -2068,11 +2157,11 @@ "text" : "/startplaying", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 241.0, 653.0, 75.0, 17.0 ], "numoutlets" : 1, "id" : "obj-63", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 241.0, 653.0, 75.0, 17.0 ] } } @@ -2082,11 +2171,11 @@ "text" : "prepend /midinoteon", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 262.0, 939.0, 116.0, 19.0 ], "numoutlets" : 1, "id" : "obj-69", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 262.0, 939.0, 116.0, 19.0 ] } } @@ -2096,24 +2185,24 @@ "text" : "udpsend 127.0.0.1 12121", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 229.0, 962.0, 141.0, 19.0 ], "numoutlets" : 0, "id" : "obj-68", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 229.0, 962.0, 141.0, 19.0 ] } } , { "box" : { "maxclass" : "message", - "text" : "48 0", + "text" : "77 0", "fontsize" : 10.0, "numinlets" : 2, - "patching_rect" : [ 58.0, 637.0, 50.0, 17.0 ], "numoutlets" : 1, "id" : "obj-67", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 58.0, 637.0, 50.0, 17.0 ] } } @@ -2121,21 +2210,21 @@ "box" : { "maxclass" : "ftm.object", "text" : "sequence midi", - "description" : "sequence midi", + "fontsize" : 12.0, + "ftm_scope" : 2, + "numinlets" : 1, "persistence" : 0, - "ftm_scope" : 2, - "fontsize" : 12.0, + "numoutlets" : 2, "presentation_rect" : [ 712.0, 250.0, 161.785156, 20.0 ], - "ftm_objref_conv" : 0, - "numinlets" : 1, "editor_interface" : "matrix", - "patching_rect" : [ 712.0, 250.0, 161.785156, 20.0 ], - "numoutlets" : 2, "id" : "obj-14", "fontname" : "Verdana", + "ftm_objref_conv" : 0, + "outlettype" : [ "", "" ], "scope" : 0, "name" : "play.seq", - "outlettype" : [ "", "" ] + "patching_rect" : [ 712.0, 250.0, 161.785156, 20.0 ], + "description" : "sequence midi" } } @@ -2143,15 +2232,15 @@ "box" : { "maxclass" : "message", "text" : "import", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 15.0, 57.0, 43.0, 17.0 ], - "numinlets" : 2, - "patching_rect" : [ 712.0, 222.0, 43.0, 17.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-15", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 712.0, 222.0, 43.0, 17.0 ] } } @@ -2159,14 +2248,14 @@ "box" : { "maxclass" : "comment", "text" : "import MIDI file", + "presentation" : 1, "fontsize" : 10.0, + "numinlets" : 1, + "numoutlets" : 0, "presentation_rect" : [ 60.0, 56.0, 90.0, 19.0 ], - "numinlets" : 1, - "patching_rect" : [ 757.0, 221.0, 90.0, 19.0 ], - "numoutlets" : 0, - "presentation" : 1, "id" : "obj-16", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 757.0, 221.0, 90.0, 19.0 ] } } @@ -2176,10 +2265,10 @@ "text" : "play an FTM track", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 60.0, 23.0, 98.0, 19.0 ], "numoutlets" : 0, "id" : "obj-17", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 60.0, 23.0, 98.0, 19.0 ] } } @@ -2189,10 +2278,10 @@ "text" : "ftm.play", "fontsize" : 24.0, "numinlets" : 1, - "patching_rect" : [ 54.0, -10.0, 108.0, 36.0 ], "numoutlets" : 0, "id" : "obj-18", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 54.0, -10.0, 108.0, 36.0 ] } } @@ -2202,10 +2291,10 @@ "text" : "FTM basic objects", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 48.0, -22.0, 97.0, 19.0 ], "numoutlets" : 0, "id" : "obj-19", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 48.0, -22.0, 97.0, 19.0 ] } } @@ -2213,10 +2302,10 @@ "box" : { "maxclass" : "fpic", "numinlets" : 1, + "numoutlets" : 0, + "id" : "obj-20", "patching_rect" : [ 8.0, -25.0, 54.0, 74.0 ], - "numoutlets" : 0, - "pic" : "ftm.help.jpg", - "id" : "obj-20" + "pic" : "ftm.help.jpg" } } @@ -2226,10 +2315,10 @@ "text" : "midiout", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ -9.0, 401.0, 48.0, 19.0 ], "numoutlets" : 0, "id" : "obj-44", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ -9.0, 401.0, 48.0, 19.0 ] } } @@ -2237,15 +2326,15 @@ "box" : { "maxclass" : "message", "text" : "play", + "presentation" : 1, "fontsize" : 18.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 25.0, 17.0, 52.0, 26.0 ], - "numinlets" : 2, - "patching_rect" : [ 424.0, 52.0, 52.0, 26.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-46", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 424.0, 52.0, 52.0, 26.0 ] } } @@ -2253,15 +2342,15 @@ "box" : { "maxclass" : "message", "text" : "stop", + "presentation" : 1, "fontsize" : 18.0, + "numinlets" : 2, + "numoutlets" : 1, "presentation_rect" : [ 93.0, 19.0, 51.0, 26.0 ], - "numinlets" : 2, - "patching_rect" : [ 539.0, 55.0, 51.0, 26.0 ], - "numoutlets" : 1, - "presentation" : 1, "id" : "obj-49", "fontname" : "Verdana", - "outlettype" : [ "" ] + "outlettype" : [ "" ], + "patching_rect" : [ 539.0, 55.0, 51.0, 26.0 ] } } @@ -2271,10 +2360,10 @@ "text" : "set segment (track, begin, end and speed)", "fontsize" : 10.0, "numinlets" : 1, - "patching_rect" : [ 402.0, 91.0, 226.0, 19.0 ], "numoutlets" : 0, "id" : "obj-56", - "fontname" : "Verdana" + "fontname" : "Verdana", + "patching_rect" : [ 402.0, 91.0, 226.0, 19.0 ] } } @@ -2282,23 +2371,401 @@ "box" : { "maxclass" : "panel", "varname" : "startwinwdow_panel[1]", + "presentation" : 1, "border" : 2, + "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 ], - "presentation_rect" : [ 13.0, 13.0, 167.0, 98.0 ], - "numinlets" : 1, - "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], - "patching_rect" : [ 1093.0, 886.0, 100.0, 55.0 ], - "numoutlets" : 0, - "presentation" : 1, - "id" : "obj-5" + "id" : "obj-5", + "patching_rect" : [ 1093.0, 886.0, 100.0, 55.0 ] } } ], "lines" : [ { "patchline" : { - "source" : [ "obj-99", 0 ], - "destination" : [ "obj-60", 1 ], + "source" : [ "obj-41", 0 ], + "destination" : [ "obj-11", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "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 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-82", 1 ], + "destination" : [ "obj-79", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-136", 0 ], + "destination" : [ "obj-137", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-137", 0 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-138", 0 ], + "destination" : [ "obj-136", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-134", 0 ], + "destination" : [ "obj-78", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-63", 0 ], + "destination" : [ "obj-134", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-80", 0 ], + "destination" : [ "obj-83", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-76", 0 ], + "destination" : [ "obj-80", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-78", 0 ], + "destination" : [ "obj-80", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-79", 1 ], + "destination" : [ "obj-76", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-69", 0 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-15", 0 ], + "destination" : [ "obj-14", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-46", 0 ], + "destination" : [ "obj-70", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-63", 0 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-71", 0 ], + "destination" : [ "obj-72", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-72", 0 ], + "destination" : [ "obj-68", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-49", 0 ], + "destination" : [ "obj-71", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "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" : [ ] } @@ -2307,7 +2774,7 @@ , { "patchline" : { "source" : [ "obj-31", 0 ], - "destination" : [ "obj-69", 0 ], + "destination" : [ "obj-29", 1 ], "hidden" : 0, "midpoints" : [ ] } @@ -2315,7 +2782,115 @@ } , { "patchline" : { - "source" : [ "obj-74", 0 ], + "source" : [ "obj-48", 0 ], + "destination" : [ "obj-63", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-82", 1 ], + "destination" : [ "obj-48", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-71", 0 ], + "destination" : [ "obj-48", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-60", 1 ], + "destination" : [ "obj-27", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-60", 0 ], + "destination" : [ "obj-1", 1 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-60", 0 ], + "destination" : [ "obj-82", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-55", 0 ], + "destination" : [ "obj-60", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-25", 0 ], + "destination" : [ "obj-60", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "patchline" : { + "source" : [ "obj-46", 0 ], + "destination" : [ "obj-60", 0 ], + "hidden" : 0, + "midpoints" : [ ] + } + + } +, { + "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" : [ ] @@ -2333,7 +2908,7 @@ } , { "patchline" : { - "source" : [ "obj-73", 0 ], + "source" : [ "obj-74", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ ] @@ -2342,8 +2917,8 @@ } , { "patchline" : { - "source" : [ "obj-64", 0 ], - "destination" : [ "obj-73", 0 ], + "source" : [ "obj-31", 0 ], + "destination" : [ "obj-69", 0 ], "hidden" : 0, "midpoints" : [ ] } @@ -2351,440 +2926,8 @@ } , { "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" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-71", 0 ], - "destination" : [ "obj-48", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-82", 1 ], - "destination" : [ "obj-48", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-48", 0 ], - "destination" : [ "obj-63", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-31", 0 ], - "destination" : [ "obj-29", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-32", 0 ], - "destination" : [ "obj-31", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-33", 0 ], - "destination" : [ "obj-32", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-30", 0 ], - "destination" : [ "obj-31", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-26", 0 ], - "destination" : [ "obj-31", 2 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-83", 0 ], - "destination" : [ "obj-30", 1 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-109", 0 ], - "destination" : [ "obj-30", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-82", 1 ], - "destination" : [ "obj-26", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-27", 0 ], - "destination" : [ "obj-26", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-4", 0 ], - "destination" : [ "obj-1", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-1", 0 ], - "destination" : [ "obj-44", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "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" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-71", 0 ], - "destination" : [ "obj-72", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-63", 0 ], - "destination" : [ "obj-68", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "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" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-82", 1 ], - "destination" : [ "obj-79", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-71", 0 ], - "destination" : [ "obj-110", 0 ], - "hidden" : 0, - "midpoints" : [ ] - } - - } -, { - "patchline" : { - "source" : [ "obj-3", 0 ], - "destination" : [ "obj-109", 0 ], + "source" : [ "obj-99", 0 ], + "destination" : [ "obj-60", 1 ], "hidden" : 0, "midpoints" : [ ] }
--- a/src/BayesianArrayStructure.cpp Fri Nov 18 11:56:32 2011 +0000 +++ b/src/BayesianArrayStructure.cpp Tue Nov 22 13:30:02 2011 +0000 @@ -131,12 +131,15 @@ } void BayesianArrayStructure::setStartPlaying(){ - lastEventTime = 0;//ofGetElapsedTimeMillis(); + + lastEventTime = 0; bestEstimate = 0; - lastBestEstimateUpdateTime = lastEventTime; - //bug somewhere here that prevented offline - //ofGetElapsedTimeMillis();//lastEventTime;// + lastBestEstimateUpdateTime = 0; + if (*realTimeMode) + lastBestEstimateUpdateTime = ofGetElapsedTimeMillis(); + //cannot just be zero - offline bug printf("start playing - best estimate %f\n", lastBestEstimateUpdateTime); + resetArrays(); } @@ -160,15 +163,13 @@ updateCounter = 0; - bestEstimate = 0; - lastBestEstimateUpdateTime = ofGetElapsedTimeMillis(); - //cannot just be zero - offline bug - + printf("bayes reset arrays - best estimate %f\n", lastBestEstimateUpdateTime); setSpeedPrior(speedPriorValue); } + void BayesianArrayStructure::zeroArrays(){ prior.zero(); likelihood.zero(); @@ -199,7 +200,7 @@ //Using timedifferencfe here will make it go wrong. Is time since beginning of playing - //if (*realTimeMode) + if (*realTimeMode) timeDiff = ofGetElapsedTimeMillis() - lastBestEstimateUpdateTime; double speedEstimate;
--- a/src/midiEventHolder.cpp Fri Nov 18 11:56:32 2011 +0000 +++ b/src/midiEventHolder.cpp Tue Nov 22 13:30:02 2011 +0000 @@ -34,7 +34,8 @@ bayesStruct.speedDecayWidth = 20; bayesStruct.speedDecayAmount = 10; - runningInRealTime = true; + runningInRealTime = false; + bayesStruct.realTimeMode = &runningInRealTime; speedPriorValue = 1.0;