ampfaaaametaptchumx@cpn{ "patcher" : { "fileversion" : 1, "rect" : [ 136.0, 353.0, 1038.0, 972.0 ], "bgcolor" : [ 0.501961, 0.717647, 0.764706, 1.0 ], "bglocked" : 0, "defrect" : [ 136.0, 353.0, 1038.0, 972.0 ], "openrect" : [ 0.0, 0.0, 0.0, 169.0 ], "openinpresentation" : 1, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 1000, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "button", "outlettype" : [ "bang" ], "patching_rect" : [ 495.0, 232.0, 20.0, 20.0 ], "numinlets" : 1, "id" : "obj-34", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "pack 1. 1.", "outlettype" : [ "" ], "patching_rect" : [ 410.0, 830.0, 56.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-26", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "print", "patching_rect" : [ 317.0, 825.0, 33.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 1, "id" : "obj-25", "fontname" : "Arial Bold", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "print", "patching_rect" : [ 427.0, 890.0, 33.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 1, "id" : "obj-19", "fontname" : "Arial Bold", "numoutlets" : 0 } } , { "box" : { "maxclass" : "live.dial", "hint" : "lag", "annotation" : "Makes the transitions smooth.", "varname" : "lag", "outlettype" : [ "", "float" ], "patching_rect" : [ 445.173523, 763.702454, 44.0, 47.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 469.76181, 6.347384, 44.0, 47.0 ], "id" : "obj-30", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_initial" : [ 1 ], "parameter_type" : 0, "parameter_initial_enable" : 1, "parameter_shortname" : "lag", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "lag", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 2.0, "parameter_unitstyle" : 2, "parameter_mmax" : 1000.0 } } } } , { "box" : { "maxclass" : "newobj", "text" : "line 1.", "outlettype" : [ "", "" ], "patching_rect" : [ 426.0, 856.0, 46.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 3, "id" : "obj-18", "fontname" : "Arial Bold", "numoutlets" : 2 } } , { "box" : { "maxclass" : "gswitch2", "outlettype" : [ "", "" ], "patching_rect" : [ 494.0, 453.0, 39.0, 32.0 ], "numinlets" : 2, "id" : "obj-35", "numoutlets" : 2 } } , { "box" : { "maxclass" : "live.text", "hint" : "mode select", "annotation" : "Selects between triggering modes.", "varname" : "mode", "texton" : "Thresh", "activebgoncolor" : [ 0.858824, 0.858824, 0.858824, 1.0 ], "outlettype" : [ "", "" ], "patching_rect" : [ 580.528137, 205.669403, 57.280239, 22.253944 ], "presentation" : 1, "text" : "Schmitt", "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 198.09314, 5.27499, 48.264462, 20.0 ], "id" : "obj-8", "activebgcolor" : [ 0.858824, 0.858824, 0.858824, 1.0 ], "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_type" : 2, "parameter_initial_enable" : 0, "parameter_shortname" : "mode select", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "mode select", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_enum" : [ "val1", "val2" ], "parameter_exponent" : 1.0, "parameter_unitstyle" : 10, "parameter_mmax" : 1.0 } } } } , { "box" : { "maxclass" : "live.button", "varname" : "live.button[1]", "outlettype" : [ "" ], "patching_rect" : [ 703.223511, 577.032471, 15.0, 15.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 547.278625, 59.564857, 15.0, 15.0 ], "id" : "obj-56", "numoutlets" : 1, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_type" : 2, "parameter_initial_enable" : 0, "parameter_shortname" : "live.button", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "live.button[2]", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_enum" : [ "off", "on" ], "parameter_exponent" : 1.0, "parameter_unitstyle" : 10, "parameter_mmax" : 1.0 } } } } , { "box" : { "maxclass" : "bpatcher", "varname" : "M4L.api.DeviceParameterRemote", "outlettype" : [ "", "", "" ], "patching_rect" : [ 369.906128, 902.359192, 323.94751, 51.398834 ], "name" : "M4L.api.DeviceParameterRemote.maxpat", "args" : [ ], "numinlets" : 3, "id" : "obj-55", "numoutlets" : 3 } } , { "box" : { "maxclass" : "bpatcher", "varname" : "M4L.api.SelectDevice", "outlettype" : [ "" ], "patching_rect" : [ 702.396118, 610.412231, 116.832771, 30.619631 ], "presentation" : 1, "name" : "M4L.api.SelectDevice.maxpat", "args" : [ ], "numinlets" : 1, "presentation_rect" : [ 466.483276, 72.470871, 113.076202, 32.19595 ], "id" : "obj-53", "numoutlets" : 1 } } , { "box" : { "maxclass" : "bpatcher", "varname" : "M4L.api.SelectParameter", "outlettype" : [ "" ], "patching_rect" : [ 704.167603, 658.244324, 116.832771, 30.619631 ], "presentation" : 1, "name" : "M4L.api.SelectParameter.maxpat", "args" : [ ], "numinlets" : 1, "presentation_rect" : [ 466.000885, 103.022697, 111.848572, 34.926208 ], "id" : "obj-52", "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "refresh targets", "patching_rect" : [ 539.890198, 152.851501, 132.0, 18.0 ], "presentation" : 1, "fontsize" : 10.0, "numinlets" : 1, "presentation_rect" : [ 467.680359, 57.356617, 81.0, 18.0 ], "id" : "obj-37", "fontname" : "Arial Bold", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "value", "patching_rect" : [ 558.199951, 76.600006, 132.0, 18.0 ], "presentation" : 1, "fontsize" : 10.0, "numinlets" : 1, "presentation_rect" : [ 489.681549, 138.990021, 36.0, 18.0 ], "id" : "obj-44", "fontname" : "Arial Bold", "numoutlets" : 0 } } , { "box" : { "maxclass" : "live.numbox", "hint" : "tableSize", "annotation" : "tableSize", "varname" : "tableSize[1]", "outlettype" : [ "", "float" ], "patching_rect" : [ 283.000031, 905.399963, 66.0, 15.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 522.98407, 139.522095, 36.0, 15.0 ], "id" : "obj-43", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_initial" : [ 2.0 ], "parameter_type" : 0, "parameter_initial_enable" : 1, "parameter_shortname" : "tableSize", "parameter_invisible" : 2, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "tableSize[1]", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 1, "parameter_mmax" : 100000.0 } } } } , { "box" : { "maxclass" : "comment", "text" : "table size", "patching_rect" : [ 567.199951, 51.000008, 132.0, 18.0 ], "presentation" : 1, "fontsize" : 10.0, "numinlets" : 1, "presentation_rect" : [ 517.483032, 3.005145, 56.0, 18.0 ], "id" : "obj-42", "fontname" : "Arial Bold", "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "trig", "patching_rect" : [ 552.899963, 78.5, 132.0, 18.0 ], "presentation" : 1, "fontsize" : 10.0, "numinlets" : 1, "presentation_rect" : [ 200.198242, 28.2836, 27.0, 18.0 ], "id" : "obj-41", "fontname" : "Arial Bold", "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "varname" : "u874001662", "text" : "pattr", "outlettype" : [ "", "", "" ], "patching_rect" : [ 357.0, 530.0, 46.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 1, "id" : "obj-89", "fontname" : "Arial Bold", "numoutlets" : 3, "restore" : [ 1.0, 0.0 ], "saved_object_attributes" : { "parameter_enable" : 1 } , "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_type" : 3, "parameter_initial_enable" : 0, "parameter_shortname" : "u915001252", "parameter_invisible" : 1, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "u915001252", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 10, "parameter_mmax" : 127.0 } } } } , { "box" : { "maxclass" : "number", "outlettype" : [ "int", "bang" ], "patching_rect" : [ 189.0, 662.0, 50.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 1, "id" : "obj-39", "fontname" : "Arial Bold", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "- 1", "outlettype" : [ "int" ], "patching_rect" : [ 265.0, 567.0, 32.5, 18.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-33", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "zl lookup", "outlettype" : [ "", "" ], "patching_rect" : [ 294.0, 760.0, 54.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-32", "fontname" : "Arial Bold", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "counter", "outlettype" : [ "int", "", "", "int" ], "patching_rect" : [ 213.0, 605.0, 73.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 5, "id" : "obj-22", "fontname" : "Arial Bold", "numoutlets" : 4 } } , { "box" : { "maxclass" : "live.numbox", "hint" : "tableSize", "annotation" : "tableSize", "varname" : "tableSize", "outlettype" : [ "", "float" ], "patching_rect" : [ 301.0, 497.0, 36.0, 15.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 528.112671, 26.175146, 36.0, 15.0 ], "id" : "obj-13", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_initial" : [ 2.0 ], "parameter_type" : 1, "parameter_initial_enable" : 1, "parameter_shortname" : "tableSize", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "tableSize", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 0, "parameter_mmax" : 10.0 } } } } , { "box" : { "maxclass" : "multislider", "varname" : "multislider", "outlettype" : [ "", "" ], "setminmax" : [ 0.0, 1.0 ], "patching_rect" : [ 327.0, 575.0, 272.0, 141.0 ], "presentation" : 1, "size" : 2, "numinlets" : 1, "presentation_rect" : [ 255.39093, 5.681593, 204.900009, 148.621048 ], "id" : "obj-11", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "allpass~ 5 5", "outlettype" : [ "signal" ], "patching_rect" : [ 180.99173, 178.51239, 67.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 3, "id" : "obj-29", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "live.gain~", "varname" : "boost", "outlettype" : [ "signal", "signal", "", "float", "list" ], "patching_rect" : [ 164.462799, 33.884289, 48.0, 136.0 ], "presentation" : 1, "parameter_enable" : 1, "shownumber" : 0, "numinlets" : 2, "presentation_rect" : [ -1.803157, 4.956416, 48.0, 149.0 ], "id" : "obj-27", "display_range" : [ -30.0, 30.0 ], "numoutlets" : 5, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : -30.0, "parameter_initial" : [ 0.0 ], "parameter_type" : 0, "parameter_initial_enable" : 0, "parameter_shortname" : "boost", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "boost", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 4, "parameter_mmax" : 30.0 } } } } , { "box" : { "maxclass" : "live.slider", "hint" : "reset", "varname" : "reset", "outlettype" : [ "", "float" ], "patching_rect" : [ 602.940674, 289.951172, 41.0, 84.0 ], "presentation" : 1, "parameter_enable" : 1, "shownumber" : 0, "numinlets" : 1, "presentation_rect" : [ 216.429138, 46.676216, 35.0, 114.0 ], "id" : "obj-16", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_initial" : [ 0.012 ], "parameter_type" : 0, "parameter_initial_enable" : 1, "parameter_shortname" : "reset", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "reset", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 1, "parameter_mmax" : 1.0 } } } } , { "box" : { "maxclass" : "live.slider", "hint" : "set", "varname" : "set", "outlettype" : [ "", "float" ], "patching_rect" : [ 519.173584, 288.702484, 41.0, 84.0 ], "presentation" : 1, "parameter_enable" : 1, "shownumber" : 0, "numinlets" : 1, "presentation_rect" : [ 188.429138, 46.676216, 35.0, 114.0 ], "id" : "obj-14", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_initial" : [ 0.34 ], "parameter_type" : 0, "parameter_initial_enable" : 1, "parameter_shortname" : "set", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "set", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 1, "parameter_mmax" : 1.0 } } } } , { "box" : { "maxclass" : "live.dial", "hint" : "release", "varname" : "release", "outlettype" : [ "", "float" ], "patching_rect" : [ 367.173553, 322.702484, 44.0, 47.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 98.445671, 5.042702, 44.0, 47.0 ], "id" : "obj-12", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 1.0, "parameter_initial" : [ 660 ], "parameter_type" : 0, "parameter_initial_enable" : 1, "parameter_shortname" : "release", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "release", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 2.0, "parameter_unitstyle" : 1, "parameter_mmax" : 1000.0 } } } } , { "box" : { "maxclass" : "live.dial", "hint" : "attack", "varname" : "attack", "outlettype" : [ "", "float" ], "patching_rect" : [ 312.173553, 290.702484, 44.0, 47.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 49.696922, 4.738625, 44.0, 47.0 ], "id" : "obj-7", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 1.0, "parameter_initial" : [ 29 ], "parameter_type" : 0, "parameter_initial_enable" : 1, "parameter_shortname" : "attack", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "attack", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 2.0, "parameter_unitstyle" : 1, "parameter_mmax" : 500.0 } } } } , { "box" : { "maxclass" : "live.dial", "hint" : "lopass", "varname" : "lopass", "outlettype" : [ "", "float" ], "patching_rect" : [ 263.173553, 273.702484, 44.0, 47.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 143.65094, 6.677473, 44.0, 47.0 ], "id" : "obj-2", "numoutlets" : 2, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.1, "parameter_initial" : [ 40 ], "parameter_type" : 0, "parameter_initial_enable" : 1, "parameter_shortname" : "lopass", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "lopass", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 2.0, "parameter_unitstyle" : 3, "parameter_mmax" : 100.0 } } } } , { "box" : { "maxclass" : "newobj", "text" : "slide~ 29 659", "outlettype" : [ "signal" ], "patching_rect" : [ 222.173553, 364.702484, 72.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 3, "id" : "obj-28", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "live.button", "varname" : "live.button[2]", "outlettype" : [ "" ], "patching_rect" : [ 213.173553, 488.702454, 15.0, 15.0 ], "presentation" : 1, "parameter_enable" : 1, "numinlets" : 1, "presentation_rect" : [ 227.430847, 30.167313, 15.0, 15.0 ], "id" : "obj-10", "numoutlets" : 1, "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_type" : 2, "parameter_initial_enable" : 0, "parameter_shortname" : "live.button", "parameter_invisible" : 0, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "live.button[1]", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_enum" : [ "off", "on" ], "parameter_exponent" : 1.0, "parameter_unitstyle" : 10, "parameter_mmax" : 1.0 } } } } , { "box" : { "maxclass" : "newobj", "text" : "abs~", "outlettype" : [ "signal" ], "patching_rect" : [ 179.223145, 288.97522, 34.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 1, "id" : "obj-24", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "scope~", "trigger" : 1, "calccount" : 138, "patching_rect" : [ 58.173553, 406.702484, 148.0, 50.0 ], "presentation" : 1, "range" : [ 0.0, 1.0 ], "numinlets" : 2, "presentation_rect" : [ 47.786938, 62.395901, 136.631638, 93.180321 ], "id" : "obj-23", "triglevel" : 0.01, "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "thresh~ 0.012 0.34", "outlettype" : [ "signal" ], "patching_rect" : [ 220.173553, 411.702484, 97.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 3, "id" : "obj-61", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "plugout~", "outlettype" : [ "signal", "signal" ], "patching_rect" : [ 233.702484, 46.561981, 53.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-5", "fontname" : "Arial Bold", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "+~", "outlettype" : [ "signal" ], "patching_rect" : [ 166.223145, 264.97522, 32.5, 18.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-17", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "edge~", "outlettype" : [ "bang", "bang" ], "patching_rect" : [ 221.173553, 442.702454, 44.0, 20.0 ], "fontsize" : 12.0, "numinlets" : 1, "id" : "obj-15", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "svf~ 40", "outlettype" : [ "signal", "signal", "signal", "signal" ], "patching_rect" : [ 202.173553, 329.702484, 59.5, 20.0 ], "fontsize" : 12.0, "numinlets" : 3, "id" : "obj-9", "fontname" : "Arial", "numoutlets" : 4 } } , { "box" : { "maxclass" : "newobj", "text" : "*~", "outlettype" : [ "signal" ], "patching_rect" : [ 196.223145, 238.975204, 32.5, 20.0 ], "fontsize" : 12.0, "numinlets" : 2, "id" : "obj-6", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "*~", "outlettype" : [ "signal" ], "patching_rect" : [ 154.223145, 239.975204, 32.5, 20.0 ], "fontsize" : 12.0, "numinlets" : 2, "id" : "obj-4", "fontname" : "Arial", "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "hilbert~", "outlettype" : [ "signal", "signal" ], "patching_rect" : [ 167.223145, 207.975204, 50.0, 20.0 ], "fontsize" : 12.0, "numinlets" : 1, "id" : "obj-3", "fontname" : "Arial", "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "plugin~", "outlettype" : [ "signal", "signal" ], "patching_rect" : [ 214.586777, 4.21488, 46.0, 18.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-1", "fontname" : "Arial Bold", "numoutlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "size $1", "outlettype" : [ "" ], "patching_rect" : [ 299.0, 532.0, 50.0, 16.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-21", "fontname" : "Arial Bold", "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "hidden $1", "outlettype" : [ "" ], "patching_rect" : [ 622.438049, 262.205109, 57.0, 16.0 ], "fontsize" : 10.0, "numinlets" : 2, "id" : "obj-20", "fontname" : "Arial Bold", "numoutlets" : 1 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-34", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-34", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ 504.5, 264.475586, 612.440674, 264.475586 ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-34", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-52", 0 ], "destination" : [ "obj-55", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-53", 0 ], "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-56", 0 ], "destination" : [ "obj-53", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-89", 1 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-33", 0 ], "destination" : [ "obj-22", 4 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-39", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-32", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-33", 0 ], "destination" : [ "obj-22", 3 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-32", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-61", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-17", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-4", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 1 ], "destination" : [ "obj-6", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 1 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 1 ], "destination" : [ "obj-5", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-61", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-23", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-9", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-28", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-28", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-61", 1 ], "hidden" : 0, "midpoints" : [ 612.440674, 520.951172, 486.057129, 520.951172, 486.057129, 396.702484, 268.673553, 396.702484 ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-27", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 1 ], "destination" : [ "obj-27", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-27", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-27", 1 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ 590.028137, 428.46167, 503.5, 428.46167 ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-61", 2 ], "hidden" : 0, "midpoints" : [ 528.673584, 387.202484, 307.673553, 387.202484 ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-35", 1 ], "hidden" : 0, "midpoints" : [ 528.673584, 404.851257, 523.5, 404.851257 ] } } , { "patchline" : { "source" : [ "obj-35", 1 ], "destination" : [ "obj-61", 1 ], "hidden" : 0, "midpoints" : [ 523.5, 512.0, 442.586792, 512.0, 442.586792, 404.702484, 268.673553, 404.702484 ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-43", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-55", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-30", 0 ], "destination" : [ "obj-26", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-32", 0 ], "destination" : [ "obj-26", 0 ], "hidden" : 0, "midpoints" : [ ] } } ], "parameters" : { "obj-14" : [ "set", "set", 0 ], "obj-10" : [ "live.button[1]", "live.button", 0 ], "obj-16" : [ "reset", "reset", 0 ], "obj-55::obj-37::obj-14" : [ "live-path[2]", "live-path", 0 ], "obj-30" : [ "lag", "lag", 0 ], "obj-52::obj-19::obj-19" : [ "saved-int[2]", "saved-int", 0 ], "obj-12" : [ "release", "release", 0 ], "obj-52::obj-16::obj-14" : [ "live-path[1]", "live-path", 0 ], "obj-2" : [ "lopass", "lopass", 0 ], "obj-8" : [ "mode select", "mode select", 0 ], "obj-13" : [ "tableSize", "tableSize", 0 ], "obj-89" : [ "u915001252", "u915001252", 0 ], "obj-7" : [ "attack", "attack", 0 ], "obj-56" : [ "live.button[2]", "live.button", 0 ], "obj-43" : [ "tableSize[1]", "tableSize", 0 ], "obj-53::obj-19::obj-19" : [ "saved-int", "saved-int", 0 ], "obj-27" : [ "boost", "boost", 0 ] } , "latency" : 0 } } { "patcher" : { "fileversion" : 1, "rect" : [ 1970.0, 45.0, 618.0, 611.0 ], "bglocked" : 0, "defrect" : [ 1970.0, 45.0, 618.0, 611.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 1, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "newobj", "text" : "route bang", "patching_rect" : [ 128.0, 248.0, 62.0, 18.0 ], "numinlets" : 1, "id" : "obj-22", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 392.0, 488.0, 22.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-37", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "the restore of the correct menu index has to wait until the menu is filled completely with all device names", "linecount" : 7, "patching_rect" : [ 328.0, 488.0, 83.0, 87.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-34", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "t b l", "patching_rect" : [ 192.0, 336.0, 34.5, 18.0 ], "numinlets" : 1, "id" : "obj-28", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "<------------", "patching_rect" : [ 368.0, 248.0, 54.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-26", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "every time the live.object receives a new id we ask it for its path and save this path with the set to restore the correct device assignment", "linecount" : 6, "patching_rect" : [ 440.0, 192.0, 136.0, 75.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-25", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "we save the selected menu index with our live set", "linecount" : 3, "patching_rect" : [ 440.0, 416.0, 111.0, 41.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-32", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "int", "patching_rect" : [ 416.0, 488.0, 34.5, 18.0 ], "numinlets" : 2, "id" : "obj-21", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend set", "patching_rect" : [ 416.0, 512.0, 67.0, 18.0 ], "numinlets" : 1, "id" : "obj-20", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "varname" : "selected-device-index", "text" : "M4L.api.SaveInteger", "patching_rect" : [ 432.0, 456.0, 107.0, 18.0 ], "numinlets" : 1, "id" : "obj-19", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "int" ], "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "getpath", "patching_rect" : [ 224.0, 168.0, 47.0, 16.0 ], "numinlets" : 2, "id" : "obj-18", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "varname" : "M4L.api.SaveLivePath", "text" : "M4L.api.SaveLivePath", "patching_rect" : [ 224.0, 248.0, 116.0, 18.0 ], "numinlets" : 1, "id" : "obj-16", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "gets the parameter names for all parameters\n\n look at what is inside by double clicking (locked) or Cmd/Ctrl-Double-Click (unlocked)", "linecount" : 9, "patching_rect" : [ 16.0, 304.0, 97.0, 110.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-14", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 104.0, 304.0, 22.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-6", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "ask for a list of all parameter ids", "linecount" : 2, "patching_rect" : [ 16.0, 200.0, 92.0, 29.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-5", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 104.0, 200.0, 22.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-2", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "Build a menu of all available parameters. ", "patching_rect" : [ 232.0, 24.0, 224.0, 19.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-49", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Select Parameter", "patching_rect" : [ 16.0, 16.0, 218.0, 34.0 ], "numinlets" : 1, "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-1", "fontsize" : 24.0, "numoutlets" : 0, "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "Creates a list of all available parameters and fills it into an ubumenu. Use this patch inside a bpatcher object to display the menu. Outputs the id of the selected parameter (to be input in a M4L.api.SelectDeviceParameter object).", "linecount" : 3, "patching_rect" : [ 16.0, 48.0, 555.0, 44.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-50", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Italic" } } , { "box" : { "maxclass" : "outlet", "prototypename" : "M4L.Arial10", "patching_rect" : [ 200.0, 552.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-52", "numoutlets" : 0, "comment" : "" } } , { "box" : { "maxclass" : "inlet", "prototypename" : "M4L.Arial10", "patching_rect" : [ 128.0, 104.0, 18.0, 18.0 ], "numinlets" : 0, "id" : "obj-51", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "message", "text" : "clear", "patching_rect" : [ 416.0, 304.0, 35.0, 16.0 ], "numinlets" : 2, "id" : "obj-107", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "umenu", "arrowcolor" : [ 0.22, 0.22, 0.22, 1.0 ], "patching_rect" : [ 208.0, 384.0, 100.0, 18.0 ], "hltcolor" : [ 0.92, 0.92, 0.92, 1.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-105", "fontsize" : 10.0, "arrowbgcolor" : [ 0.86, 0.86, 0.86, 1.0 ], "numoutlets" : 3, "framecolor" : [ 0.5, 0.5, 0.5, 1.0 ], "types" : [ ], "outlettype" : [ "int", "", "" ], "discolor" : [ 0.43, 0.43, 0.43, 1.0 ], "textcolor" : [ 0.15, 0.15, 0.15, 1.0 ], "togcolor" : [ 0.55, 0.55, 0.55, 1.0 ], "arrowlink" : 1, "presentation_rect" : [ 8.0, 8.0, 100.0, 18.0 ], "items" : [ ], "fontname" : "Arial Bold", "arrowframe" : 1, "textcolor2" : [ 0.15, 0.15, 0.15, 1.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "route parameters path", "patching_rect" : [ 128.0, 224.0, 211.0, 18.0 ], "numinlets" : 1, "id" : "obj-15", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "", "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "get parameters", "patching_rect" : [ 128.0, 168.0, 83.0, 16.0 ], "numinlets" : 2, "id" : "obj-13", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b b l b", "patching_rect" : [ 128.0, 136.0, 306.5, 18.0 ], "numinlets" : 1, "id" : "obj-12", "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "bang", "bang", "", "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "live.object", "patching_rect" : [ 128.0, 200.0, 211.0, 18.0 ], "numinlets" : 2, "id" : "obj-8", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend id", "patching_rect" : [ 200.0, 520.0, 63.0, 18.0 ], "numinlets" : 1, "id" : "obj-11", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "zl mth", "patching_rect" : [ 200.0, 496.0, 41.0, 18.0 ], "numinlets" : 2, "id" : "obj-10", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b i i", "patching_rect" : [ 208.0, 416.0, 46.0, 18.0 ], "numinlets" : 1, "id" : "obj-9", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "bang", "int", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "zl 666 delace", "patching_rect" : [ 280.0, 304.0, 80.0, 18.0 ], "numinlets" : 2, "id" : "obj-7", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t l l", "patching_rect" : [ 128.0, 272.0, 33.0, 18.0 ], "numinlets" : 1, "id" : "obj-4", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "patching_rect" : [ 192.0, 464.0, 168.0, 16.0 ], "numinlets" : 2, "id" : "obj-3", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "M4L.api.GetParameterNames", "patching_rect" : [ 128.0, 304.0, 149.0, 18.0 ], "numinlets" : 1, "id" : "obj-17", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "fontname" : "Arial Bold" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-22", 1 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ 201.5, 365.0, 425.5, 365.0 ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ 233.5, 271.0, 437.0, 271.0, 437.0, 128.0, 137.5, 128.0 ] } } , { "patchline" : { "source" : [ "obj-17", 1 ], "destination" : [ "obj-28", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-28", 1 ], "destination" : [ "obj-105", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 1 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 2 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-21", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-105", 0 ], "hidden" : 0, "midpoints" : [ 425.5, 536.0, 551.0, 536.0, 551.0, 375.0, 217.5, 375.0 ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 1 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 2 ], "destination" : [ "obj-8", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 3 ], "destination" : [ "obj-107", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-51", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-107", 0 ], "destination" : [ "obj-105", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 1 ], "destination" : [ "obj-10", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-105", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 1 ], "destination" : [ "obj-3", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 1 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } ], "parameters" : { "obj-16::obj-14" : [ "live-path", "live-path", 0 ], "obj-19::obj-19" : [ "saved-int", "saved-int", 0 ] } } } { "patcher" : { "fileversion" : 1, "rect" : [ 703.0, 70.0, 539.0, 553.0 ], "bglocked" : 0, "defrect" : [ 703.0, 70.0, 539.0, 553.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 184.0, 464.0, 21.0, 18.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-29", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "one list for the parameter names", "linecount" : 2, "patching_rect" : [ 80.0, 464.0, 106.0, 29.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-28", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "< one list for the parameter names in the format that is capable of setting the ubumenu", "linecount" : 4, "patching_rect" : [ 392.0, 448.0, 120.0, 52.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-30", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "------>", "patching_rect" : [ 176.0, 304.0, 38.0, 18.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-24", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "the live.object is set to every parameter id one after the other and asked for its name", "linecount" : 4, "patching_rect" : [ 16.0, 304.0, 118.0, 52.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-25", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "help live.object", "patching_rect" : [ 16.0, 360.0, 83.0, 16.0 ], "id" : "obj-26", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "bgcolor" : [ 0.984314, 0.819608, 0.05098, 1.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "pcontrol", "hidden" : 1, "patching_rect" : [ 16.0, 384.0, 50.0, 18.0 ], "id" : "obj-27", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "Generate lists of parameter names.", "patching_rect" : [ 280.0, 24.0, 209.0, 19.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-49", "fontname" : "Arial Bold Italic", "numinlets" : 1, "fontsize" : 11.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Get Parameter Names", "patching_rect" : [ 16.0, 16.0, 259.0, 34.0 ], "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-23", "fontname" : "Arial Bold Italic", "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "numinlets" : 1, "fontsize" : 24.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "Will take a list of parameter ids as input and generate two lists of parameter names, one with no special format and the other ready to be input into an ubumenu.", "linecount" : 2, "patching_rect" : [ 16.0, 48.0, 442.0, 32.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-50", "fontname" : "Arial Italic", "numinlets" : 1, "fontsize" : 11.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "append \\,", "patching_rect" : [ 312.0, 408.0, 55.0, 18.0 ], "id" : "obj-22", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend append", "patching_rect" : [ 312.0, 384.0, 90.0, 18.0 ], "id" : "obj-17", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "patching_rect" : [ 312.0, 448.0, 50.0, 16.0 ], "id" : "obj-16", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 312.0, 496.0, 18.0, 18.0 ], "id" : "obj-15", "numinlets" : 1, "numoutlets" : 0, "comment" : "list of parameter names ready for an ubumenu" } } , { "box" : { "maxclass" : "newobj", "text" : "/ 2", "patching_rect" : [ 144.0, 208.0, 32.0, 18.0 ], "id" : "obj-21", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "t l l b b", "patching_rect" : [ 88.0, 136.0, 314.5, 18.0 ], "id" : "obj-14", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "", "", "bang", "bang" ] } } , { "box" : { "maxclass" : "newobj", "text" : "zl 666 len", "patching_rect" : [ 144.0, 184.0, 55.0, 18.0 ], "id" : "obj-13", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "sel", "patching_rect" : [ 120.0, 352.0, 43.0, 18.0 ], "id" : "obj-12", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "bang", "" ] } } , { "box" : { "maxclass" : "message", "text" : "1", "patching_rect" : [ 192.0, 208.0, 31.0, 16.0 ], "id" : "obj-11", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "counter", "patching_rect" : [ 120.0, 280.0, 84.0, 18.0 ], "id" : "obj-10", "fontname" : "Arial Bold", "numinlets" : 5, "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ] } } , { "box" : { "maxclass" : "message", "patching_rect" : [ 216.0, 464.0, 50.0, 16.0 ], "id" : "obj-9", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "set", "patching_rect" : [ 384.0, 280.0, 34.0, 16.0 ], "id" : "obj-8", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "route name", "patching_rect" : [ 216.0, 328.0, 65.0, 18.0 ], "id" : "obj-7", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend append", "patching_rect" : [ 216.0, 352.0, 89.0, 18.0 ], "id" : "obj-6", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "message", "text" : "get name", "patching_rect" : [ 216.0, 280.0, 55.0, 16.0 ], "id" : "obj-4", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "t b b i", "patching_rect" : [ 120.0, 232.0, 210.0, 18.0 ], "id" : "obj-3", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ] } } , { "box" : { "maxclass" : "newobj", "text" : "live.object", "patching_rect" : [ 216.0, 304.0, 60.0, 18.0 ], "id" : "obj-5", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend id", "patching_rect" : [ 312.0, 280.0, 63.0, 18.0 ], "id" : "obj-20", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "route id", "patching_rect" : [ 88.0, 208.0, 51.0, 18.0 ], "id" : "obj-19", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "iter", "patching_rect" : [ 88.0, 184.0, 27.0, 18.0 ], "id" : "obj-18", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 216.0, 496.0, 18.0, 18.0 ], "id" : "obj-2", "numinlets" : 1, "numoutlets" : 0, "comment" : "unformatted list of parameter names" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 88.0, 104.0, 18.0, 18.0 ], "id" : "obj-1", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "list of parameter ids" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-14", 1 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 1 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-10", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-5", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-12", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 3 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 2 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 2 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 1 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-27", 0 ], "hidden" : 1, "midpoints" : [ ] } } ] } } { "patcher" : { "fileversion" : 1, "rect" : [ 471.0, 360.0, 474.0, 360.0 ], "bglocked" : 0, "defrect" : [ 471.0, 360.0, 474.0, 360.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "outlet", "prototypename" : "M4L.Arial10", "patching_rect" : [ 232.0, 320.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-2", "numoutlets" : 0, "comment" : "path out" } } , { "box" : { "maxclass" : "comment", "text" : "< we only want the value to be sent out once when the patch is loaded to avoid loops", "linecount" : 4, "patching_rect" : [ 184.0, 168.0, 114.0, 52.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-5", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "t l b", "patching_rect" : [ 112.0, 216.0, 32.5, 18.0 ], "numinlets" : 1, "id" : "obj-9", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "1", "patching_rect" : [ 112.0, 168.0, 32.5, 16.0 ], "numinlets" : 2, "id" : "obj-8", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "0", "patching_rect" : [ 72.0, 168.0, 32.5, 16.0 ], "numinlets" : 2, "id" : "obj-7", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "gate", "patching_rect" : [ 112.0, 192.0, 32.5, 18.0 ], "numinlets" : 2, "id" : "obj-6", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "patching_rect" : [ 112.0, 144.0, 55.0, 18.0 ], "numinlets" : 1, "id" : "obj-4", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "outlet", "prototypename" : "M4L.Arial10", "patching_rect" : [ 112.0, 320.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-52", "numoutlets" : 0, "comment" : "id out" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 176.0, 104.0, 18.0, 18.0 ], "numinlets" : 0, "id" : "obj-1", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "This patch is used to store a path in a LiveSet.", "patching_rect" : [ 200.0, 32.0, 254.0, 19.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-49", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Save Live Path", "patching_rect" : [ 16.0, 16.0, 184.0, 34.0 ], "numinlets" : 1, "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-33", "fontsize" : 24.0, "numoutlets" : 0, "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "accepts a path WITHOUT a \"path\" attribute in front, stores it in a pattr - on patcher load it will recall it, set a live.path object to it and output the corresponding id", "linecount" : 2, "patching_rect" : [ 16.0, 48.0, 437.0, 32.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-50", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Italic" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend path", "patching_rect" : [ 112.0, 256.0, 74.0, 18.0 ], "numinlets" : 1, "id" : "obj-29", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "live.path", "patching_rect" : [ 112.0, 296.0, 51.0, 18.0 ], "numinlets" : 1, "id" : "obj-18", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "", "", "" ], "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "varname" : "live-path", "text" : "pattr live-path", "patching_rect" : [ 176.0, 144.0, 77.0, 18.0 ], "numinlets" : 1, "id" : "obj-14", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "", "", "" ], "fontname" : "Arial Bold", "restore" : [ 0.0 ], "saved_object_attributes" : { "parameter_enable" : 1 } , "saved_attribute_attributes" : { "valueof" : { "parameter_mmin" : 0.0, "parameter_type" : 3, "parameter_initial_enable" : 0, "parameter_shortname" : "live-path", "parameter_invisible" : 1, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "live-path", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 10, "parameter_mmax" : 127.0 } } } } ], "lines" : [ { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-6", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 1 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ 135.0, 241.0, 64.0, 241.0, 64.0, 160.0, 81.5, 160.0 ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-29", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-29", 0 ], "hidden" : 0, "midpoints" : [ ] } } ], "parameters" : { "obj-14" : [ "live-path", "live-path", 0 ] } } } { "patcher" : { "fileversion" : 1, "rect" : [ 2777.0, 687.0, 388.0, 306.0 ], "bglocked" : 0, "defrect" : [ 2777.0, 687.0, 388.0, 306.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "message", "text" : "1", "patching_rect" : [ 88.0, 160.0, 32.5, 16.0 ], "id" : "obj-3", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "loadbang", "patching_rect" : [ 88.0, 136.0, 55.0, 18.0 ], "id" : "obj-1", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "comment", "text" : "< we only want the value to be sent out once when the patch is loaded to avoid loops", "linecount" : 4, "patching_rect" : [ 160.0, 184.0, 114.0, 52.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-5", "fontname" : "Arial", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "t i b", "patching_rect" : [ 88.0, 208.0, 32.5, 18.0 ], "id" : "obj-9", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "int", "bang" ] } } , { "box" : { "maxclass" : "message", "text" : "0", "patching_rect" : [ 48.0, 160.0, 32.5, 16.0 ], "id" : "obj-7", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "newobj", "text" : "gate 0", "patching_rect" : [ 88.0, 184.0, 39.0, 18.0 ], "id" : "obj-6", "fontname" : "Arial Bold", "numinlets" : 2, "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ] } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "Save and restore an integer number.", "patching_rect" : [ 160.0, 32.0, 209.0, 19.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-26", "fontname" : "Arial Bold Italic", "numinlets" : 1, "fontsize" : 11.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Save an Int", "patching_rect" : [ 16.0, 16.0, 145.0, 34.0 ], "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-27", "fontname" : "Arial Bold Italic", "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "numinlets" : 1, "fontsize" : 24.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "Saves an integer number with the live set and restores it without letting anything through when set", "linecount" : 2, "patching_rect" : [ 16.0, 48.0, 339.0, 32.0 ], "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-28", "fontname" : "Arial Italic", "numinlets" : 1, "fontsize" : 11.0, "numoutlets" : 0 } } , { "box" : { "maxclass" : "inlet", "hint" : "int in", "annotation" : "", "patching_rect" : [ 152.0, 112.0, 18.0, 18.0 ], "id" : "obj-2", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "outlet", "hint" : "restored int out (no thru !)", "annotation" : "", "prototypename" : "M4L.Arial10", "patching_rect" : [ 88.0, 248.0, 18.0, 18.0 ], "id" : "obj-52", "numinlets" : 1, "numoutlets" : 0, "comment" : "" } } , { "box" : { "maxclass" : "newobj", "varname" : "saved-int", "text" : "pattr saved-int", "patching_rect" : [ 152.0, 136.0, 79.0, 18.0 ], "id" : "obj-19", "fontname" : "Arial Bold", "numinlets" : 1, "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "", "", "" ], "restore" : [ 0.0 ], "saved_object_attributes" : { "parameter_enable" : 1 } , "saved_attribute_attributes" : { "valueof" : { "parameter_type" : 0, "parameter_initial_enable" : 0, "parameter_shortname" : "saved-int", "parameter_invisible" : 1, "parameter_modmax" : 127.0, "parameter_annotation_name" : "", "parameter_longname" : "saved-int", "parameter_modmin" : 0.0, "parameter_linknames" : 0, "parameter_modmode" : 0, "parameter_info" : "", "parameter_order" : 0, "parameter_units" : "", "parameter_speedlim" : 0, "parameter_steps" : 0, "parameter_exponent" : 1.0, "parameter_unitstyle" : 0, "parameter_mmax" : 127.0, "parameter_mmin" : 0.0 } } } } ], "lines" : [ { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 1 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ 111.0, 233.0, 23.0, 233.0, 23.0, 154.0, 57.5, 154.0 ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-6", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } ], "parameters" : { "obj-19" : [ "saved-int", "saved-int", 0 ] } } } { "patcher" : { "fileversion" : 1, "rect" : [ 1639.0, 127.0, 551.0, 594.0 ], "bglocked" : 0, "defrect" : [ 1639.0, 127.0, 551.0, 594.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 1, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "newobj", "text" : "int", "patching_rect" : [ 392.0, 456.0, 34.5, 18.0 ], "numinlets" : 2, "id" : "obj-24", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b l", "patching_rect" : [ 208.0, 304.0, 34.5, 18.0 ], "numinlets" : 1, "id" : "obj-18", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 368.0, 456.0, 22.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-37", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "the restore of the correct menu index has to wait until the menu is filled completely with all device names", "linecount" : 7, "patching_rect" : [ 304.0, 456.0, 83.0, 87.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-34", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "we save the selected menu index with our live set", "linecount" : 3, "patching_rect" : [ 408.0, 368.0, 111.0, 41.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-32", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend set", "patching_rect" : [ 408.0, 480.0, 67.0, 18.0 ], "numinlets" : 1, "id" : "obj-21", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t i b", "patching_rect" : [ 408.0, 432.0, 32.5, 18.0 ], "numinlets" : 1, "id" : "obj-20", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "int", "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "varname" : "selected-device-index", "text" : "M4L.api.SaveInteger", "patching_rect" : [ 408.0, 408.0, 107.0, 18.0 ], "numinlets" : 1, "id" : "obj-19", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "int" ], "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "gets the device names for all devices", "linecount" : 3, "patching_rect" : [ 24.0, 280.0, 86.0, 41.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-14", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 104.0, 280.0, 22.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-15", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "takes a list of track ids and creates a list of all available devices", "linecount" : 5, "patching_rect" : [ 24.0, 208.0, 86.0, 64.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-6", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 104.0, 208.0, 22.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-13", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "create a list of all track ids", "linecount" : 2, "patching_rect" : [ 24.0, 184.0, 86.0, 29.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-5", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 104.0, 184.0, 22.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-8", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "< look at what is inside by double clicking (locked) or Cmd/Ctrl-Double-Click (unlocked)", "linecount" : 6, "patching_rect" : [ 280.0, 184.0, 86.0, 75.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-2", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "Build a menu of all available devices. ", "patching_rect" : [ 184.0, 24.0, 209.0, 19.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-49", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Select Device", "patching_rect" : [ 16.0, 16.0, 167.0, 34.0 ], "numinlets" : 1, "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-1", "fontsize" : 24.0, "numoutlets" : 0, "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "Scans through all tracks, creates a llist of all available devices and fills it into an ubumenu. Use this patch inside a bpatcher object to display the menu. Outputs the id of the selected device (to be input in a M4L.api.SelectParameter object).", "linecount" : 3, "patching_rect" : [ 16.0, 48.0, 502.0, 44.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-50", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Italic" } } , { "box" : { "maxclass" : "button", "prototypename" : "M4L.patching", "patching_rect" : [ 152.0, 136.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-12", "numoutlets" : 1, "outlettype" : [ "bang" ] } } , { "box" : { "maxclass" : "outlet", "prototypename" : "M4L.Arial10", "patching_rect" : [ 216.0, 496.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-52", "numoutlets" : 0, "comment" : "" } } , { "box" : { "maxclass" : "inlet", "prototypename" : "M4L.Arial10", "patching_rect" : [ 152.0, 104.0, 18.0, 18.0 ], "numinlets" : 0, "id" : "obj-51", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "message", "text" : "clear", "patching_rect" : [ 352.0, 280.0, 35.0, 16.0 ], "numinlets" : 2, "id" : "obj-36", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b b", "patching_rect" : [ 152.0, 160.0, 219.0, 18.0 ], "numinlets" : 1, "id" : "obj-35", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "bang", "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "umenu", "arrowcolor" : [ 0.22, 0.22, 0.22, 1.0 ], "patching_rect" : [ 224.0, 344.0, 100.0, 18.0 ], "hltcolor" : [ 0.92, 0.92, 0.92, 1.0 ], "numinlets" : 1, "presentation" : 1, "id" : "obj-33", "fontsize" : 10.0, "arrowbgcolor" : [ 0.86, 0.86, 0.86, 1.0 ], "numoutlets" : 3, "framecolor" : [ 0.5, 0.5, 0.5, 1.0 ], "types" : [ ], "outlettype" : [ "int", "", "" ], "discolor" : [ 0.43, 0.43, 0.43, 1.0 ], "textcolor" : [ 0.15, 0.15, 0.15, 1.0 ], "togcolor" : [ 0.55, 0.55, 0.55, 1.0 ], "arrowlink" : 1, "presentation_rect" : [ 8.0, 8.0, 100.0, 18.0 ], "items" : [ ], "fontname" : "Arial Bold", "arrowframe" : 1, "textcolor2" : [ 0.15, 0.15, 0.15, 1.0 ] } } , { "box" : { "maxclass" : "newobj", "text" : "prepend id", "patching_rect" : [ 216.0, 464.0, 63.0, 18.0 ], "numinlets" : 1, "id" : "obj-11", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "zl mth", "patching_rect" : [ 216.0, 440.0, 41.0, 18.0 ], "numinlets" : 2, "id" : "obj-10", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b i i", "patching_rect" : [ 224.0, 368.0, 46.0, 18.0 ], "numinlets" : 1, "id" : "obj-9", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "bang", "int", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "zl delace", "patching_rect" : [ 288.0, 280.0, 53.0, 18.0 ], "numinlets" : 2, "id" : "obj-7", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t l l", "patching_rect" : [ 152.0, 240.0, 33.0, 18.0 ], "numinlets" : 1, "id" : "obj-4", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "8 9 10 11", "patching_rect" : [ 200.0, 408.0, 141.0, 16.0 ], "numinlets" : 2, "id" : "obj-3", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "M4L.api.GetAllDeviceIds", "patching_rect" : [ 152.0, 208.0, 127.0, 18.0 ], "numinlets" : 1, "id" : "obj-22", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "M4L.api.GetDeviceNames", "patching_rect" : [ 152.0, 280.0, 131.0, 18.0 ], "numinlets" : 1, "id" : "obj-17", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "M4L.api.GetAllTrackIds", "patching_rect" : [ 152.0, 184.0, 121.0, 18.0 ], "numinlets" : 1, "id" : "obj-16", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "fontname" : "Arial Bold" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-17", 1 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 0, "midpoints" : [ 217.5, 327.0, 401.5, 327.0 ] } } , { "patchline" : { "source" : [ "obj-24", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-24", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ 417.5, 510.0, 521.0, 510.0, 521.0, 336.0, 233.5, 336.0 ] } } , { "patchline" : { "source" : [ "obj-18", 1 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 2 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 0 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 1 ], "destination" : [ "obj-10", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-33", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 1 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ 431.0, 456.0, 529.0, 456.0, 529.0, 128.0, 161.5, 128.0 ] } } , { "patchline" : { "source" : [ "obj-36", 0 ], "destination" : [ "obj-33", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 1 ], "destination" : [ "obj-36", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-51", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-52", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 1 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 1 ], "destination" : [ "obj-3", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } ], "parameters" : { "obj-19::obj-19" : [ "saved-int", "saved-int", 0 ] } } } { "patcher" : { "fileversion" : 1, "rect" : [ 983.0, 76.0, 465.0, 521.0 ], "bglocked" : 0, "defrect" : [ 983.0, 76.0, 465.0, 521.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "newobj", "text" : "route bang", "patching_rect" : [ 168.0, 384.0, 62.0, 18.0 ], "numinlets" : 1, "id" : "obj-21", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 128.0, 320.0, 21.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-20", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 96.0, 160.0, 21.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-19", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "after the live.object points to the current Live set we create alist of available tracks by asking it for all list of tracks it contains", "linecount" : 6, "patching_rect" : [ 16.0, 320.0, 112.0, 75.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-16", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "help live.object", "patching_rect" : [ 16.0, 400.0, 83.0, 16.0 ], "numinlets" : 2, "id" : "obj-17", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "bgcolor" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "pcontrol", "hidden" : 1, "patching_rect" : [ 16.0, 424.0, 50.0, 18.0 ], "numinlets" : 1, "id" : "obj-18", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "first we set the live.path to the current set and feed the live.object below with its ID", "linecount" : 5, "patching_rect" : [ 16.0, 160.0, 95.0, 64.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-53", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "help live.path", "patching_rect" : [ 16.0, 224.0, 74.0, 16.0 ], "numinlets" : 2, "id" : "obj-52", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "bgcolor" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "pcontrol", "hidden" : 1, "patching_rect" : [ 16.0, 248.0, 50.0, 18.0 ], "numinlets" : 1, "id" : "obj-51", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "Create a list of all track ids.", "patching_rect" : [ 216.0, 24.0, 209.0, 19.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-49", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Get All Track Ids", "patching_rect" : [ 16.0, 16.0, 201.0, 34.0 ], "numinlets" : 1, "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-1", "fontsize" : 24.0, "numoutlets" : 0, "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "Will create a list of all available Tracks, including master, return and send tracks.", "patching_rect" : [ 16.0, 48.0, 403.0, 19.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-50", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Italic" } } , { "box" : { "maxclass" : "newobj", "text" : "route master_track return_tracks tracks", "patching_rect" : [ 168.0, 352.0, 209.0, 18.0 ], "numinlets" : 1, "id" : "obj-2", "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "", "", "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "get master_track", "patching_rect" : [ 168.0, 240.0, 93.0, 16.0 ], "numinlets" : 2, "id" : "obj-15", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "get return_tracks", "patching_rect" : [ 192.0, 264.0, 94.0, 16.0 ], "numinlets" : 2, "id" : "obj-14", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend append", "patching_rect" : [ 168.0, 408.0, 90.0, 18.0 ], "numinlets" : 1, "id" : "obj-13", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "set", "patching_rect" : [ 376.0, 408.0, 34.0, 16.0 ], "numinlets" : 2, "id" : "obj-12", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b b", "patching_rect" : [ 120.0, 112.0, 275.0, 18.0 ], "numinlets" : 1, "id" : "obj-11", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "bang", "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "patching_rect" : [ 144.0, 448.0, 50.0, 16.0 ], "numinlets" : 2, "id" : "obj-10", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "get tracks", "patching_rect" : [ 216.0, 288.0, 60.0, 16.0 ], "numinlets" : 2, "id" : "obj-8", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b b b b l", "patching_rect" : [ 144.0, 192.0, 115.0, 18.0 ], "numinlets" : 1, "id" : "obj-7", "fontsize" : 10.0, "numoutlets" : 5, "outlettype" : [ "bang", "bang", "bang", "bang", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "live.object", "patching_rect" : [ 168.0, 320.0, 91.0, 18.0 ], "numinlets" : 2, "id" : "obj-5", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "live.path", "patching_rect" : [ 120.0, 160.0, 66.0, 18.0 ], "numinlets" : 1, "id" : "obj-4", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "", "", "" ], "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "path live_set", "patching_rect" : [ 120.0, 136.0, 71.0, 16.0 ], "numinlets" : 2, "id" : "obj-3", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 120.0, 80.0, 18.0, 18.0 ], "numinlets" : 0, "id" : "obj-6", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 144.0, 480.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-9", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-21", 1 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 1 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 2 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-52", 0 ], "destination" : [ "obj-51", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 4 ], "destination" : [ "obj-5", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 3 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 2 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 1 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-15", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 1 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 1 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } } { "patcher" : { "fileversion" : 1, "rect" : [ 1632.0, 243.0, 595.0, 601.0 ], "bglocked" : 0, "defrect" : [ 1632.0, 243.0, 595.0, 601.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "< one list for the device names in the format that is capable of setting the ubumenu", "linecount" : 4, "patching_rect" : [ 440.0, 448.0, 110.0, 52.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-30", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 192.0, 464.0, 21.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-29", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "one list for the device names", "linecount" : 2, "patching_rect" : [ 88.0, 464.0, 106.0, 29.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-28", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "------>", "patching_rect" : [ 176.0, 296.0, 38.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-24", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "the live.object is set to every device id one after the other and asked for its name", "linecount" : 4, "patching_rect" : [ 16.0, 296.0, 112.0, 52.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-25", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "help live.object", "patching_rect" : [ 16.0, 352.0, 83.0, 16.0 ], "numinlets" : 2, "id" : "obj-26", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "bgcolor" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "pcontrol", "hidden" : 1, "patching_rect" : [ 16.0, 376.0, 50.0, 18.0 ], "numinlets" : 1, "id" : "obj-27", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "Generate lists of device names.", "patching_rect" : [ 240.0, 24.0, 209.0, 19.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-49", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Get Device Names", "patching_rect" : [ 16.0, 16.0, 226.0, 34.0 ], "numinlets" : 1, "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-23", "fontsize" : 24.0, "numoutlets" : 0, "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "Will take a list of device ids as input and generate two lists of device names, one with no special format and the other ready to be input into an ubumenu.", "linecount" : 2, "patching_rect" : [ 16.0, 48.0, 415.0, 32.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-50", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Italic" } } , { "box" : { "maxclass" : "newobj", "text" : "append \\,", "patching_rect" : [ 336.0, 400.0, 55.0, 18.0 ], "numinlets" : 1, "id" : "obj-22", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend append", "patching_rect" : [ 336.0, 376.0, 90.0, 18.0 ], "numinlets" : 1, "id" : "obj-17", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "patching_rect" : [ 336.0, 448.0, 98.0, 16.0 ], "numinlets" : 2, "id" : "obj-16", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 336.0, 496.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-15", "numoutlets" : 0, "comment" : "list of devies names ready for an ubumenu" } } , { "box" : { "maxclass" : "newobj", "text" : "/ 2", "patching_rect" : [ 152.0, 192.0, 32.0, 18.0 ], "numinlets" : 2, "id" : "obj-21", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t l l b b", "patching_rect" : [ 96.0, 136.0, 314.5, 18.0 ], "numinlets" : 1, "id" : "obj-14", "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "", "", "bang", "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "zl 666 len", "patching_rect" : [ 152.0, 168.0, 55.0, 18.0 ], "numinlets" : 2, "id" : "obj-13", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "sel", "patching_rect" : [ 128.0, 344.0, 43.0, 18.0 ], "numinlets" : 2, "id" : "obj-12", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "1", "patching_rect" : [ 192.0, 192.0, 31.0, 16.0 ], "numinlets" : 2, "id" : "obj-11", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "counter", "patching_rect" : [ 128.0, 272.0, 84.0, 18.0 ], "numinlets" : 5, "id" : "obj-10", "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "patching_rect" : [ 224.0, 464.0, 100.0, 16.0 ], "numinlets" : 2, "id" : "obj-9", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "set", "patching_rect" : [ 392.0, 272.0, 34.0, 16.0 ], "numinlets" : 2, "id" : "obj-8", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "route name", "patching_rect" : [ 224.0, 320.0, 65.0, 18.0 ], "numinlets" : 1, "id" : "obj-7", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend append", "patching_rect" : [ 224.0, 344.0, 89.0, 18.0 ], "numinlets" : 1, "id" : "obj-6", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "get name", "patching_rect" : [ 224.0, 272.0, 55.0, 16.0 ], "numinlets" : 2, "id" : "obj-4", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b b i", "patching_rect" : [ 128.0, 224.0, 211.0, 18.0 ], "numinlets" : 1, "id" : "obj-3", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "live.object", "patching_rect" : [ 224.0, 296.0, 60.0, 18.0 ], "numinlets" : 2, "id" : "obj-5", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend id", "patching_rect" : [ 320.0, 272.0, 63.0, 18.0 ], "numinlets" : 1, "id" : "obj-20", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "route id", "patching_rect" : [ 96.0, 192.0, 51.0, 18.0 ], "numinlets" : 1, "id" : "obj-19", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "iter", "patching_rect" : [ 96.0, 168.0, 27.0, 18.0 ], "numinlets" : 1, "id" : "obj-18", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 224.0, 496.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-2", "numoutlets" : 0, "comment" : "unformatted list of device names" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 96.0, 104.0, 18.0, 18.0 ], "numinlets" : 0, "id" : "obj-1", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "list of device ids" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 1 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-26", 0 ], "destination" : [ "obj-27", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-22", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-17", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-5", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 2 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-16", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 3 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-1", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 2 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-16", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-12", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-5", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-10", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 1 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 1 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } ] } } { "patcher" : { "fileversion" : 1, "rect" : [ 627.0, 182.0, 608.0, 505.0 ], "bglocked" : 0, "defrect" : [ 627.0, 182.0, 608.0, 505.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "newobj", "text" : "route bang", "patching_rect" : [ 280.0, 336.0, 62.0, 18.0 ], "numinlets" : 1, "id" : "obj-25", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "text" : "-->", "patching_rect" : [ 120.0, 160.0, 23.0, 18.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-23", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "we iterate through the llist of tracks which has the format \"id 1 id 2 id 3\" - so we get rid of the \"id\" tokens and send the id to get the devices", "linecount" : 6, "patching_rect" : [ 16.0, 160.0, 125.0, 75.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-24", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "comment", "text" : "< we set the live.object to the id of the track and ask it for its devices", "linecount" : 3, "patching_rect" : [ 464.0, 256.0, 120.0, 41.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-16", "fontsize" : 10.0, "numoutlets" : 0, "fontname" : "Arial" } } , { "box" : { "maxclass" : "message", "text" : "help live.object", "patching_rect" : [ 464.0, 296.0, 83.0, 16.0 ], "numinlets" : 2, "id" : "obj-17", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "bgcolor" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "pcontrol", "hidden" : 1, "patching_rect" : [ 464.0, 320.0, 50.0, 18.0 ], "numinlets" : 1, "id" : "obj-22", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "Create a list of all device ids.", "patching_rect" : [ 232.0, 24.0, 209.0, 19.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-49", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Get All Device Ids", "patching_rect" : [ 16.0, 16.0, 214.0, 34.0 ], "numinlets" : 1, "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "id" : "obj-1", "fontsize" : 24.0, "numoutlets" : 0, "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "fontname" : "Arial Bold Italic" } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "Will take a list of track ids as input, scan all those tracks for their devices and output a list of device ids.", "linecount" : 2, "patching_rect" : [ 16.0, 48.0, 403.0, 32.0 ], "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "id" : "obj-50", "fontsize" : 11.0, "numoutlets" : 0, "fontname" : "Arial Italic" } } , { "box" : { "maxclass" : "newobj", "text" : "/ 2", "patching_rect" : [ 208.0, 184.0, 32.0, 18.0 ], "numinlets" : 2, "id" : "obj-21", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t l l b b", "patching_rect" : [ 144.0, 128.0, 314.5, 18.0 ], "numinlets" : 1, "id" : "obj-14", "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "", "", "bang", "bang" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "zl 666 len", "patching_rect" : [ 208.0, 160.0, 55.0, 18.0 ], "numinlets" : 2, "id" : "obj-13", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "sel", "patching_rect" : [ 184.0, 360.0, 43.0, 18.0 ], "numinlets" : 2, "id" : "obj-12", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "bang", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "1", "patching_rect" : [ 248.0, 184.0, 31.0, 16.0 ], "numinlets" : 2, "id" : "obj-11", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "counter", "patching_rect" : [ 184.0, 256.0, 84.0, 18.0 ], "numinlets" : 5, "id" : "obj-10", "fontsize" : 10.0, "numoutlets" : 4, "outlettype" : [ "int", "", "", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "patching_rect" : [ 280.0, 408.0, 145.0, 16.0 ], "numinlets" : 2, "id" : "obj-9", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "set", "patching_rect" : [ 440.0, 360.0, 33.0, 16.0 ], "numinlets" : 2, "id" : "obj-8", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "route devices", "patching_rect" : [ 280.0, 312.0, 76.0, 18.0 ], "numinlets" : 1, "id" : "obj-7", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend append", "patching_rect" : [ 280.0, 360.0, 89.0, 18.0 ], "numinlets" : 1, "id" : "obj-6", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "message", "text" : "get devices", "patching_rect" : [ 280.0, 256.0, 66.0, 16.0 ], "numinlets" : 2, "id" : "obj-4", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "t b b i", "patching_rect" : [ 184.0, 208.0, 211.0, 18.0 ], "numinlets" : 1, "id" : "obj-3", "fontsize" : 10.0, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "int" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "live.object", "patching_rect" : [ 280.0, 288.0, 60.0, 18.0 ], "numinlets" : 2, "id" : "obj-2", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "prepend id", "patching_rect" : [ 376.0, 256.0, 63.0, 18.0 ], "numinlets" : 1, "id" : "obj-20", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "route id", "patching_rect" : [ 144.0, 184.0, 59.0, 18.0 ], "numinlets" : 1, "id" : "obj-19", "fontsize" : 10.0, "numoutlets" : 2, "outlettype" : [ "", "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "newobj", "text" : "iter", "patching_rect" : [ 144.0, 160.0, 27.0, 18.0 ], "numinlets" : 1, "id" : "obj-18", "fontsize" : 10.0, "numoutlets" : 1, "outlettype" : [ "" ], "fontname" : "Arial Bold" } } , { "box" : { "maxclass" : "inlet", "patching_rect" : [ 144.0, 96.0, 18.0, 18.0 ], "numinlets" : 0, "id" : "obj-5", "numoutlets" : 1, "outlettype" : [ "" ], "comment" : "" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 280.0, 440.0, 18.0, 18.0 ], "numinlets" : 1, "id" : "obj-15", "numoutlets" : 0, "comment" : "" } } ], "lines" : [ { "patchline" : { "source" : [ "obj-25", 1 ], "destination" : [ "obj-6", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-7", 0 ], "destination" : [ "obj-25", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 1 ], "destination" : [ "obj-13", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-13", 0 ], "destination" : [ "obj-21", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-17", 0 ], "destination" : [ "obj-22", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-4", 0 ], "destination" : [ "obj-2", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 0 ], "destination" : [ "obj-10", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 1 ], "destination" : [ "obj-4", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-3", 2 ], "destination" : [ "obj-20", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-8", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-6", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-12", 0 ], "destination" : [ "obj-9", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-10", 0 ], "destination" : [ "obj-12", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 3 ], "destination" : [ "obj-8", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 2 ], "destination" : [ "obj-11", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-5", 0 ], "destination" : [ "obj-14", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-14", 0 ], "destination" : [ "obj-18", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-9", 0 ], "destination" : [ "obj-15", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-19", 1 ], "destination" : [ "obj-3", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-11", 0 ], "destination" : [ "obj-10", 2 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-2", 0 ], "destination" : [ "obj-7", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-19", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-20", 0 ], "destination" : [ "obj-2", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-21", 0 ], "destination" : [ "obj-12", 1 ], "hidden" : 0, "midpoints" : [ ] } } ] } } { "patcher" : { "fileversion" : 1, "rect" : [ 661.0, 206.0, 817.0, 599.0 ], "bglocked" : 0, "defrect" : [ 661.0, 206.0, 817.0, 599.0 ], "openrect" : [ 0.0, 0.0, 0.0, 0.0 ], "openinpresentation" : 0, "default_fontsize" : 10.0, "default_fontface" : 0, "default_fontname" : "Arial Bold", "gridonopen" : 0, "gridsize" : [ 8.0, 8.0 ], "gridsnaponopen" : 0, "toolbarvisible" : 1, "boxanimatetime" : 200, "imprint" : 0, "enablehscroll" : 1, "enablevscroll" : 1, "devicewidth" : 0.0, "boxes" : [ { "box" : { "maxclass" : "comment", "text" : "-->", "fontsize" : 10.0, "patching_rect" : [ 184.0, 392.0, 21.0, 18.0 ], "id" : "obj-76", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "t l l", "outlettype" : [ "", "" ], "fontsize" : 10.0, "patching_rect" : [ 504.0, 328.0, 100.5, 18.0 ], "id" : "obj-75", "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 2 } } , { "box" : { "maxclass" : "newobj", "text" : "live.remote~", "fontsize" : 10.0, "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "patching_rect" : [ 208.0, 392.0, 69.0, 18.0 ], "id" : "obj-74", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "device parameter id", "fontsize" : 10.0, "patching_rect" : [ 312.0, 136.0, 101.0, 18.0 ], "id" : "obj-30", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "-->", "fontsize" : 10.0, "patching_rect" : [ 64.0, 328.0, 21.0, 18.0 ], "id" : "obj-34", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "scale 0. 1.", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 208.0, 248.0, 89.5, 18.0 ], "id" : "obj-35", "fontname" : "Arial Bold", "numinlets" : 6, "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "< every time the live.object is set to a new id we also issue a \"getpath\" message and save this path into this patcher \n\nOn load it is restored to recall the parameter assignment.", "linecount" : 7, "fontsize" : 10.0, "patching_rect" : [ 536.0, 488.0, 149.0, 87.0 ], "id" : "obj-36", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "varname" : "M4L.api.SaveLivePath[1]", "text" : "M4L.api.SaveLivePath", "outlettype" : [ "", "" ], "fontsize" : 10.0, "color" : [ 0.545098, 0.85098, 0.592157, 1.0 ], "patching_rect" : [ 408.0, 520.0, 116.0, 18.0 ], "id" : "obj-37", "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "getpath", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 440.0, 328.0, 47.0, 16.0 ], "id" : "obj-38", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "help live.object", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 640.0, 336.0, 83.0, 16.0 ], "id" : "obj-39", "fontname" : "Arial Bold", "numinlets" : 2, "bgcolor" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "pcontrol", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 640.0, 360.0, 50.0, 18.0 ], "id" : "obj-40", "hidden" : 1, "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : " at first we have to initialise this patch by sending in a parameter id \n\nit will set the live.object and the live.remote~ to this parameter and ask for its min and max values for conversion and output them", "linecount" : 9, "fontsize" : 10.0, "patching_rect" : [ 640.0, 224.0, 135.0, 110.0 ], "id" : "obj-42", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "clip 0. 1.", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 208.0, 192.0, 66.0, 18.0 ], "id" : "obj-44", "fontname" : "Arial Bold", "numinlets" : 3, "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "text" : "bang outputs value", "linecount" : 3, "fontsize" : 10.0, "patching_rect" : [ 24.0, 328.0, 44.0, 41.0 ], "id" : "obj-45", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "newobj", "text" : "clip 0. 1.", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 136.0, 248.0, 66.0, 18.0 ], "id" : "obj-57", "fontname" : "Arial Bold", "numinlets" : 3, "numoutlets" : 1 } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 344.0, 496.0, 18.0, 18.0 ], "id" : "obj-58", "numinlets" : 1, "numoutlets" : 0, "comment" : "min" } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 376.0, 496.0, 18.0, 18.0 ], "id" : "obj-59", "numinlets" : 1, "numoutlets" : 0, "comment" : "max" } } , { "box" : { "maxclass" : "newobj", "text" : "route value min max path", "outlettype" : [ "", "", "", "", "" ], "fontsize" : 10.0, "patching_rect" : [ 312.0, 424.0, 147.0, 18.0 ], "id" : "obj-60", "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 5 } } , { "box" : { "maxclass" : "newobj", "text" : "route bang", "outlettype" : [ "", "" ], "fontsize" : 10.0, "patching_rect" : [ 88.0, 192.0, 67.0, 18.0 ], "id" : "obj-62", "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 2 } } , { "box" : { "maxclass" : "message", "text" : "get value", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 88.0, 328.0, 58.0, 16.0 ], "id" : "obj-63", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "outlet", "patching_rect" : [ 312.0, 496.0, 18.0, 18.0 ], "id" : "obj-64", "numinlets" : 1, "numoutlets" : 0, "comment" : "value out" } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "" ], "patching_rect" : [ 208.0, 160.0, 18.0, 18.0 ], "id" : "obj-65", "numinlets" : 0, "numoutlets" : 1, "comment" : "raw value [0...1]" } } , { "box" : { "maxclass" : "message", "text" : "get min", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 312.0, 328.0, 50.0, 16.0 ], "id" : "obj-66", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "message", "text" : "get max", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 376.0, 328.0, 52.0, 16.0 ], "id" : "obj-67", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "t b b b l", "outlettype" : [ "bang", "bang", "bang", "" ], "fontsize" : 10.0, "patching_rect" : [ 312.0, 288.0, 210.5, 18.0 ], "id" : "obj-68", "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 4 } } , { "box" : { "maxclass" : "newobj", "text" : "live.object", "outlettype" : [ "" ], "fontsize" : 10.0, "color" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "patching_rect" : [ 312.0, 392.0, 211.0, 18.0 ], "id" : "obj-69", "fontname" : "Arial Bold", "numinlets" : 2, "numoutlets" : 1 } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "" ], "patching_rect" : [ 312.0, 160.0, 18.0, 18.0 ], "id" : "obj-70", "numinlets" : 0, "numoutlets" : 1, "comment" : "parameter id" } } , { "box" : { "maxclass" : "inlet", "outlettype" : [ "" ], "patching_rect" : [ 88.0, 160.0, 18.0, 18.0 ], "id" : "obj-71", "numinlets" : 0, "numoutlets" : 1, "comment" : "bang to output value, float to set value" } } , { "box" : { "maxclass" : "comment", "text" : "a float in here will be scaled below and set the value ", "linecount" : 3, "fontsize" : 10.0, "patching_rect" : [ 160.0, 128.0, 128.0, 41.0 ], "id" : "obj-72", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "a float in here will directly set the value", "linecount" : 2, "fontsize" : 10.0, "patching_rect" : [ 40.0, 128.0, 107.0, 29.0 ], "id" : "obj-73", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "text" : "we use live.remote~ to set the value to get a better timing. It lso will not generate any UNDO steps.", "linecount" : 4, "fontsize" : 10.0, "patching_rect" : [ 40.0, 384.0, 144.0, 52.0 ], "id" : "obj-29", "fontname" : "Arial", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "message", "text" : "help live.remote~", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 40.0, 432.0, 92.0, 16.0 ], "id" : "obj-18", "fontname" : "Arial Bold", "numinlets" : 2, "bgcolor" : [ 0.984314, 0.819608, 0.05098, 1.0 ], "numoutlets" : 1 } } , { "box" : { "maxclass" : "newobj", "text" : "pcontrol", "outlettype" : [ "" ], "fontsize" : 10.0, "patching_rect" : [ 40.0, 456.0, 50.0, 18.0 ], "id" : "obj-24", "hidden" : 1, "fontname" : "Arial Bold", "numinlets" : 1, "numoutlets" : 1 } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-summary", "text" : "This patch represents a device parameter.", "fontsize" : 11.0, "patching_rect" : [ 320.0, 32.0, 231.0, 19.0 ], "id" : "obj-49", "fontname" : "Arial Bold Italic", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.subpatcher-title", "text" : "Device Parameter Remote", "fontsize" : 24.0, "patching_rect" : [ 16.0, 16.0, 305.0, 34.0 ], "id" : "obj-33", "fontname" : "Arial Bold Italic", "numinlets" : 1, "textcolor" : [ 0.3, 0.34, 0.4, 1.0 ], "frgb" : [ 0.3, 0.34, 0.4, 1.0 ], "numoutlets" : 0 } } , { "box" : { "maxclass" : "comment", "prototypename" : "ML.patcher-story", "text" : "This patch represents a Ableton Live device aprameter. It accepts a paramter id as input and can set and get values in unscaled and raw format and output it's min/max values. This version will use a live.remote~ object to set the values which makes it possible to operate in audio rate which is much faster than message rate but also way more resource hungry.", "linecount" : 4, "fontsize" : 11.0, "patching_rect" : [ 16.0, 48.0, 558.0, 57.0 ], "id" : "obj-50", "fontname" : "Arial Italic", "numinlets" : 1, "frgb" : [ 0.101961, 0.121569, 0.172549, 1.0 ], "numoutlets" : 0 } } ], "lines" : [ { "patchline" : { "source" : [ "obj-57", 0 ], "destination" : [ "obj-74", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-35", 0 ], "destination" : [ "obj-74", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-68", 3 ], "destination" : [ "obj-75", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-75", 1 ], "destination" : [ "obj-74", 1 ], "hidden" : 0, "midpoints" : [ 595.0, 368.5, 267.5, 368.5 ] } } , { "patchline" : { "source" : [ "obj-75", 0 ], "destination" : [ "obj-69", 1 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-60", 2 ], "destination" : [ "obj-57", 2 ], "hidden" : 0, "color" : [ 0.082353, 0.431373, 0.411765, 1.0 ], "midpoints" : [ 385.5, 478.0, 633.0, 478.0, 633.0, 215.0, 192.5, 215.0 ] } } , { "patchline" : { "source" : [ "obj-60", 1 ], "destination" : [ "obj-57", 1 ], "hidden" : 0, "color" : [ 0.470588, 0.113725, 0.545098, 1.0 ], "midpoints" : [ 353.5, 463.0, 617.25, 463.0, 617.25, 224.0, 169.0, 224.0 ] } } , { "patchline" : { "source" : [ "obj-60", 2 ], "destination" : [ "obj-59", 0 ], "hidden" : 0, "color" : [ 0.082353, 0.431373, 0.411765, 1.0 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-60", 1 ], "destination" : [ "obj-58", 0 ], "hidden" : 0, "color" : [ 0.470588, 0.113725, 0.545098, 1.0 ], "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-44", 0 ], "destination" : [ "obj-35", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-60", 1 ], "destination" : [ "obj-35", 3 ], "hidden" : 0, "color" : [ 0.470588, 0.113725, 0.545098, 1.0 ], "midpoints" : [ 353.5, 463.0, 617.650024, 463.0, 617.650024, 224.0, 259.799988, 224.0 ] } } , { "patchline" : { "source" : [ "obj-60", 2 ], "destination" : [ "obj-35", 4 ], "hidden" : 0, "color" : [ 0.082353, 0.431373, 0.411765, 1.0 ], "midpoints" : [ 385.5, 478.0, 633.700012, 478.0, 633.700012, 215.0, 273.899994, 215.0 ] } } , { "patchline" : { "source" : [ "obj-69", 0 ], "destination" : [ "obj-60", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-60", 3 ], "destination" : [ "obj-37", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-60", 0 ], "destination" : [ "obj-64", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-67", 0 ], "destination" : [ "obj-69", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-38", 0 ], "destination" : [ "obj-69", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-68", 2 ], "destination" : [ "obj-38", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-68", 0 ], "destination" : [ "obj-66", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-70", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-68", 1 ], "destination" : [ "obj-67", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-71", 0 ], "destination" : [ "obj-62", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-66", 0 ], "destination" : [ "obj-69", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-63", 0 ], "destination" : [ "obj-69", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-62", 1 ], "destination" : [ "obj-57", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-62", 0 ], "destination" : [ "obj-63", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-65", 0 ], "destination" : [ "obj-44", 0 ], "hidden" : 0, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-39", 0 ], "destination" : [ "obj-40", 0 ], "hidden" : 1, "midpoints" : [ ] } } , { "patchline" : { "source" : [ "obj-37", 0 ], "destination" : [ "obj-68", 0 ], "hidden" : 0, "midpoints" : [ 417.5, 545.0, 783.0, 545.0, 783.0, 264.0, 321.5, 264.0 ] } } , { "patchline" : { "source" : [ "obj-18", 0 ], "destination" : [ "obj-24", 0 ], "hidden" : 1, "midpoints" : [ ] } } ], "parameters" : { "obj-37::obj-14" : [ "live-path[1]", "live-path", 0 ] } } } dlstdireltype JSONfnamzb.onsetSeqMod.amxdsz32 nof32 vers flag mdat Ȇjdirextype JSONfnam(M4L.api.SelectParameter.maxpatsz32 DHof32 ~vers flag mdat Ykdire|type JSONfnam,M4L.api.GetParameterNames.maxpatsz32 ;of32 vers flag mdat Ykdirettype JSONfnam$M4L.api.SaveLivePath.maxpatsz32 of32 vers flag mdat Ykdirettype JSONfnam$M4L.api.SaveInteger.maxpatsz32 of32 .vers flag mdat Ykdirettype JSONfnam$M4L.api.SelectDevice.maxpatsz32 ?of32 IVvers flag mdat Ykdirextype JSONfnam(M4L.api.GetAllTrackIds.maxpatsz32 1of32 8vers flag mdat Ykdirextype JSONfnam(M4L.api.GetDeviceNames.maxpatsz32 ;of32 vers flag mdat Ykdirextype JSONfnam(M4L.api.GetAllDeviceIds.maxpatsz32 2of32 vers flag mdat Ykdiretype JSONfnam0M4L.api.DeviceParameterRemote.maxpatsz32 G$of32 )Jvers flag mdat Yk