diff --git a/Examples/GIMLeT_example_TouchOSC_1ANN.maxpat b/Examples/GIMLeT_example_TouchOSC_1ANN.maxpat index e047632..497e03e 100644 --- a/Examples/GIMLeT_example_TouchOSC_1ANN.maxpat +++ b/Examples/GIMLeT_example_TouchOSC_1ANN.maxpat @@ -3,14 +3,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 0, + "minor" : 5, + "revision" : 3, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 724.0, 259.0, 1112.0, 967.0 ], + "rect" : [ 187.0, 79.0, 1210.0, 967.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -120,14 +120,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 0, + "minor" : 5, + "revision" : 3, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 1112.0, 941.0 ], + "rect" : [ 187.0, 105.0, 1210.0, 941.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -231,7 +231,7 @@ "numoutlets" : 1, "offset" : [ 0.0, 0.0 ], "outlettype" : [ "signal" ], - "patching_rect" : [ 27.0, 23.0, 616.444444954395294, 278.0 ], + "patching_rect" : [ 27.0, 23.0, 616.444444954395294, 211.0 ], "viewvisibility" : 1 } @@ -300,11 +300,13 @@ "fontface" : 0, "fontsize" : 12.0, "id" : "obj-5", + "linecount" : 6, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 901.0, 132.5, 189.0, 34.0 ] + "patching_rect" : [ 901.0, 132.5, 189.0, 104.0 ], + "text" : "/speed : 1.,\n/pitchShift : 0.,\n/startTime : 40.1667,\n/dur : 312.,\n/cutoff : 2788.19,\n/resonance : 0." } } @@ -324,7 +326,7 @@ "lines" : [ { "patchline" : { "destination" : [ "obj-2", 1 ], - "midpoints" : [ 36.5, 303.0, 12.0, 303.0, 12.0, 9.0, 830.5, 9.0 ], + "midpoints" : [ 36.5, 244.0, 12.0, 244.0, 12.0, 9.0, 830.5, 9.0 ], "order" : 0, "source" : [ "obj-1", 0 ] } @@ -333,7 +335,7 @@ , { "patchline" : { "destination" : [ "obj-2", 0 ], - "midpoints" : [ 36.5, 303.0, 12.0, 303.0, 12.0, 9.0, 804.5, 9.0 ], + "midpoints" : [ 36.5, 243.0, 12.0, 243.0, 12.0, 9.0, 804.5, 9.0 ], "order" : 1, "source" : [ "obj-1", 0 ] } @@ -508,14 +510,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 0, + "minor" : 5, + "revision" : 3, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 0.0, 26.0, 1112.0, 941.0 ], + "rect" : [ 0.0, 26.0, 1210.0, 941.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -661,14 +663,14 @@ "fileversion" : 1, "appversion" : { "major" : 8, - "minor" : 3, - "revision" : 0, + "minor" : 5, + "revision" : 3, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", - "rect" : [ 724.0, 285.0, 1112.0, 941.0 ], + "rect" : [ 0.0, 26.0, 1210.0, 941.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -807,11 +809,13 @@ "fontface" : 0, "fontsize" : 12.0, "id" : "obj-58", + "linecount" : 5, "maxclass" : "o.display", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 25.0, 439.262272372841835, 558.0, 34.0 ] + "patching_rect" : [ 25.0, 439.262272372841835, 558.0, 90.0 ], + "text" : "/modosc/points/phone1/acc : [0.0187378, -0.00790405, -0.99559],\n/modosc/points/phone1/acc_mag : 0.995798,\n/modosc/points/phone1/jrk : [-0.000198364, 0.000717163, -0.000289917],\n/modosc/points/phone1/jrk_mag : 0.000798576,\n/modosc/points/phone1/fluidity : 0.999018" } } @@ -824,7 +828,8 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 25.0, 208.387234300374985, 558.0, 34.0 ] + "patching_rect" : [ 25.0, 208.387234300374985, 558.0, 34.0 ], + "text" : "/accxyz : [0.0187378, -0.00790405, -0.99559]" } } @@ -1061,6 +1066,7 @@ "parameters" : { "obj-10::obj-1::obj-11" : [ "live.text[7]", "live.text", 0 ], "obj-10::obj-1::obj-120" : [ "live.gain~[1]", "live.gain~", 0 ], + "obj-10::obj-1::obj-14" : [ "AM_Att", "Slide", 0 ], "obj-10::obj-1::obj-15" : [ "StartTime[4]", "StartTime", 0 ], "obj-10::obj-1::obj-16" : [ "Speed[2]", "Speed", 0 ], "obj-10::obj-1::obj-18" : [ "Duration[3]", "Duration", 0 ], @@ -1070,6 +1076,7 @@ "obj-10::obj-1::obj-191" : [ "gswitch2[30]", "gswitch2[10]", 0 ], "obj-10::obj-1::obj-192" : [ "gswitch2[29]", "gswitch2[9]", 0 ], "obj-10::obj-1::obj-193" : [ "gswitch2[28]", "gswitch2[7]", 0 ], + "obj-10::obj-1::obj-22" : [ "AM_Rel", "Rel", 0 ], "obj-10::obj-1::obj-29" : [ "gswitch2[41]", "gswitch2[40]", 0 ], "obj-10::obj-1::obj-43" : [ "live.text[8]", "live.text", 0 ], "obj-10::obj-1::obj-44" : [ "live.text[5]", "live.text", 0 ], @@ -1077,6 +1084,9 @@ "obj-10::obj-1::obj-50" : [ "live.toggle[3]", "live.toggle", 0 ], "obj-10::obj-1::obj-51" : [ "live.toggle[6]", "live.toggle", 0 ], "obj-10::obj-1::obj-53" : [ "Cutoff[5]", "Cutoff", 0 ], + "obj-10::obj-1::obj-54" : [ "live.text[17]", "live.text[3]", 0 ], + "obj-10::obj-1::obj-56" : [ "live.text[16]", "live.text[3]", 0 ], + "obj-10::obj-1::obj-59" : [ "live.text[18]", "live.text[3]", 0 ], "obj-10::obj-1::obj-67" : [ "Resonance[2]", "Res", 0 ], "obj-10::obj-1::obj-90" : [ "Pitch Shift[1]", "Pitch Shift", 0 ], "obj-9::obj-1::obj-102" : [ "multislider[36]", "multislider[1]", 0 ], @@ -1160,6 +1170,20 @@ "type" : "JSON", "implicit" : 1 } +, { + "name" : "fv.ampmod.maxpat", + "bootpath" : "~/OneDrive - ltu.se/_FV_git/GitHub/AIML/abstractions", + "patcherrelativepath" : "../../../../../OneDrive - ltu.se/_FV_git/GitHub/AIML/abstractions", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "fv.rescale01_au.maxpat", + "bootpath" : "~/Documents/Max 8/Packages/GIMLeT/patchers/abstractions/GIMLeT", + "patcherrelativepath" : "../patchers/abstractions/GIMLeT", + "type" : "JSON", + "implicit" : 1 + } , { "name" : "mo.fluidity.maxpat", "bootpath" : "~/OneDrive - ltu.se/_FV_git/GitHub/modosc/patchers", @@ -1248,8 +1272,8 @@ } , { "name" : "routeNames.maxpat", - "bootpath" : "~/OneDrive - ltu.se/_FV_git/GitHub/AIML/abstractions", - "patcherrelativepath" : "../../../../../OneDrive - ltu.se/_FV_git/GitHub/AIML/abstractions", + "bootpath" : "~/Documents/Max 8/Packages/GIMLeT/patchers/abstractions/GIMLeT", + "patcherrelativepath" : "../patchers/abstractions/GIMLeT", "type" : "JSON", "implicit" : 1 } diff --git a/patchers/GIMLeT.mangle.maxpat b/patchers/GIMLeT.mangle.maxpat index abc7500..3754cd6 100644 --- a/patchers/GIMLeT.mangle.maxpat +++ b/patchers/GIMLeT.mangle.maxpat @@ -10,7 +10,7 @@ } , "classnamespace" : "box", - "rect" : [ 34.0, 79.0, 1852.0, 1087.0 ], + "rect" : [ 874.0, 79.0, 772.0, 937.0 ], "bglocked" : 1, "openinpresentation" : 1, "default_fontsize" : 12.0, @@ -39,6 +39,197 @@ "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 203.75982666015625, 825.691406058593657, 73.0, 22.0 ], + "text" : "speedlim 50" + } + + } +, { + "box" : { + "id" : "obj-54", + "maxclass" : "live.text", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 1537.724660277366638, 366.397040034683187, 55.077250242233276, 15.458234263534678 ], + "presentation" : 1, + "presentation_rect" : [ 414.002135097980499, 185.179531830642446, 55.077250242233276, 15.458234263534678 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[17]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[3]", + "parameter_type" : 2 + } + + } +, + "text" : "Reset", + "varname" : "live.text[7]" + } + + } +, { + "box" : { + "id" : "obj-56", + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 1589.18603515625, 386.537353898437459, 55.077250242233276, 15.18257462978363 ], + "presentation" : 1, + "presentation_rect" : [ 414.002135097980499, 166.139592824380003, 55.077250242233276, 15.18257462978363 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[16]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[3]", + "parameter_type" : 2 + } + + } +, + "text" : "Invert OFF", + "texton" : "Invert ON", + "varname" : "live.text[8]" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "live.text", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 1, + "patching_rect" : [ 1489.56103515625, 347.037353898437459, 55.077250242233276, 15.18257462978363 ], + "presentation" : 1, + "presentation_rect" : [ 414.002135097980499, 147.099653818117559, 55.077250242233276, 15.18257462978363 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_enum" : [ "val1", "val2" ], + "parameter_longname" : "live.text[18]", + "parameter_mmax" : 1, + "parameter_shortname" : "live.text[3]", + "parameter_type" : 2 + } + + } +, + "text" : "Calib OFF", + "texton" : "Calib ON", + "varname" : "live.text[9]" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 290.75, 888.5625, 135.0, 145.0 ], + "presentation" : 1, + "presentation_rect" : [ 499.63418947962623, 147.099653818117559, 70.0, 54.0 ], + "setminmax" : [ 0.0, 1.0 ], + "setstyle" : 3 + } + + } +, { + "box" : { + "appearance" : 1, + "id" : "obj-14", + "maxclass" : "live.dial", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 1, + "patching_rect" : [ 421.64508056640625, 757.037353898437459, 25.0, 36.0 ], + "presentation" : 1, + "presentation_rect" : [ 471.599801625196847, 143.834933698177366, 25.0, 36.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "AM_Att", + "parameter_mmax" : 64.0, + "parameter_shortname" : "Slide", + "parameter_type" : 0, + "parameter_unitstyle" : 0 + } + + } +, + "varname" : "live.dial[1]" + } + + } +, { + "box" : { + "appearance" : 1, + "id" : "obj-22", + "maxclass" : "live.dial", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "float" ], + "parameter_enable" : 1, + "patching_rect" : [ 421.64508056640625, 803.257812117187314, 25.0, 23.0 ], + "presentation" : 1, + "presentation_rect" : [ 471.599801625196847, 179.637766094177124, 25.0, 23.0 ], + "saved_attribute_attributes" : { + "valueof" : { + "parameter_longname" : "AM_Rel", + "parameter_mmax" : 64.0, + "parameter_shortname" : "Rel", + "parameter_type" : 0, + "parameter_unitstyle" : 0 + } + + } +, + "showname" : 0, + "varname" : "live.dial" + } + + } +, { + "box" : { + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 2, + "outlettype" : [ "signal", "float" ], + "patching_rect" : [ 174.5, 854.625, 135.25, 22.0 ], + "text" : "fv.ampmod" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 203.75982666015625, 796.757812117187314, 103.0, 22.0 ], + "text" : "r #0_ampMod" + } + + } +, { "box" : { "id" : "obj-76", "maxclass" : "textbutton", @@ -1097,7 +1288,7 @@ } , "classnamespace" : "box", - "rect" : [ 0.0, 0.0, 640.0, 480.0 ], + "rect" : [ 59.0, 104.0, 640.0, 480.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -1276,7 +1467,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 336.39508056640625, 765.037353898437459, 96.0, 22.0 ], + "patching_rect" : [ 316.39508056640625, 796.757812117187314, 96.0, 22.0 ], "text" : "r #0_playStop" } @@ -1407,7 +1598,7 @@ "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 138.0, 210.0, 68.0, 22.0 ], - "text" : "0.400348" + "text" : "1." } } @@ -1934,34 +2125,6 @@ "text" : "bpatcher args can be used to define OSC ports" } - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1615.0, 350.1219482421875, 47.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 411.002135097980499, 188.432987151450902, 26.0, 20.0 ], - "text" : "inv.", - "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 1585.625, 350.1219482421875, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 414.002135097980499, 205.657793353001267, 23.0, 23.0 ] - } - } , { "box" : { @@ -3772,7 +3935,7 @@ "maxclass" : "comment", "numinlets" : 0, "numoutlets" : 0, - "patching_rect" : [ 218.39508056640625, 880.5625, 100.0, 38.0 ], + "patching_rect" : [ 174.5, 888.5625, 100.0, 38.0 ], "presentation" : 1, "presentation_rect" : [ 414.002135097980499, 75.911435484886169, 155.898718613844721, 22.0 ], "suppressinlet" : 1, @@ -3816,34 +3979,6 @@ "text" : "fv.rescale01_au" } - } -, { - "box" : { - "id" : "obj-101", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1514.625, 350.1219482421875, 47.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 411.002135097980499, 147.099653818117559, 37.0, 20.0 ], - "text" : "calib.", - "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] - } - - } -, { - "box" : { - "id" : "obj-102", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 1537.25, 382.1219482421875, 47.0, 20.0 ], - "presentation" : 1, - "presentation_rect" : [ 411.002135097980499, 229.766320484784245, 37.0, 20.0 ], - "text" : "reset", - "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ] - } - } , { "box" : { @@ -3880,34 +4015,6 @@ "text" : "o.route /1" } - } -, { - "box" : { - "id" : "obj-75", - "maxclass" : "toggle", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 1474.25, 350.1219482421875, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 414.002135097980499, 164.324460019667953, 23.0, 23.0 ] - } - - } -, { - "box" : { - "id" : "obj-73", - "maxclass" : "button", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "parameter_enable" : 0, - "patching_rect" : [ 1503.625, 380.1219482421875, 24.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 414.002135097980499, 246.99112668633461, 23.0, 23.0 ] - } - } , { "box" : { @@ -4628,7 +4735,7 @@ "numoutlets" : 0, "patching_rect" : [ 501.043557643890381, 888.5625, 100.0, 22.0 ], "presentation" : 1, - "presentation_rect" : [ 574.896579015713655, 97.911435484886169, 35.562819554255498, 22.0 ], + "presentation_rect" : [ 571.927988792841461, 75.911435484886169, 35.562819554255498, 22.0 ], "suppressinlet" : 1, "text" : "Vol.", "underline" : 1 @@ -4656,31 +4763,69 @@ } , { "box" : { - "candicane2" : [ 0.996078431372549, 0.0, 0.0, 1.0 ], - "candycane" : 8, - "id" : "obj-80", - "maxclass" : "multislider", + "fontname" : "Ableton Sans Medium", + "fontsize" : 15.0, + "id" : "obj-27", + "maxclass" : "comment", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "" ], + "numoutlets" : 0, + "patching_rect" : [ 18.4049072265625, 192.65789794921875, 74.0, 24.0 ], + "presentation" : 1, + "presentation_rect" : [ 5.760683596134186, 1.888888999999999, 74.0, 24.0 ], + "text" : "Play/Stop", + "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], + "textjustification" : 1 + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "led", + "numinlets" : 1, + "numoutlets" : 1, + "oncolor" : [ 0.082352941176471, 0.866666666666667, 0.149019607843137, 1.0 ], + "outlettype" : [ "int" ], "parameter_enable" : 0, - "parameter_mappable" : 0, - "patching_rect" : [ 336.39508056640625, 842.5, 74.0, 114.0 ], + "patching_rect" : [ 19.29998779296875, 218.321640639277234, 52.0, 52.0 ], "presentation" : 1, - "presentation_rect" : [ 450.002135097980499, 148.516347616910934, 120.0, 122.0 ], - "setminmax" : [ 0.0, 4.0 ], - "setstyle" : 3, - "slidercolor" : [ 0.0, 0.996078431372549, 0.007843137254902, 1.0 ] + "presentation_rect" : [ 5.760683596134186, 44.819333434104919, 73.09210205078125, 73.09210205078125 ] + } + + } +, { + "box" : { + "hidden" : 1, + "id" : "obj-138", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 282.89508056640625, 409.15789794921875, 70.0, 22.0 ], + "text" : "loadmess 0" + } + + } +, { + "box" : { + "id" : "obj-137", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 634.750000433593755, 373.15789794921875, 82.14508056640625, 20.0 ], + "style" : "helpfile_label", + "text" : "end selection" } } , { "box" : { - "id" : "obj-74", + "color" : [ 0.941176470588235, 0.219607843137255, 0.219607843137255, 1.0 ], + "id" : "obj-133", "maxclass" : "newobj", - "numinlets" : 3, + "numinlets" : 1, "numoutlets" : 2, - "outlettype" : [ "signal", "float" ], + "outlettype" : [ "", "float" ], "patcher" : { "fileversion" : 1, "appversion" : { @@ -4692,7 +4837,7 @@ } , "classnamespace" : "box", - "rect" : [ 840.0, 217.0, 814.0, 587.0 ], + "rect" : [ 881.0, 296.0, 765.0, 550.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -4718,442 +4863,7 @@ "digest" : "", "tags" : "", "style" : "", - "subpatcher_template" : "mzed_default", - "assistshowspatchername" : 0, - "visible" : 1, - "boxes" : [ { - "box" : { - "fontname" : "Arial", - "fontsize" : 12.0, - "id" : "obj-4", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 131.0, 357.5, 151.0, 22.0 ], - "text" : "if $f1 <= 0. then 0. else $f1" - } - - } -, { - "box" : { - "id" : "obj-17", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "float" ], - "patching_rect" : [ 188.0, 93.5, 29.5, 22.0 ], - "text" : "* 4." - } - - } -, { - "box" : { - "id" : "obj-15", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 227.0, 42.0, 150.0, 20.0 ], - "text" : "feature for amp mod" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-13", - "index" : 2, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 188.0, 37.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-12", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 264.5, 535.0, 60.0, 20.0 ], - "text" : "monitor" - } - - } -, { - "box" : { - "id" : "obj-8", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "bang" ], - "patching_rect" : [ 501.0, 239.0, 58.0, 22.0 ], - "text" : "loadbang" - } - - } -, { - "box" : { - "id" : "obj-7", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 446.0, 298.0, 29.5, 22.0 ], - "text" : "1" - } - - } -, { - "box" : { - "id" : "obj-3", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "bang", "" ], - "patching_rect" : [ 446.0, 239.0, 34.0, 22.0 ], - "text" : "sel 0" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-37", - "index" : 2, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 264.5, 494.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-35", - "index" : 3, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 446.0, 37.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "id" : "obj-32", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 131.0, 253.5, 39.0, 22.0 ], - "text" : "gate" - } - - } -, { - "box" : { - "id" : "obj-16", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 131.0, 289.0, 39.0, 22.0 ], - "text" : "$1 20" - } - - } -, { - "box" : { - "id" : "obj-9", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 2, - "outlettype" : [ "signal", "bang" ], - "patching_rect" : [ 130.5, 423.0, 39.0, 22.0 ], - "text" : "line~" - } - - } -, { - "box" : { - "id" : "obj-10", - "maxclass" : "newobj", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 83.75, 468.0, 65.75, 22.0 ], - "text" : "*~" - } - - } -, { - "box" : { - "comment" : "", - "id" : "obj-5", - "index" : 1, - "maxclass" : "outlet", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 83.75, 507.0, 30.0, 30.0 ] - } - - } -, { - "box" : { - "annotation" : "", - "comment" : "Signal", - "id" : "obj-1", - "index" : 1, - "maxclass" : "inlet", - "numinlets" : 0, - "numoutlets" : 1, - "outlettype" : [ "signal" ], - "patching_rect" : [ 83.75, 37.0, 30.0, 30.0 ] - } - - } - ], - "lines" : [ { - "patchline" : { - "destination" : [ "obj-10", 0 ], - "source" : [ "obj-1", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-5", 0 ], - "source" : [ "obj-10", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-17", 0 ], - "source" : [ "obj-13", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-4", 0 ], - "source" : [ "obj-16", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 1 ], - "order" : 1, - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-37", 0 ], - "order" : 0, - "source" : [ "obj-17", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-3", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-16", 0 ], - "source" : [ "obj-32", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-3", 0 ], - "order" : 0, - "source" : [ "obj-35", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-32", 0 ], - "order" : 1, - "source" : [ "obj-35", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-4", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-9", 0 ], - "source" : [ "obj-7", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-7", 0 ], - "source" : [ "obj-8", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-10", 1 ], - "source" : [ "obj-9", 0 ] - } - - } - ], - "styles" : [ { - "name" : "black in white", - "default" : { - "bgcolor" : [ 0.953755, 0.965255, 1.0, 1.0 ], - "textcolor_inverse" : [ 0.0, 0.0, 0.0, 1.0 ] - } -, - "parentstyle" : "number001", - "multi" : 0 - } -, { - "name" : "number001", - "parentstyle" : "velvet", - "multi" : 0 - } - ] - } -, - "patching_rect" : [ 218.39508056640625, 805.0, 137.0, 22.0 ], - "saved_object_attributes" : { - "description" : "", - "digest" : "", - "globalpatchername" : "", - "tags" : "" - } -, - "text" : "p amplitude" - } - - } -, { - "box" : { - "fontname" : "Ableton Sans Medium", - "fontsize" : 15.0, - "id" : "obj-27", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 18.4049072265625, 192.65789794921875, 74.0, 24.0 ], - "presentation" : 1, - "presentation_rect" : [ 5.760683596134186, 1.888888999999999, 74.0, 24.0 ], - "text" : "Play/Stop", - "textcolor" : [ 0.0, 0.0, 0.0, 1.0 ], - "textjustification" : 1 - } - - } -, { - "box" : { - "id" : "obj-2", - "maxclass" : "led", - "numinlets" : 1, - "numoutlets" : 1, - "oncolor" : [ 0.082352941176471, 0.866666666666667, 0.149019607843137, 1.0 ], - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 19.29998779296875, 218.321640639277234, 52.0, 52.0 ], - "presentation" : 1, - "presentation_rect" : [ 5.760683596134186, 44.819333434104919, 73.09210205078125, 73.09210205078125 ] - } - - } -, { - "box" : { - "hidden" : 1, - "id" : "obj-138", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 282.89508056640625, 409.15789794921875, 70.0, 22.0 ], - "text" : "loadmess 0" - } - - } -, { - "box" : { - "id" : "obj-137", - "maxclass" : "comment", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 634.750000433593755, 373.15789794921875, 82.14508056640625, 20.0 ], - "style" : "helpfile_label", - "text" : "end selection" - } - - } -, { - "box" : { - "color" : [ 0.941176470588235, 0.219607843137255, 0.219607843137255, 1.0 ], - "id" : "obj-133", - "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "", "float" ], - "patcher" : { - "fileversion" : 1, - "appversion" : { - "major" : 8, - "minor" : 5, - "revision" : 3, - "architecture" : "x64", - "modernui" : 1 - } -, - "classnamespace" : "box", - "rect" : [ 881.0, 296.0, 765.0, 550.0 ], - "bglocked" : 0, - "openinpresentation" : 0, - "default_fontsize" : 12.0, - "default_fontface" : 0, - "default_fontname" : "Arial", - "gridonopen" : 1, - "gridsize" : [ 15.0, 15.0 ], - "gridsnaponopen" : 1, - "objectsnaponopen" : 1, - "statusbarvisible" : 2, - "toolbarvisible" : 1, - "lefttoolbarpinned" : 0, - "toptoolbarpinned" : 0, - "righttoolbarpinned" : 0, - "bottomtoolbarpinned" : 0, - "toolbars_unpinned_last_save" : 0, - "tallnewobj" : 0, - "boxanimatetime" : 200, - "enablehscroll" : 1, - "enablevscroll" : 1, - "devicewidth" : 0.0, - "description" : "", - "digest" : "", - "tags" : "", - "style" : "", - "subpatcher_template" : "", + "subpatcher_template" : "", "assistshowspatchername" : 0, "boxes" : [ { "box" : { @@ -5419,7 +5129,7 @@ "parameter_enable" : 1, "patching_rect" : [ 443.2901611328125, 844.625, 38.0, 112.0 ], "presentation" : 1, - "presentation_rect" : [ 574.896579015713655, 147.099653818117559, 31.0, 126.0 ], + "presentation_rect" : [ 574.209398569969153, 96.911435484886169, 31.0, 105.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_initial" : [ -12.0 ], @@ -5540,7 +5250,7 @@ "outlettype" : [ "float", "float", "float", "float", "list", "" ], "patching_rect" : [ 282.89508056640625, 481.0, 412.0, 92.0 ], "presentation" : 1, - "presentation_rect" : [ 5.760683596134186, 120.834933698177338, 403.820941154773436, 150.156192988157272 ], + "presentation_rect" : [ 5.760683596134186, 120.834933698177338, 403.820941154773436, 79.802832395999786 ], "setmode" : 1, "ticks" : 8, "vlabels" : 1 @@ -5572,7 +5282,7 @@ "numoutlets" : 0, "patching_rect" : [ 1526.625, 891.625, 61.0, 63.0 ], "presentation" : 1, - "presentation_rect" : [ 0.25, -0.516598284244537, 613.927988792841461, 278.0 ], + "presentation_rect" : [ 0.25, -0.516598284244537, 613.927988792841461, 219.0 ], "proportion" : 0.5 } @@ -5607,13 +5317,6 @@ "source" : [ "obj-104", 1 ] } - } -, { - "patchline" : { - "destination" : [ "obj-74", 1 ], - "source" : [ "obj-108", 0 ] - } - } , { "patchline" : { @@ -5733,6 +5436,13 @@ "source" : [ "obj-138", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-24", 3 ], + "source" : [ "obj-14", 0 ] + } + } , { "patchline" : { @@ -5774,13 +5484,6 @@ "source" : [ "obj-162", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-65", 3 ], - "source" : [ "obj-17", 0 ] - } - } , { "patchline" : { @@ -5854,6 +5557,27 @@ "source" : [ "obj-2", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-24", 4 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-120", 0 ], + "source" : [ "obj-24", 0 ] + } + } , { "patchline" : { @@ -5868,6 +5592,13 @@ "source" : [ "obj-29", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-24", 1 ], + "source" : [ "obj-3", 0 ] + } + } , { "patchline" : { @@ -5894,6 +5625,13 @@ "source" : [ "obj-32", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-33", 0 ] + } + } , { "patchline" : { @@ -5949,14 +5687,14 @@ , { "patchline" : { "destination" : [ "obj-120", 0 ], - "midpoints" : [ 266.89508056640625, 795.3125, 452.7901611328125, 795.3125 ], + "midpoints" : [ 266.89508056640625, 770.3125, 452.7901611328125, 770.3125 ], "source" : [ "obj-42", 1 ] } } , { "patchline" : { - "destination" : [ "obj-74", 0 ], + "destination" : [ "obj-24", 0 ], "source" : [ "obj-42", 0 ] } @@ -6138,6 +5876,13 @@ "source" : [ "obj-53", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-65", 2 ], + "source" : [ "obj-54", 0 ] + } + } , { "patchline" : { @@ -6156,6 +5901,13 @@ "source" : [ "obj-55", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-65", 3 ], + "source" : [ "obj-56", 0 ] + } + } , { "patchline" : { @@ -6170,6 +5922,13 @@ "source" : [ "obj-58", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-65", 1 ], + "source" : [ "obj-59", 0 ] + } + } , { "patchline" : { @@ -6265,35 +6024,6 @@ "source" : [ "obj-72", 0 ] } - } -, { - "patchline" : { - "destination" : [ "obj-65", 2 ], - "source" : [ "obj-73", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-120", 0 ], - "midpoints" : [ 227.89508056640625, 835.3125, 452.7901611328125, 835.3125 ], - "source" : [ "obj-74", 0 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-80", 0 ], - "source" : [ "obj-74", 1 ] - } - - } -, { - "patchline" : { - "destination" : [ "obj-65", 1 ], - "source" : [ "obj-75", 0 ] - } - } , { "patchline" : { @@ -6431,7 +6161,7 @@ } , { "patchline" : { - "destination" : [ "obj-74", 2 ], + "destination" : [ "obj-24", 2 ], "source" : [ "obj-91", 0 ] }