Mercurial > hg > midi-score-follower
view maxPatchToPlayFiles/playMidiTranscription3.maxpat @ 52:13194a9dca77 tip
Added exporting of image and text data
author | Andrew N Robertson <andrew.robertson@eecs.qmul.ac.uk> |
---|---|
date | Tue, 17 Jul 2012 22:13:10 +0100 |
parents | 5a11b19906c7 |
children |
line wrap: on
line source
{ "patcher" : { "fileversion" : 1, "rect" : [ 591.0, 44.0, 1089.0, 872.0 ], "bglocked" : 0, "defrect" : [ 591.0, 44.0, 1089.0, 872.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 1, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Verdana", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "newobj", "text" : "loadmess 1", "fontname" : "Verdana", "patching_rect" : [ -28.0, 309.0, 68.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-28", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "146 59 0", "fontname" : "Verdana", "presentation_rect" : [ 10.0, 226.0, 95.0, 17.0 ], "patching_rect" : [ 7.0, 452.0, 95.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-50", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "MIDI FLUSH", "fontname" : "Verdana", "presentation_rect" : [ 272.0, 304.0, 150.0, 19.0 ], "patching_rect" : [ 969.0, 247.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-57", "numoutlets" : 0 } } , { "box" : { "maxclass" : "button", "patching_rect" : [ 261.0, 352.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-47", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "delay 60", "fontname" : "Verdana", "patching_rect" : [ 261.0, 386.0, 54.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-42", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "toggle", "patching_rect" : [ 261.0, 410.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-39", "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "gate", "fontname" : "Verdana", "patching_rect" : [ 261.0, 438.0, 33.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-21", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "/integratedEstimate", "fontname" : "Verdana", "presentation_rect" : [ 364.0, 375.0, 108.0, 17.0 ], "patching_rect" : [ 793.0, 807.0, 108.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-43", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "/MAPestimate", "fontname" : "Verdana", "patching_rect" : [ 768.0, 865.0, 80.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-40", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "sel 0 1", "fontname" : "Verdana", "patching_rect" : [ 698.0, 826.0, 46.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-38", "numoutlets" : 3, "outlettype" : [ "bang", "bang", "" ] } } , { "box" : { "maxclass" : "message", "text" : "/integratedEstimate", "fontname" : "Verdana", "patching_rect" : [ 646.0, 865.0, 110.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-35", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "toggle", "presentation_rect" : [ 364.0, 350.0, 20.0, 20.0 ], "patching_rect" : [ 698.0, 796.0, 20.0, 20.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-22", "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend /minimumSpeedRatio", "fontname" : "Verdana", "presentation_rect" : [ 134.0, 463.0, 164.0, 19.0 ], "patching_rect" : [ 685.0, 657.0, 164.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-13", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "flonum", "fontname" : "Verdana", "minimum" : 0.0, "presentation_rect" : [ 134.0, 436.0, 50.0, 19.0 ], "patching_rect" : [ 685.0, 630.0, 50.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-12", "maximum" : 2.0, "numoutlets" : 2, "outlettype" : [ "float", "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "0", "fontname" : "Verdana", "patching_rect" : [ 86.0, 135.0, 32.5, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-41", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadmess 250", "fontname" : "Verdana", "patching_rect" : [ 141.0, 150.0, 80.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-37", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "number", "fontname" : "Verdana", "presentation_rect" : [ 583.0, 228.0, 50.0, 19.0 ], "patching_rect" : [ 141.0, 173.0, 50.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-36", "numoutlets" : 2, "outlettype" : [ "int", "bang" ] } } , { "box" : { "maxclass" : "comment", "text" : "iterate through notes when used offline", "linecount" : 2, "presentation_linecount" : 2, "fontname" : "Verdana", "presentation_rect" : [ 550.0, 197.0, 150.0, 31.0 ], "patching_rect" : [ 550.0, 207.0, 150.0, 31.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-34", "numoutlets" : 0 } } , { "box" : { "maxclass" : "toggle", "presentation_rect" : [ 523.0, 204.0, 20.0, 20.0 ], "patching_rect" : [ 89.0, 165.0, 20.0, 20.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-11", "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "metro 250", "fontname" : "Verdana", "presentation_rect" : [ 517.0, 230.0, 63.0, 19.0 ], "patching_rect" : [ 90.0, 201.0, 63.0, 19.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-2", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "flonum", "fontname" : "Verdana", "presentation_rect" : [ 282.0, 62.0, 57.0, 21.0 ], "patching_rect" : [ 511.0, 249.0, 57.0, 21.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 12.0, "id" : "obj-99", "numoutlets" : 2, "outlettype" : [ "float", "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "/offline", "fontname" : "Verdana", "patching_rect" : [ 783.0, 954.0, 46.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-74", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "/realtime", "fontname" : "Verdana", "patching_rect" : [ 714.0, 951.0, 56.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-73", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "sel 1 2", "fontname" : "Verdana", "patching_rect" : [ 699.0, 921.0, 46.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-64", "numoutlets" : 3, "outlettype" : [ "bang", "bang", "" ] } } , { "box" : { "maxclass" : "comment", "text" : "for offline", "fontname" : "Verdana", "presentation_rect" : [ 120.0, 86.0, 58.0, 19.0 ], "patching_rect" : [ 932.0, 231.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-62", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "p ftmPlayer", "fontname" : "Verdana", "patching_rect" : [ 45.0, 316.0, 476.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-60", "numoutlets" : 2, "outlettype" : [ "", "" ], "patcher" : { "fileversion" : 1, "rect" : [ 25.0, 69.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 25.0, 69.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "inlet", "patching_rect" : [ 336.0, 56.0, 25.0, 25.0 ], "numinlets" : 0, "id" : "obj-1", "numoutlets" : 1, "outlettype" : [ "float" ], "comment" : "" } } , { "box" : { "maxclass" : "comment", "text" : "midi", "fontname" : "Verdana", "presentation_rect" : [ 52.0, 420.0, 150.0, 19.0 ], "patching_rect" : [ 131.0, 214.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-11", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "p otherFtmControls", "fontname" : "Verdana", "patching_rect" : [ 50.0, 109.0, 108.0, 19.0 ], "numinlets" : 0, "fontsize" : 10.0, "id" : "obj-115", "numoutlets" : 1, "outlettype" : [ "" ], "patcher" : { "fileversion" : 1, "rect" : [ 25.0, 69.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 25.0, 69.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "ordinary file following (x) or else one shot test", "linecount" : 2, "presentation_linecount" : 2, "fontname" : "Verdana", "presentation_rect" : [ 52.0, 186.0, 156.0, 31.0 ], "patching_rect" : [ 98.0, 56.0, 153.0, 31.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-111", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "set speed", "fontname" : "Verdana", "patching_rect" : [ 362.0, 263.0, 57.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-3", "numoutlets" : 0 } } , { "box" : { "maxclass" : "ftm.mess", "fontname" : "Verdana", "presentation_rect" : [ 216.0, 166.0, 92.157234, 17.0 ], "#init" : "", "patching_rect" : [ 216.0, 166.0, 92.157234, 17.0 ], "text" : [ "_loop 500 1500 1." ], "numinlets" : 2, "#triggerall" : 0, "fontsize" : 10.0, "id" : "obj-4", "#untuple" : 0, "ftm_objref_conv" : 0, "numoutlets" : 1, "#loadbang" : 0, "outlettype" : [ "" ], "ftm_scope" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "set segment (begin, end and speed) and loop", "fontname" : "Verdana", "patching_rect" : [ 306.0, 167.0, 240.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-5", "numoutlets" : 0 } } , { "box" : { "maxclass" : "ftm.mess", "fontname" : "Verdana", "presentation_rect" : [ 216.0, 146.0, 142.66507, 17.0 ], "#init" : "", "patching_rect" : [ 216.0, 146.0, 142.66507, 17.0 ], "text" : [ "_play $play.seq 500 1500 1." ], "numinlets" : 2, "#triggerall" : 0, "fontsize" : 10.0, "id" : "obj-6", "#untuple" : 0, "ftm_objref_conv" : 0, "numoutlets" : 1, "#loadbang" : 0, "outlettype" : [ "" ], "ftm_scope" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "set segment (track, begin, end and speed) and play", "fontname" : "Verdana", "patching_rect" : [ 370.0, 147.0, 272.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-7", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "advance to next time", "fontname" : "Verdana", "patching_rect" : [ 88.0, 258.0, 115.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-8", "numoutlets" : 0 } } , { "box" : { "maxclass" : "slider", "patching_rect" : [ 162.0, 238.0, 169.0, 15.0 ], "numinlets" : 1, "id" : "obj-9", "numoutlets" : 1, "size" : 1001.0, "orientation" : 1, "outlettype" : [ "" ], "mult" : 10.0 } } , { "box" : { "maxclass" : "comment", "text" : "locate or jump at given time", "fontname" : "Verdana", "patching_rect" : [ 114.0, 121.0, 151.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-10", "numoutlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "next", "fontname" : "Verdana", "patching_rect" : [ 50.0, 257.0, 33.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-11", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "jump 300.", "fontname" : "Verdana", "patching_rect" : [ 50.0, 119.0, 62.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-12", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "set speed by giving a duration for the current segment", "fontname" : "Verdana", "patching_rect" : [ 336.0, 281.0, 285.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-23", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "set segment (only begin and end) and play straight", "fontname" : "Verdana", "patching_rect" : [ 354.0, 120.0, 270.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-24", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "play current segment", "fontname" : "Verdana", "patching_rect" : [ 86.0, 147.0, 116.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-25", "numoutlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "speed 0.5", "fontname" : "Verdana", "patching_rect" : [ 299.0, 262.0, 58.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-26", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "ftm.mess", "fontname" : "Verdana", "presentation_rect" : [ 274.0, 119.0, 78.998055, 17.0 ], "#init" : "", "patching_rect" : [ 274.0, 119.0, 78.998055, 17.0 ], "text" : [ "_set 0 9999999" ], "numinlets" : 2, "#triggerall" : 0, "fontsize" : 10.0, "id" : "obj-27", "#untuple" : 0, "ftm_objref_conv" : 0, "numoutlets" : 1, "#loadbang" : 0, "outlettype" : [ "" ], "ftm_scope" : 0 } } , { "box" : { "maxclass" : "flonum", "fontname" : "Verdana", "patching_rect" : [ 104.0, 238.0, 56.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-28", "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "triscale" : 0.9 } } , { "box" : { "maxclass" : "message", "text" : "duration 1000", "fontname" : "Verdana", "patching_rect" : [ 252.0, 281.0, 79.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-29", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "speed 2.", "fontname" : "Verdana", "patching_rect" : [ 252.0, 262.0, 52.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-30", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "pause", "fontname" : "Verdana", "patching_rect" : [ 50.0, 192.0, 40.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-31", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "locate 300.", "fontname" : "Verdana", "patching_rect" : [ 50.0, 100.0, 67.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-32", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "sync $1", "fontname" : "Verdana", "patching_rect" : [ 50.0, 238.0, 49.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-33", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "ftm.mess", "fontname" : "Verdana", "presentation_rect" : [ 274.0, 100.0, 136.952179, 17.0 ], "#init" : "", "patching_rect" : [ 274.0, 100.0, 136.952179, 17.0 ], "text" : [ "_set $play.seq 500 1500 1." ], "numinlets" : 2, "#triggerall" : 0, "fontsize" : 10.0, "id" : "obj-40", "#untuple" : 0, "ftm_objref_conv" : 0, "numoutlets" : 1, "#loadbang" : 0, "outlettype" : [ "" ], "ftm_scope" : 0 } } , { "box" : { "maxclass" : "message", "text" : "loop", "fontname" : "Verdana", "patching_rect" : [ 50.0, 165.0, 32.5, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-41", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "button", "patching_rect" : [ 50.0, 292.0, 15.0, 15.0 ], "numinlets" : 1, "id" : "obj-50", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "comment", "text" : "advance to gven time (output all events on the way)", "fontname" : "Verdana", "patching_rect" : [ 326.0, 238.0, 274.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-54", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "locate halted at given time", "fontname" : "Verdana", "patching_rect" : [ 119.0, 101.0, 143.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-55", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "loop current segment", "fontname" : "Verdana", "patching_rect" : [ 85.0, 166.0, 116.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-57", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "stop playing and reset", "fontname" : "Verdana", "patching_rect" : [ 86.0, 212.0, 121.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-58", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "halt playing", "fontname" : "Verdana", "patching_rect" : [ 93.0, 193.0, 67.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-59", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "play current segment straight", "fontname" : "Verdana", "patching_rect" : [ 67.0, 292.0, 158.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-60", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "note that setting a new track stops and resets the player (play and loop start from beginning)", "linecount" : 2, "fontname" : "Verdana", "patching_rect" : [ 277.0, 196.0, 266.0, 31.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-62", "numoutlets" : 0 } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 147.357147, 371.0, 25.0, 25.0 ], "numinlets" : 1, "id" : "obj-114", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-114", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-27", 0 ], "destination" : [ "obj-114", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "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" : [ ] } } , { "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" : { "fontname" : "Arial", "default_fontsize" : 12.0, "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "globalpatchername" : "", "default_fontname" : "Arial" } } } , { "box" : { "maxclass" : "comment", "text" : "syntax:", "fontname" : "Verdana", "patching_rect" : [ 358.0, 168.0, 46.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-2", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "kill hanging notes when looping", "hidden" : 1, "fontname" : "Verdana", "patching_rect" : [ 291.0, 203.0, 168.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-13", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "set segment end", "fontname" : "Verdana", "patching_rect" : [ 433.0, 120.0, 93.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-21", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "change 0 -", "hidden" : 1, "fontname" : "Verdana", "patching_rect" : [ 128.0, 202.0, 62.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-34", "numoutlets" : 3, "outlettype" : [ "", "int", "int" ] } } , { "box" : { "maxclass" : "slider", "patching_rect" : [ 262.0, 120.0, 169.0, 15.0 ], "numinlets" : 1, "id" : "obj-35", "numoutlets" : 1, "size" : 1001.0, "orientation" : 1, "outlettype" : [ "" ], "mult" : 10.0 } } , { "box" : { "maxclass" : "slider", "patching_rect" : [ 187.0, 100.0, 169.0, 15.0 ], "numinlets" : 1, "id" : "obj-36", "numoutlets" : 1, "size" : 1001.0, "orientation" : 1, "outlettype" : [ "" ], "mult" : 10.0 } } , { "box" : { "maxclass" : "message", "text" : "GM", "fontname" : "Verdana", "presentation_rect" : [ 127.0, 442.0, 32.5, 17.0 ], "patching_rect" : [ 203.0, 228.0, 32.5, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-37", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "panic", "fontname" : "Verdana", "presentation_rect" : [ 85.0, 442.0, 37.0, 17.0 ], "patching_rect" : [ 161.0, 228.0, 37.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-38", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "off", "fontname" : "Verdana", "presentation_rect" : [ 48.0, 442.0, 32.5, 17.0 ], "patching_rect" : [ 124.0, 228.0, 32.5, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-39", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "flonum", "fontname" : "Verdana", "patching_rect" : [ 262.0, 143.0, 55.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-42", "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "triscale" : 0.9 } } , { "box" : { "maxclass" : "flonum", "fontname" : "Verdana", "patching_rect" : [ 187.0, 143.0, 55.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-43", "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "triscale" : 0.9 } } , { "box" : { "maxclass" : "newobj", "text" : "ftm.midiunparse", "fontname" : "Verdana", "patching_rect" : [ 112.0, 249.0, 93.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-45", "numoutlets" : 1, "outlettype" : [ "" ], "saved_object_attributes" : { "ftm_objref_conv" : 0, "ftm_scope" : 0 } } } , { "box" : { "maxclass" : "button", "patching_rect" : [ 337.0, 228.0, 15.0, 15.0 ], "numinlets" : 1, "id" : "obj-51", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "flonum", "fontname" : "Verdana", "patching_rect" : [ 215.0, 201.0, 55.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-52", "bgcolor" : [ 0.866667, 0.866667, 0.866667, 1.0 ], "htextcolor" : [ 0.870588, 0.870588, 0.870588, 1.0 ], "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "triscale" : 0.9 } } , { "box" : { "maxclass" : "newobj", "text" : "ftm.play $play.seq", "fontname" : "Verdana", "patching_rect" : [ 112.0, 166.0, 244.0, 28.0 ], "numinlets" : 4, "fontsize" : 18.0, "id" : "obj-53", "numoutlets" : 3, "outlettype" : [ "", "", "" ], "saved_object_attributes" : { "ftm_objref_conv" : 0, "ftm_scope" : 0 } } } , { "box" : { "maxclass" : "comment", "text" : "set segment beginning", "fontname" : "Verdana", "patching_rect" : [ 358.0, 100.0, 123.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-61", "numoutlets" : 0 } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 112.0, 40.0, 25.0, 25.0 ], "numinlets" : 0, "id" : "obj-57", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 112.0, 328.0, 25.0, 25.0 ], "numinlets" : 1, "id" : "obj-58", "numoutlets" : 0, "comment" : "" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 224.0, 328.0, 25.0, 25.0 ], "numinlets" : 1, "id" : "obj-59", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-53", 1 ], "destination" : [ "obj-59", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-45", 0 ], "destination" : [ "obj-58", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-57", 0 ], "destination" : [ "obj-53", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "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 ], "destination" : [ "obj-45", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-45", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-37", 0 ], "destination" : [ "obj-45", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-115", 0 ], "destination" : [ "obj-53", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-53", 3 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "fontname" : "Arial", "default_fontsize" : 12.0, "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "globalpatchername" : "", "default_fontname" : "Arial" } } } , { "box" : { "maxclass" : "message", "text" : "pause", "fontname" : "Verdana", "presentation_rect" : [ 62.0, 86.0, 51.0, 17.0 ], "patching_rect" : [ 226.0, 269.0, 40.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-55", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "hear MIDI playing", "fontname" : "Verdana", "patching_rect" : [ -10.0, 351.0, 150.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-54", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "p weirdStarter", "fontname" : "Verdana", "patching_rect" : [ 240.0, 618.0, 83.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-48", "numoutlets" : 1, "outlettype" : [ "bang" ], "patcher" : { "fileversion" : 1, "rect" : [ 25.0, 69.0, 640.0, 480.0 ], "bglocked" : 0, "defrect" : [ 25.0, 69.0, 640.0, 480.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 12.0, "default_fontface" : 0, "default_fontname" : "Arial", "gridonopen" : 0, "gridsize" : [ 15.0, 15.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "toggle", "patching_rect" : [ 94.0, 159.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-132", "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "button", "patching_rect" : [ 95.0, 217.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-130", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "0", "fontname" : "Verdana", "patching_rect" : [ 92.0, 239.0, 32.5, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-128", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "gate", "fontname" : "Verdana", "patching_rect" : [ 92.0, 192.0, 33.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-126", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "1", "fontname" : "Verdana", "patching_rect" : [ 65.0, 136.0, 32.5, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-125", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "fontname" : "Verdana", "patching_rect" : [ 50.0, 100.0, 56.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-123", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 65.0, 40.0, 25.0, 25.0 ], "numinlets" : 0, "id" : "obj-40", "numoutlets" : 1, "outlettype" : [ "bang" ], "comment" : "" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 106.0, 40.0, 25.0, 25.0 ], "numinlets" : 0, "id" : "obj-41", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 95.0, 331.5, 25.0, 25.0 ], "numinlets" : 1, "id" : "obj-47", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "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" : [ ] } } , { "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 ], "hidden" : 0, "midpoints" : [ ] } } ] } , "saved_object_attributes" : { "fontname" : "Arial", "default_fontsize" : 12.0, "fontface" : 0, "fontsize" : 12.0, "default_fontface" : 0, "globalpatchername" : "", "default_fontname" : "Arial" } } } , { "box" : { "maxclass" : "newobj", "text" : "loadmess 1", "fontname" : "Verdana", "patching_rect" : [ 415.0, 762.0, 68.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-33", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "umenu", "fontname" : "Verdana", "presentation_rect" : [ 232.0, 138.0, 100.0, 19.0 ], "items" : [ "off", ",", "realtime", ",", "offline" ], "types" : [ ], "patching_rect" : [ 418.0, 792.0, 100.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-32", "numoutlets" : 3, "outlettype" : [ "int", "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "switch", "fontname" : "Verdana", "patching_rect" : [ 426.0, 856.0, 46.0, 19.0 ], "numinlets" : 3, "fontsize" : 10.0, "id" : "obj-31", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "gate", "fontname" : "Verdana", "patching_rect" : [ 87.0, 845.0, 33.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-30", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "59 0 6987.81543", "fontname" : "Verdana", "presentation_rect" : [ 32.0, 199.0, 201.0, 17.0 ], "patching_rect" : [ 422.0, 937.0, 201.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-29", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend set", "fontname" : "Verdana", "patching_rect" : [ 495.0, 697.0, 70.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-27", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "append", "fontname" : "Verdana", "patching_rect" : [ 495.0, 725.0, 47.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-26", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "next", "fontname" : "Verdana", "presentation_rect" : [ 22.0, 86.0, 33.0, 17.0 ], "patching_rect" : [ 182.0, 268.0, 33.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-25", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "speed", "fontname" : "Verdana", "presentation_rect" : [ 245.0, 62.0, 150.0, 19.0 ], "patching_rect" : [ 837.0, 516.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-9", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "MIDI representation", "fontname" : "Verdana", "presentation_rect" : [ 16.0, -3.0, 150.0, 19.0 ], "patching_rect" : [ 1141.0, 862.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-24", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "audio", "fontname" : "Verdana", "presentation_rect" : [ 14.0, 119.0, 150.0, 19.0 ], "patching_rect" : [ 1126.0, 847.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-23", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "send notes", "fontname" : "Verdana", "presentation_rect" : [ 149.0, 169.0, 67.0, 19.0 ], "patching_rect" : [ 1243.0, 894.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-10", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "loadmess 1", "fontname" : "Verdana", "patching_rect" : [ 21.0, 762.0, 68.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-3", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "midi playing on/off", "presentation_linecount" : 2, "fontname" : "Verdana", "presentation_rect" : [ 215.0, 84.0, 73.0, 31.0 ], "patching_rect" : [ 712.0, 190.0, 150.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-8", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "plays midi and accompanying audio too", "linecount" : 2, "presentation_linecount" : 2, "fontname" : "Verdana", "presentation_rect" : [ 337.0, 464.0, 150.0, 31.0 ], "patching_rect" : [ 906.0, 904.0, 150.0, 31.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-6", "numoutlets" : 0 } } , { "box" : { "maxclass" : "toggle", "presentation_rect" : [ 188.0, 84.0, 20.0, 20.0 ], "patching_rect" : [ -24.0, 341.0, 20.0, 20.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-4", "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "gate", "fontname" : "Verdana", "patching_rect" : [ -15.0, 373.0, 33.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-1", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadmess 1", "fontname" : "Verdana", "patching_rect" : [ -28.0, 861.0, 68.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-138", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend /setSpeedPrior", "fontname" : "Verdana", "presentation_rect" : [ 128.0, 383.0, 129.0, 19.0 ], "patching_rect" : [ -29.0, 923.0, 129.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-137", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "flonum", "fontname" : "Verdana", "minimum" : 0.0, "presentation_rect" : [ 133.0, 351.0, 50.0, 19.0 ], "patching_rect" : [ -29.0, 884.0, 50.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-136", "numoutlets" : 2, "outlettype" : [ "float", "bang" ] } } , { "box" : { "maxclass" : "button", "patching_rect" : [ 204.0, 687.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-134", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "open", "fontname" : "Verdana", "presentation_rect" : [ 58.0, 170.0, 35.0, 17.0 ], "patching_rect" : [ 888.0, 471.0, 35.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-113", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "0", "fontname" : "Verdana", "patching_rect" : [ 849.0, 471.0, 32.5, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-110", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "1", "fontname" : "Verdana", "presentation_rect" : [ 19.0, 172.0, 32.5, 17.0 ], "patching_rect" : [ 808.0, 471.0, 32.5, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-105", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "sfplay~ 2", "fontname" : "Verdana", "patching_rect" : [ 798.0, 494.0, 58.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-65", "numoutlets" : 3, "outlettype" : [ "signal", "signal", "bang" ], "save" : [ "#N", "sfplay~", "", 2, 120960, 0, "", ";" ] } } , { "box" : { "maxclass" : "toggle", "presentation_rect" : [ 126.0, 169.0, 20.0, 20.0 ], "patching_rect" : [ 74.0, 790.0, 20.0, 20.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-109", "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "zl slice 1", "fontname" : "Verdana", "patching_rect" : [ 51.0, 608.0, 54.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-82", "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "ezdac~", "varname" : "autohelp_dac", "presentation_rect" : [ 186.0, 14.0, 45.0, 45.0 ], "patching_rect" : [ 797.0, 539.0, 45.0, 45.0 ], "numinlets" : 2, "presentation" : 1, "id" : "obj-94", "local" : 1, "numoutlets" : 0 } } , { "box" : { "maxclass" : "panel", "varname" : "startwinwdow_panel", "presentation_rect" : [ 12.0, 136.0, 205.0, 57.0 ], "border" : 2, "patching_rect" : [ 1093.0, 826.0, 100.0, 55.0 ], "bordercolor" : [ 0.392157, 0.792157, 0.117647, 1.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-95", "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "zl join", "fontname" : "Verdana", "patching_rect" : [ 123.0, 777.0, 41.0, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-83", "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "- 0.", "fontname" : "Verdana", "patching_rect" : [ 137.0, 746.0, 32.5, 19.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-80", "numoutlets" : 1, "outlettype" : [ "float" ] } } , { "box" : { "maxclass" : "newobj", "text" : "t l b", "fontname" : "Verdana", "patching_rect" : [ 123.0, 688.0, 32.5, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-79", "numoutlets" : 2, "outlettype" : [ "", "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "cpuclock", "fontname" : "Verdana", "patching_rect" : [ 204.0, 717.0, 53.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-78", "numoutlets" : 1, "outlettype" : [ "float" ] } } , { "box" : { "maxclass" : "newobj", "text" : "cpuclock", "fontname" : "Verdana", "patching_rect" : [ 137.0, 716.0, 53.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-76", "numoutlets" : 1, "outlettype" : [ "float" ] } } , { "box" : { "maxclass" : "button", "patching_rect" : [ 307.0, 525.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-71", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "/stopplaying", "fontname" : "Verdana", "patching_rect" : [ 334.0, 576.0, 73.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-72", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "button", "patching_rect" : [ 419.0, 172.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-70", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "/startplaying", "fontname" : "Verdana", "patching_rect" : [ 241.0, 653.0, 75.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-63", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend /midinoteon", "fontname" : "Verdana", "patching_rect" : [ 262.0, 939.0, 116.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-69", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "udpsend 127.0.0.1 12121", "fontname" : "Verdana", "patching_rect" : [ 229.0, 962.0, 141.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-68", "numoutlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "59 0", "fontname" : "Verdana", "patching_rect" : [ 58.0, 637.0, 50.0, 17.0 ], "numinlets" : 2, "fontsize" : 10.0, "id" : "obj-67", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "ftm.object", "text" : "sequence midi", "fontname" : "Verdana", "persistence" : 0, "presentation_rect" : [ 712.0, 250.0, 161.785156, 20.0 ], "description" : "sequence midi", "editor_interface" : "matrix", "patching_rect" : [ 712.0, 250.0, 161.785156, 20.0 ], "numinlets" : 1, "scope" : 0, "fontsize" : 12.0, "id" : "obj-14", "name" : "play.seq", "ftm_objref_conv" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "ftm_scope" : 2 } } , { "box" : { "maxclass" : "message", "text" : "import", "fontname" : "Verdana", "presentation_rect" : [ 19.0, 57.0, 43.0, 17.0 ], "patching_rect" : [ 712.0, 222.0, 43.0, 17.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-15", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "import MIDI file", "fontname" : "Verdana", "presentation_rect" : [ 60.0, 56.0, 90.0, 19.0 ], "patching_rect" : [ 757.0, 221.0, 90.0, 19.0 ], "numinlets" : 1, "presentation" : 1, "fontsize" : 10.0, "id" : "obj-16", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "play an FTM track", "fontname" : "Verdana", "patching_rect" : [ 60.0, 23.0, 98.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-17", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "ftm.play", "fontname" : "Verdana", "patching_rect" : [ 54.0, -10.0, 108.0, 36.0 ], "numinlets" : 1, "fontsize" : 24.0, "id" : "obj-18", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "FTM basic objects", "fontname" : "Verdana", "patching_rect" : [ 48.0, -22.0, 97.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-19", "numoutlets" : 0 } } , { "box" : { "maxclass" : "fpic", "patching_rect" : [ 8.0, -25.0, 54.0, 74.0 ], "pic" : "ftm.help.jpg", "numinlets" : 1, "id" : "obj-20", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "midiout", "fontname" : "Verdana", "patching_rect" : [ -9.0, 401.0, 48.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-44", "numoutlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "play", "fontname" : "Verdana", "presentation_rect" : [ 18.0, 22.0, 52.0, 26.0 ], "patching_rect" : [ 409.0, 130.0, 52.0, 26.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 18.0, "id" : "obj-46", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "stop", "fontname" : "Verdana", "presentation_rect" : [ 86.0, 22.0, 51.0, 26.0 ], "patching_rect" : [ 306.0, 129.0, 51.0, 26.0 ], "numinlets" : 2, "presentation" : 1, "fontsize" : 18.0, "id" : "obj-49", "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "text" : "set segment (track, begin, end and speed)", "fontname" : "Verdana", "patching_rect" : [ 809.0, 151.0, 226.0, 19.0 ], "numinlets" : 1, "fontsize" : 10.0, "id" : "obj-56", "numoutlets" : 0 } } , { "box" : { "maxclass" : "panel", "varname" : "startwinwdow_panel[1]", "presentation_rect" : [ 12.0, 17.0, 167.0, 98.0 ], "border" : 2, "patching_rect" : [ 1093.0, 886.0, 100.0, 55.0 ], "bordercolor" : [ 0.392157, 0.792157, 0.117647, 1.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-5", "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ], "numoutlets" : 0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-82", 1 ], "destination" : [ "obj-48", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-42", 0 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-47", 0 ], "destination" : [ "obj-42", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-39", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "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" : [ ] } } , { "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-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" : [ ] } } , { "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 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-38", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-38", 1 ], "destination" : [ "obj-40", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-40", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-43", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-40", 0 ], "destination" : [ "obj-43", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-50", 1 ], "hidden" : 0, "midpoints" : [ ] } } ] } }