{ "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", "rect" : [ 34.0, 77.0, 1213.0, 690.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-35", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1157.0, 693.0, 56.0, 20.0 ], "text" : "noclicks" } } , { "box" : { "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 1298.0, 693.0, 44.0, 20.0 ], "text" : "clicks" } } , { "box" : { "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 1233.0, 786.0, 42.0, 22.0 ], "text" : "*~ 0.1" } } , { "box" : { "id" : "obj-29", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 1233.0, 693.0, 55.0, 55.0 ] } } , { "box" : { "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 1298.0, 726.0, 68.0, 22.0 ], "text" : "cycle~ 200" } } , { "box" : { "id" : "obj-31", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 1233.0, 756.0, 41.0, 22.0 ], "text" : "gate~" } } , { "box" : { "id" : "obj-22", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 1233.0, 821.0, 45.0, 45.0 ] } } , { "box" : { "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 1092.0, 786.0, 42.0, 22.0 ], "text" : "*~ 0.1" } } , { "box" : { "id" : "obj-23", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 1092.0, 693.0, 55.0, 55.0 ] } } , { "box" : { "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 1157.0, 726.0, 68.0, 22.0 ], "text" : "cycle~ 200" } } , { "box" : { "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 556.0, 153.0, 618.0, 421.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-22", "linecount" : 6, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 426.0, 303.0, 150.0, 89.0 ], "text" : "when closed, the gate outputs zero. if you want to hold the crossing-value instead, replace the * object with latch, and remove the slide. " } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 292.0, 69.0, 22.0 ], "text" : "slide 50 10" } } , { "box" : { "id" : "obj-19", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 184.0, 292.0, 131.0, 34.0 ], "text" : "smoothen the opening & closing of the gate" } } , { "box" : { "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 124.0, 325.0, 150.0, 20.0 ], "text" : "the actual gating is here" } } , { "box" : { "id" : "obj-16", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 184.0, 197.0, 150.0, 48.0 ], "text" : "only change internal gate status when input is zero-crossing" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 55.0, 266.0, 22.0 ], "text" : "in 1 @comment \"nonzero means gate will open\"" } } , { "box" : { "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 197.0, 78.0, 22.0 ], "text" : "latch" } } , { "box" : { "id" : "obj-13", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 219.0, 159.5, 150.0, 34.0 ], "text" : "will be nonzero when a zero-crossing occurs" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 163.0, 95.0, 206.0, 22.0 ], "text" : "in 2 @comment \"source to be gated\"" } } , { "box" : { "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 163.0, 165.0, 50.0, 22.0 ], "text" : "change" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 163.0, 137.0, 28.0, 22.0 ], "text" : "> 0" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 71.0, 325.0, 52.0, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 71.0, 368.0, 37.0, 22.0 ], "text" : "out 1" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-5", 0 ], "midpoints" : [ 172.5, 130.0, 80.5, 130.0 ], "order" : 1, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "order" : 0, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 1 ], "source" : [ "obj-8", 0 ] } } ], "editing_bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ] } , "patching_rect" : [ 1092.0, 756.0, 84.0, 22.0 ], "text" : "gen~" } } , { "box" : { "id" : "obj-27", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 1092.0, 821.0, 45.0, 45.0 ] } } , { "box" : { "fontname" : "Arial Italic", "id" : "obj-36", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 840.0, 616.0, 492.0, 48.0 ], "text" : "Sometimes a [gate] is too hard, and can lead to clicks as signals are cut when far from a zero-crossing. The gen~ object below defers the opening/closing of a gate until a zero-crossing occurs, and smooths over the small offset toward zero, to eliminate clicks. " } } , { "box" : { "fontname" : "Arial Italic", "fontsize" : 24.0, "id" : "obj-37", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 837.0, 581.0, 288.0, 34.0 ], "text" : "Soft Gate" } } , { "box" : { "id" : "obj-38", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 840.0, 1099.0, 205.0, 20.0 ], "text" : "source (green) and gated (orange)" } } , { "box" : { "bgcolor" : [ 0.290196, 0.309804, 0.301961, 0.0 ], "bufsize" : 256, "calccount" : 65, "fgcolor" : [ 0.439216, 0.74902, 0.254902, 1.0 ], "gridcolor" : [ 0.376471, 0.384314, 0.4, 0.0 ], "id" : "obj-41", "maxclass" : "scope~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 840.0, 918.0, 541.0, 177.0 ] } } , { "box" : { "id" : "obj-42", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 840.0, 718.0, 135.0, 22.0 ], "text" : "qmetro 1999 @active 1" } } , { "box" : { "id" : "obj-43", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 901.0, 749.0, 60.0, 20.0 ], "text" : "gate " } } , { "box" : { "id" : "obj-44", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 840.0, 749.0, 55.0, 55.0 ] } } , { "box" : { "bufsize" : 256, "calccount" : 65, "fgcolor" : [ 0.952941, 0.564706, 0.098039, 1.0 ], "id" : "obj-45", "maxclass" : "scope~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 840.0, 918.0, 541.0, 177.0 ] } } , { "box" : { "id" : "obj-46", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 963.0, 786.0, 87.0, 48.0 ], "text" : "a squarewave source (not ant" } } , { "box" : { "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 907.0, 786.0, 48.0, 22.0 ], "text" : "rect~ 1" } } , { "box" : { "id" : "obj-48", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 562.0, 151.0, 618.0, 421.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-22", "linecount" : 6, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 426.0, 303.0, 150.0, 89.0 ], "text" : "when closed, the gate outputs zero. if you want to hold the crossing-value instead, replace the * object with latch, and remove the slide. " } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 292.0, 69.0, 22.0 ], "text" : "slide 50 10" } } , { "box" : { "id" : "obj-19", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 184.0, 292.0, 131.0, 34.0 ], "text" : "smoothen the opening & closing of the gate" } } , { "box" : { "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 124.0, 325.0, 150.0, 20.0 ], "text" : "the actual gating is here" } } , { "box" : { "id" : "obj-16", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 184.0, 197.0, 150.0, 48.0 ], "text" : "only change internal gate status when input is zero-crossing" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 55.0, 266.0, 22.0 ], "text" : "in 1 @comment \"nonzero means gate will open\"" } } , { "box" : { "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 197.0, 78.0, 22.0 ], "text" : "latch" } } , { "box" : { "id" : "obj-13", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 219.0, 159.5, 150.0, 34.0 ], "text" : "will be nonzero when a zero-crossing occurs" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 163.0, 95.0, 206.0, 22.0 ], "text" : "in 2 @comment \"source to be gated\"" } } , { "box" : { "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 163.0, 165.0, 50.0, 22.0 ], "text" : "change" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 163.0, 137.0, 28.0, 22.0 ], "text" : "> 0" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 71.0, 325.0, 52.0, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 71.0, 368.0, 37.0, 22.0 ], "text" : "out 1" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-5", 0 ], "midpoints" : [ 172.5, 130.0, 80.5, 130.0 ], "order" : 1, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "order" : 0, "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 1 ], "source" : [ "obj-8", 0 ] } } ], "editing_bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ] } , "patching_rect" : [ 840.0, 830.0, 38.0, 22.0 ], "text" : "gen~" } } , { "box" : { "channels" : 1, "id" : "obj-20", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 1, "numoutlets" : 4, "outlettype" : [ "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 919.5, 231.0, 48.0, 136.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "live.gain~[6]", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 3, "parameter_shortname" : "live.gain~[6]", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~[1]" } } , { "box" : { "id" : "obj-16", "maxclass" : "ezadc~", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patching_rect" : [ 921.0, 155.0, 45.0, 45.0 ] } } , { "box" : { "fontname" : "Arial", "fontsize" : 12.0, "id" : "obj-117", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 377.0, 99.0, 99.0, 22.0 ], "text" : "expr 60000. / $f1" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 9, "outlettype" : [ "int", "int", "float", "float", "float", "", "int", "float", "" ], "patching_rect" : [ 69.0, 95.0, 103.0, 22.0 ], "text" : "transport" } } , { "box" : { "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 67.0, 23.0, 77.0, 22.0 ], "text" : "loadmess 16" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 69.0, 60.0, 70.0, 22.0 ], "text" : "loadmess 1" } } , { "box" : { "format" : 6, "id" : "obj-206", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 245.0, 262.0, 50.0, 22.0 ] } } , { "box" : { "id" : "obj-212", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 52.0, 231.0, 24.0, 24.0 ] } } , { "box" : { "attr" : "state", "id" : "obj-201", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 52.0, 274.0, 150.0, 22.0 ] } } , { "box" : { "id" : "obj-104", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 436.0, 150.0, 116.0, 22.0 ], "text" : "phasor~ 4n @lock 1" } } , { "box" : { "id" : "obj-382", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 214.0, 169.0, 33.0, 22.0 ], "text" : "sync" } } , { "box" : { "id" : "obj-379", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "bang" ], "patching_rect" : [ 131.0, 195.0, 55.0, 22.0 ], "text" : "onebang" } } , { "box" : { "id" : "obj-378", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 131.0, 227.0, 29.5, 22.0 ], "text" : "0" } } , { "box" : { "id" : "obj-370", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "", "int", "int" ], "patching_rect" : [ 131.0, 162.0, 48.0, 22.0 ], "text" : "change" } } , { "box" : { "id" : "obj-208", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "bang", "bang", "bang" ], "patching_rect" : [ 681.0, 204.0, 42.0, 22.0 ], "text" : "t b b b" } } , { "box" : { "id" : "obj-207", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 658.0, 284.0, 29.5, 22.0 ], "text" : "0" } } , { "box" : { "id" : "obj-204", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 689.0, 284.0, 29.5, 22.0 ], "text" : "1" } } , { "box" : { "id" : "obj-202", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 649.0, 170.0, 43.0, 20.0 ], "text" : "record" } } , { "box" : { "id" : "obj-200", "maxclass" : "button", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "bang" ], "parameter_enable" : 0, "patching_rect" : [ 694.0, 168.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-194", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 681.0, 248.0, 37.0, 22.0 ], "text" : "delay" } } , { "box" : { "id" : "obj-193", "maxclass" : "toggle", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, "patching_rect" : [ 689.0, 313.0, 24.0, 24.0 ] } } , { "box" : { "id" : "obj-191", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 689.0, 347.0, 92.0, 22.0 ], "text" : "record~ myloop" } } , { "box" : { "id" : "obj-188", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "int" ], "patching_rect" : [ 377.0, 175.0, 29.5, 22.0 ], "text" : "t b i" } } , { "box" : { "id" : "obj-187", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "int" ], "patching_rect" : [ 351.0, 209.0, 29.5, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-186", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 270.0, 142.0, 84.0, 20.0 ], "text" : "beats in buffer" } } , { "box" : { "id" : "obj-184", "maxclass" : "number", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 356.0, 141.0, 50.0, 22.0 ] } } , { "box" : { "id" : "obj-181", "linecount" : 2, "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 462.0, 277.0, 50.0, 36.0 ], "text" : "setsize 0" } } , { "box" : { "id" : "obj-179", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 351.0, 240.0, 63.0, 22.0 ], "text" : "setsize $1" } } , { "box" : { "attr" : "slices", "id" : "obj-72", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 393.0, 338.0, 150.0, 22.0 ] } } , { "box" : { "id" : "obj-74", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 0, "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "box", "rect" : [ -23.0, 134.0, 1213.0, 642.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-1", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 62.0, 122.0, 180.0, 103.0 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-2", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 62.0, 226.0, 180.0, 103.0 ], "range" : [ -0.1, 1.1 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "attr" : "numbeats", "displaymode" : 1, "id" : "obj-3", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 9.0, 63.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[1]" } } , { "box" : { "attr" : "bpm", "id" : "obj-4", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 9.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[2]" } } , { "box" : { "id" : "obj-5", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 9.0, 122.0, 45.0, 77.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_initial" : [ -70 ], "parameter_initial_enable" : 1, "parameter_longname" : "live.gain~[1]", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 0, "parameter_shortname" : "live.gain~", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~[1]" } } , { "box" : { "id" : "obj-6", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 9.0, 207.0, 45.0, 45.0 ] } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 19.0, 140.0, 379.0, 334.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-14", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 102.03846150636673, 213.0, 150.0, 20.0 ], "text" : "keep within 0 .. 1" } } , { "box" : { "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 213.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 87.53846150636673, 181.0, 85.0, 22.0 ], "text" : "param scrub 0" } } , { "box" : { "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 89.0, 148.0, 77.0, 22.0 ], "text" : "param rate 1" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.615390777587891, 148.0, 29.5, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 181.0, 29.5, 22.0 ], "text" : "+" } } , { "box" : { "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 89.03846150636673, 118.0, 82.0, 20.0 ], "text" : "loop phasor" } } , { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 142.0, 275.0, 75.0, 22.0 ], "text" : "out 2 phasor" } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 118.0, 45.0, 22.0 ], "text" : "phasor" } } , { "box" : { "id" : "obj-24", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 147.03846150636673, 27.0, 105.0, 20.0 ], "text" : "# beats per loop" } } , { "box" : { "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 72.115390777587891, 51.0, 72.0, 20.0 ], "text" : "BPM to Hz" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 75.0, 126.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 51.0, 29.0, 22.0 ], "text" : "/ 60" } } , { "box" : { "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 147.03846150636673, 49.0, 109.0, 22.0 ], "text" : "param numbeats 8" } } , { "box" : { "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 27.0, 93.0, 22.0 ], "text" : "param bpm 150" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 39.53846150636673, 249.375, 93.0, 22.0 ], "text" : "sample myloop" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 158.615390777587891, 249.375, 84.0, 22.0 ], "text" : "buffer myloop" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 39.53846150636673, 275.0, 71.0, 22.0 ], "text" : "out 1 sound" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 1 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 1 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "midpoints" : [ 49.03846150636673, 235.1875, 49.03846150636673, 235.1875 ], "order" : 1, "source" : [ "obj-9", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "midpoints" : [ 49.03846150636673, 243.0, 151.5, 243.0 ], "order" : 0, "source" : [ "obj-9", 0 ] } } ], "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } , "patching_rect" : [ 9.0, 91.0, 102.0, 22.0 ], "text" : "gen~ @title 16ths" } } , { "box" : { "attr" : "jump", "displaymode" : 2, "id" : "obj-79", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 1328.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[21]" } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-80", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 1235.0, 122.0, 180.0, 103.0 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-81", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 1235.0, 226.0, 180.0, 103.0 ], "range" : [ -0.1, 1.1 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "attr" : "numbeats", "displaymode" : 1, "id" : "obj-82", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 1182.0, 63.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[22]" } } , { "box" : { "attr" : "bpm", "id" : "obj-83", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 1182.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[23]" } } , { "box" : { "id" : "obj-84", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 1182.0, 122.0, 45.0, 77.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_initial" : [ -70 ], "parameter_initial_enable" : 1, "parameter_longname" : "live.gain~[5]", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 0, "parameter_shortname" : "live.gain~", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~[8]" } } , { "box" : { "id" : "obj-85", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 1182.0, 207.0, 45.0, 45.0 ] } } , { "box" : { "id" : "obj-90", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 45.0, 95.0, 450.0, 461.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-33", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 318.615390777587891, 154.0, 119.423070728778839, 34.0 ], "text" : "jump through slices at a certain rate" } } , { "box" : { "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 285.615390777587891, 154.0, 29.5, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-32", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 318.615390777587891, 247.0, 119.423070728778839, 34.0 ], "text" : "only do whole number slice offsets" } } , { "box" : { "id" : "obj-31", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 296.115390777587891, 125.0, 105.0, 22.0 ], "text" : "param jump 1.235" } } , { "box" : { "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 363.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-29", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 115.615390777587891, 241.0, 156.423070728778839, 20.0 ], "text" : "did it make a big jump?" } } , { "box" : { "id" : "obj-28", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 115.615390777587891, 192.0, 153.0, 48.0 ], "text" : "get the absolute difference in the ramp since the last sample frame" } } , { "box" : { "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 74.0, 240.0, 36.0, 22.0 ], "text" : "> 0.5" } } , { "box" : { "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 74.0, 216.0, 28.0, 22.0 ], "text" : "abs" } } , { "box" : { "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 74.0, 192.0, 35.0, 22.0 ], "text" : "delta" } } , { "box" : { "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 59.0, 281.0, 34.0, 22.0 ], "text" : "latch" } } , { "box" : { "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 104.615390777587891, 281.0, 201.423070728778839, 20.0 ], "text" : "if so, pick a new offset into the loop" } } , { "box" : { "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 285.615390777587891, 247.0, 32.0, 22.0 ], "text" : "floor" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 307.0, 38.46153849363327, 22.0 ], "text" : "+" } } , { "box" : { "id" : "obj-6", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 89.03846150636673, 336.0, 200.0, 20.0 ], "text" : "normal speed" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 336.0, 45.0, 22.0 ], "text" : "/ slices" } } , { "box" : { "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 89.03846150636673, 101.0, 82.0, 20.0 ], "text" : "loop phasor" } } , { "box" : { "id" : "obj-19", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 96.115390777587891, 154.0, 74.923070728778839, 20.0 ], "text" : "slice phasor" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 125.0, 47.0, 22.0 ], "text" : "* slices" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 89.03846150636673, 125.0, 137.0, 22.0 ], "text" : "param slices 16 @min 1" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 154.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 142.0, 425.0, 75.0, 22.0 ], "text" : "out 2 phasor" } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 101.0, 45.0, 22.0 ], "text" : "phasor" } } , { "box" : { "id" : "obj-24", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 147.03846150636673, 18.0, 105.0, 20.0 ], "text" : "# beats per loop" } } , { "box" : { "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 72.115390777587891, 42.0, 72.0, 20.0 ], "text" : "BPM to Hz" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 66.0, 126.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 42.0, 29.0, 22.0 ], "text" : "/ 60" } } , { "box" : { "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 147.03846150636673, 40.0, 109.0, 22.0 ], "text" : "param numbeats 8" } } , { "box" : { "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 39.53846150636673, 18.0, 93.0, 22.0 ], "text" : "param bpm 140" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 39.53846150636673, 399.375, 93.0, 22.0 ], "text" : "sample myloop" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 158.615390777587891, 399.375, 84.0, 22.0 ], "text" : "buffer myloop" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 39.53846150636673, 425.0, 71.0, 22.0 ], "text" : "out 1 sound" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-15", 0 ], "midpoints" : [ 49.03846150636673, 124.0, 49.03846150636673, 124.0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 1 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-27", 0 ], "midpoints" : [ 49.03846150636673, 150.0, 295.115390777587891, 150.0 ], "order" : 0, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "order" : 1, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 1 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 1 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "midpoints" : [ 49.03846150636673, 182.0, 83.5, 182.0 ], "order" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "order" : 1, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "order" : 1, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "midpoints" : [ 49.03846150636673, 391.6875, 151.5, 391.6875 ], "order" : 0, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-27", 1 ], "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "midpoints" : [ 295.115390777587891, 273.0, 68.5, 273.0 ], "source" : [ "obj-9", 0 ] } } ], "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } , "patching_rect" : [ 1182.0, 91.0, 172.0, 22.0 ], "text" : "gen~ @title 16ths-scrub-jumpy" } } , { "box" : { "attr" : "offset", "displaymode" : 2, "id" : "obj-71", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 1045.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[18]" } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-72", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 952.0, 122.0, 180.0, 103.0 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-73", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 952.0, 226.0, 180.0, 103.0 ], "range" : [ -0.1, 1.1 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "attr" : "numbeats", "displaymode" : 1, "id" : "obj-74", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 899.0, 63.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[19]" } } , { "box" : { "attr" : "bpm", "id" : "obj-75", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 899.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[20]" } } , { "box" : { "id" : "obj-76", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 899.0, 122.0, 45.0, 77.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_initial" : [ -70 ], "parameter_initial_enable" : 1, "parameter_longname" : "live.gain~[9]", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 0, "parameter_shortname" : "live.gain~", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~[7]" } } , { "box" : { "id" : "obj-77", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 899.0, 207.0, 45.0, 45.0 ] } } , { "box" : { "id" : "obj-78", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 442.0, 87.0, 495.0, 458.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-32", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 348.615390777587891, 245.0, 119.423070728778839, 33.0 ], "text" : "only do whole number slice offsets" } } , { "box" : { "id" : "obj-31", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 307.615390777587891, 220.0, 92.0, 22.0 ], "text" : "param offset 12" } } , { "box" : { "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 363.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-29", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 145.615390777587891, 245.0, 156.423070728778839, 20.0 ], "text" : "did it make a big jump?" } } , { "box" : { "id" : "obj-28", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 145.615390777587891, 196.0, 153.0, 47.0 ], "text" : "get the absolute difference in the ramp since the last sample frame" } } , { "box" : { "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 244.0, 36.0, 22.0 ], "text" : "> 0.5" } } , { "box" : { "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 220.0, 28.0, 22.0 ], "text" : "abs" } } , { "box" : { "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.0, 196.0, 35.0, 22.0 ], "text" : "delta" } } , { "box" : { "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 89.0, 280.0, 34.0, 22.0 ], "text" : "latch" } } , { "box" : { "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 134.615390777587891, 280.0, 201.423070728778839, 20.0 ], "text" : "if so, pick a new offset into the loop" } } , { "box" : { "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 307.615390777587891, 245.0, 32.0, 22.0 ], "text" : "floor" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 307.0, 66.46153849363327, 22.0 ], "text" : "+" } } , { "box" : { "id" : "obj-6", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 91.03846150636673, 336.0, 200.0, 20.0 ], "text" : "normal speed" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 336.0, 45.0, 22.0 ], "text" : "/ slices" } } , { "box" : { "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 91.03846150636673, 101.0, 82.0, 20.0 ], "text" : "loop phasor" } } , { "box" : { "id" : "obj-19", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 98.115390777587891, 139.0, 48.0, 33.0 ], "text" : "slice phasor" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 130.0, 47.0, 22.0 ], "text" : "* slices" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 183.03846150636673, 130.0, 137.0, 22.0 ], "text" : "param slices 16 @min 1" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 154.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 144.0, 425.0, 75.0, 22.0 ], "text" : "out 2 phasor" } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 101.0, 45.0, 22.0 ], "text" : "phasor" } } , { "box" : { "id" : "obj-24", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 149.03846150636673, 18.0, 105.0, 20.0 ], "text" : "# beats per loop" } } , { "box" : { "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 74.115390777587891, 42.0, 72.0, 20.0 ], "text" : "BPM to Hz" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 66.0, 126.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 42.0, 29.0, 22.0 ], "text" : "/ 60" } } , { "box" : { "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 149.03846150636673, 40.0, 109.0, 22.0 ], "text" : "param numbeats 8" } } , { "box" : { "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 41.53846150636673, 18.0, 93.0, 22.0 ], "text" : "param bpm 150" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 41.53846150636673, 399.375, 93.0, 22.0 ], "text" : "sample myloop" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 160.615390777587891, 399.375, 84.0, 22.0 ], "text" : "buffer myloop" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 41.53846150636673, 425.0, 71.0, 22.0 ], "text" : "out 1 sound" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-15", 0 ], "midpoints" : [ 51.03846150636673, 124.0, 51.03846150636673, 124.0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 1 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 1 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 1 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "midpoints" : [ 51.03846150636673, 182.0, 113.5, 182.0 ], "order" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "order" : 1, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "order" : 1, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "midpoints" : [ 51.03846150636673, 391.6875, 153.5, 391.6875 ], "order" : 0, "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "midpoints" : [ 317.115390777587891, 273.0, 98.5, 273.0 ], "source" : [ "obj-9", 0 ] } } ], "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } , "patching_rect" : [ 899.0, 91.0, 178.0, 22.0 ], "text" : "gen~ @title 16ths-scrub-synced" } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-48", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 344.0, 122.0, 180.0, 103.0 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-49", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 344.0, 226.0, 180.0, 103.0 ], "range" : [ -0.1, 1.1 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "attr" : "numbeats", "displaymode" : 1, "id" : "obj-50", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 291.0, 63.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[9]" } } , { "box" : { "attr" : "bpm", "id" : "obj-51", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 291.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[10]" } } , { "box" : { "id" : "obj-52", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 291.0, 122.0, 45.0, 77.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_initial" : [ -70 ], "parameter_initial_enable" : 1, "parameter_longname" : "live.gain~[10]", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 0, "parameter_shortname" : "live.gain~", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~[4]" } } , { "box" : { "id" : "obj-53", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 291.0, 207.0, 45.0, 45.0 ] } } , { "box" : { "id" : "obj-54", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 442.0, 87.0, 326.0, 334.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-6", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 106.03846150636673, 212.0, 200.0, 20.0 ], "text" : "bring it back down to normal speed" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 35.53846150636673, 212.0, 45.0, 22.0 ], "text" : "/ slices" } } , { "box" : { "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 85.03846150636673, 112.0, 82.0, 20.0 ], "text" : "loop phasor" } } , { "box" : { "id" : "obj-19", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 98.0, 163.0, 115.0, 34.0 ], "text" : "run a faster synced ramp at slices rate" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 35.53846150636673, 156.0, 47.0, 22.0 ], "text" : "* slices" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 169.03846150636673, 139.0, 137.0, 22.0 ], "text" : "param slices 16 @min 1" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 35.53846150636673, 180.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 138.0, 299.0, 75.0, 22.0 ], "text" : "out 2 phasor" } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 35.53846150636673, 112.0, 45.0, 22.0 ], "text" : "phasor" } } , { "box" : { "id" : "obj-24", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 143.03846150636673, 21.0, 105.0, 20.0 ], "text" : "# beats per loop" } } , { "box" : { "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 68.115390777587891, 45.0, 72.0, 20.0 ], "text" : "BPM to Hz" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 35.53846150636673, 69.0, 126.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 35.53846150636673, 45.0, 29.0, 22.0 ], "text" : "/ 60" } } , { "box" : { "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 143.03846150636673, 43.0, 109.0, 22.0 ], "text" : "param numbeats 8" } } , { "box" : { "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 35.53846150636673, 21.0, 93.0, 22.0 ], "text" : "param bpm 150" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 35.53846150636673, 273.375, 93.0, 22.0 ], "text" : "sample myloop" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 154.615390777587891, 273.375, 84.0, 22.0 ], "text" : "buffer myloop" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 35.53846150636673, 299.0, 71.0, 22.0 ], "text" : "out 1 sound" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-15", 0 ], "midpoints" : [ 45.03846150636673, 135.0, 45.03846150636673, 135.0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 1 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "order" : 1, "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "midpoints" : [ 45.03846150636673, 265.6875, 147.5, 265.6875 ], "order" : 0, "source" : [ "obj-5", 0 ] } } ], "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } , "patching_rect" : [ 291.0, 91.0, 102.0, 22.0 ], "text" : "gen~ @title 16ths" } } , { "box" : { "attr" : "offset", "displaymode" : 2, "id" : "obj-39", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 750.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[11]" } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-40", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 657.0, 122.0, 180.0, 103.0 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-41", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 657.0, 226.0, 180.0, 103.0 ], "range" : [ -0.1, 1.1 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "attr" : "numbeats", "displaymode" : 1, "id" : "obj-42", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 604.0, 63.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[12]" } } , { "box" : { "attr" : "bpm", "id" : "obj-43", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 604.0, 37.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[13]" } } , { "box" : { "id" : "obj-44", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 604.0, 122.0, 45.0, 77.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_initial" : [ -70 ], "parameter_initial_enable" : 1, "parameter_longname" : "live.gain~[11]", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 0, "parameter_shortname" : "live.gain~", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~[5]" } } , { "box" : { "id" : "obj-45", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 604.0, 207.0, 45.0, 45.0 ] } } , { "box" : { "id" : "obj-46", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "signal", "signal", "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 442.0, 87.0, 380.0, 393.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 271.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 161.615390777587891, 208.0, 156.423070728778839, 20.0 ], "text" : "pick an offset into the loop" } } , { "box" : { "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 161.615390777587891, 184.0, 92.0, 22.0 ], "text" : "param offset 12" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 208.0, 34.076929271221161, 22.0 ], "text" : "+" } } , { "box" : { "id" : "obj-6", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 92.03846150636673, 241.0, 200.0, 20.0 ], "text" : "normal speed" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 241.0, 45.0, 22.0 ], "text" : "/ slices" } } , { "box" : { "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 92.03846150636673, 120.0, 82.0, 20.0 ], "text" : "loop phasor" } } , { "box" : { "id" : "obj-19", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 99.115390777587891, 158.0, 48.0, 34.0 ], "text" : "slice phasor" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 151.0, 47.0, 22.0 ], "text" : "* slices" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 187.03846150636673, 137.0, 137.0, 22.0 ], "text" : "param slices 16 @min 1" } } , { "box" : { "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 252.0, 337.0, 82.0, 22.0 ], "text" : "out 3 phasor2" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 175.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 145.0, 337.0, 75.0, 22.0 ], "text" : "out 2 phasor" } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 120.0, 45.0, 22.0 ], "text" : "phasor" } } , { "box" : { "id" : "obj-24", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 150.03846150636673, 29.0, 105.0, 20.0 ], "text" : "# beats per loop" } } , { "box" : { "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 75.115390777587891, 53.0, 72.0, 20.0 ], "text" : "BPM to Hz" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 77.0, 126.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 53.0, 29.0, 22.0 ], "text" : "/ 60" } } , { "box" : { "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 150.03846150636673, 51.0, 109.0, 22.0 ], "text" : "param numbeats 8" } } , { "box" : { "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 42.53846150636673, 29.0, 93.0, 22.0 ], "text" : "param bpm 150" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 42.53846150636673, 311.375, 93.0, 22.0 ], "text" : "sample myloop" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 161.615390777587891, 311.375, 84.0, 22.0 ], "text" : "buffer myloop" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 42.53846150636673, 337.0, 71.0, 22.0 ], "text" : "out 1 sound" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-15", 0 ], "midpoints" : [ 52.03846150636673, 143.0, 52.03846150636673, 143.0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 1 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "order" : 1, "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "midpoints" : [ 52.03846150636673, 300.6875, 154.5, 300.6875 ], "order" : 0, "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 1 ], "source" : [ "obj-9", 0 ] } } ], "bgcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } , "patching_rect" : [ 604.0, 91.0, 136.0, 22.0 ], "text" : "gen~ @title 16ths-scrub" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-7", 0 ], "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-46", 0 ], "source" : [ "obj-39", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "source" : [ "obj-4", 0 ] } } , { "patchline" : { "destination" : [ "obj-46", 0 ], "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-46", 0 ], "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-45", 1 ], "source" : [ "obj-44", 1 ] } } , { "patchline" : { "destination" : [ "obj-45", 0 ], "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "hidden" : 1, "order" : 0, "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-41", 0 ], "hidden" : 1, "source" : [ "obj-46", 1 ] } } , { "patchline" : { "destination" : [ "obj-44", 1 ], "order" : 1, "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], "order" : 2, "source" : [ "obj-46", 0 ] } } , { "patchline" : { "destination" : [ "obj-6", 1 ], "source" : [ "obj-5", 1 ] } } , { "patchline" : { "destination" : [ "obj-6", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-54", 0 ], "source" : [ "obj-50", 0 ] } } , { "patchline" : { "destination" : [ "obj-54", 0 ], "source" : [ "obj-51", 0 ] } } , { "patchline" : { "destination" : [ "obj-53", 1 ], "source" : [ "obj-52", 1 ] } } , { "patchline" : { "destination" : [ "obj-53", 0 ], "source" : [ "obj-52", 0 ] } } , { "patchline" : { "destination" : [ "obj-48", 0 ], "hidden" : 1, "order" : 0, "source" : [ "obj-54", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 0 ], "hidden" : 1, "source" : [ "obj-54", 1 ] } } , { "patchline" : { "destination" : [ "obj-52", 1 ], "order" : 1, "source" : [ "obj-54", 0 ] } } , { "patchline" : { "destination" : [ "obj-52", 0 ], "order" : 2, "source" : [ "obj-54", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "hidden" : 1, "order" : 0, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "hidden" : 1, "source" : [ "obj-7", 1 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "order" : 1, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "order" : 2, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-78", 0 ], "source" : [ "obj-71", 0 ] } } , { "patchline" : { "destination" : [ "obj-78", 0 ], "source" : [ "obj-74", 0 ] } } , { "patchline" : { "destination" : [ "obj-78", 0 ], "source" : [ "obj-75", 0 ] } } , { "patchline" : { "destination" : [ "obj-77", 1 ], "source" : [ "obj-76", 1 ] } } , { "patchline" : { "destination" : [ "obj-77", 0 ], "source" : [ "obj-76", 0 ] } } , { "patchline" : { "destination" : [ "obj-72", 0 ], "hidden" : 1, "order" : 0, "source" : [ "obj-78", 0 ] } } , { "patchline" : { "destination" : [ "obj-73", 0 ], "hidden" : 1, "source" : [ "obj-78", 1 ] } } , { "patchline" : { "destination" : [ "obj-76", 1 ], "order" : 1, "source" : [ "obj-78", 0 ] } } , { "patchline" : { "destination" : [ "obj-76", 0 ], "order" : 2, "source" : [ "obj-78", 0 ] } } , { "patchline" : { "destination" : [ "obj-90", 0 ], "source" : [ "obj-79", 0 ] } } , { "patchline" : { "destination" : [ "obj-90", 0 ], "source" : [ "obj-82", 0 ] } } , { "patchline" : { "destination" : [ "obj-90", 0 ], "source" : [ "obj-83", 0 ] } } , { "patchline" : { "destination" : [ "obj-85", 1 ], "source" : [ "obj-84", 1 ] } } , { "patchline" : { "destination" : [ "obj-85", 0 ], "source" : [ "obj-84", 0 ] } } , { "patchline" : { "destination" : [ "obj-80", 0 ], "hidden" : 1, "order" : 0, "source" : [ "obj-90", 0 ] } } , { "patchline" : { "destination" : [ "obj-81", 0 ], "hidden" : 1, "source" : [ "obj-90", 1 ] } } , { "patchline" : { "destination" : [ "obj-84", 1 ], "order" : 1, "source" : [ "obj-90", 0 ] } } , { "patchline" : { "destination" : [ "obj-84", 0 ], "order" : 2, "source" : [ "obj-90", 0 ] } } ], "toolbarexclusions" : [ "calendar" ] } , "patching_rect" : [ 537.0, 384.0, 200.0, 22.0 ], "text" : "p \"building the patcher step by step\"" } } , { "box" : { "id" : "obj-112", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 588.0, 444.0, 92.5, 20.0 ], "text" : "load a wave file" } } , { "box" : { "id" : "obj-90", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 537.0, 443.0, 48.0, 22.0 ], "text" : "replace" } } , { "box" : { "bgcolor" : [ 0.0, 0.0, 0.0, 1.0 ], "buffername" : "myloop", "grid" : 0.125, "id" : "obj-114", "labels" : 0, "maxclass" : "waveform~", "numinlets" : 5, "numoutlets" : 6, "outlettype" : [ "float", "float", "float", "float", "list", "" ], "patching_rect" : [ 537.0, 503.0, 241.0, 36.0 ], "ruler" : 0, "setunit" : 2, "waveformcolor" : [ 1.0, 1.0, 1.0, 1.0 ] } } , { "box" : { "id" : "obj-115", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "patching_rect" : [ 537.0, 471.0, 125.0, 22.0 ], "text" : "buffer~ myloop 20000" } } , { "box" : { "attr" : "chance", "displaymode" : 2, "id" : "obj-103", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 256.0, 338.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[25]" } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-105", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 160.0, 442.0, 180.0, 103.0 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "activebgcolor" : [ 0.058823529411765, 0.058823529411765, 0.058823529411765, 1.0 ], "activelinecolor" : [ 1.0, 1.0, 1.0, 1.0 ], "id" : "obj-93", "maxclass" : "live.scope~", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "bang" ], "patching_rect" : [ 342.0, 442.0, 180.0, 103.0 ], "range" : [ -0.1, 1.1 ], "rounded" : 0.0, "samples" : 180000.0 } } , { "box" : { "attr" : "numbeats", "displaymode" : 1, "id" : "obj-94", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 110.0, 338.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[27]" } } , { "box" : { "attr" : "bpm", "id" : "obj-95", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 110.0, 305.0, 125.0, 22.0 ], "text_width" : 76.0, "varname" : "attrui[28]" } } , { "box" : { "id" : "obj-96", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 110.0, 415.0, 45.0, 77.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_initial" : [ -70 ], "parameter_initial_enable" : 1, "parameter_longname" : "live.gain~[12]", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 0, "parameter_shortname" : "live.gain~", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~[9]" } } , { "box" : { "id" : "obj-111", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 2, "outlettype" : [ "signal", "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 370.0, 167.0, 776.0, 470.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-31", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 47.03846150636673, 429.0, 29.5, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 295.0, 429.0, 64.0, 22.0 ], "text" : "in 3 speed" } } , { "box" : { "id" : "obj-43", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 304.5, 21.0, 56.0, 22.0 ], "text" : "in 2 sync" } } , { "box" : { "id" : "obj-42", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 81.03846150636673, 481.0, 72.0, 22.0 ], "text" : "param state" } } , { "box" : { "id" : "obj-41", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 104.03846150636673, 519.0, 19.0, 22.0 ], "text" : "0" } } , { "box" : { "id" : "obj-40", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 81.03846150636673, 559.0, 42.0, 22.0 ], "text" : "switch" } } , { "box" : { "id" : "obj-27", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 314.0, 246.0, 47.0, 22.0 ], "text" : "* slices" } } , { "box" : { "id" : "obj-36", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 410.0, 271.0, 130.0, 20.0 ], "text" : "sometimes skip about" } } , { "box" : { "id" : "obj-48", "linecount" : 2, "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 387.0, 188.0, 153.0, 36.0 ], "text" : "param chance 0.2 @min 0 @max 1" } } , { "box" : { "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 314.0, 277.0, 92.0, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-34", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 314.0, 214.0, 37.0, 22.0 ], "text" : "noise" } } , { "box" : { "id" : "obj-32", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 326.03846150636673, 308.0, 119.423070728778839, 34.0 ], "text" : "only do whole number slice offsets" } } , { "box" : { "id" : "obj-30", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 47.03846150636673, 452.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-29", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 123.03846150636673, 302.0, 156.423070728778839, 20.0 ], "text" : "did it make a big jump?" } } , { "box" : { "id" : "obj-28", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 123.03846150636673, 253.0, 153.0, 48.0 ], "text" : "get the absolute difference in the ramp since the last sample frame" } } , { "box" : { "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 81.03846150636673, 301.0, 36.0, 22.0 ], "text" : "> 0.5" } } , { "box" : { "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 81.03846150636673, 277.0, 28.0, 22.0 ], "text" : "abs" } } , { "box" : { "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 81.03846150636673, 253.0, 35.0, 22.0 ], "text" : "delta" } } , { "box" : { "id" : "obj-14", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 66.03846150636673, 342.0, 34.0, 22.0 ], "text" : "latch" } } , { "box" : { "id" : "obj-17", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 112.03846150636673, 342.0, 201.423070728778839, 20.0 ], "text" : "if so, pick a new offset into the loop" } } , { "box" : { "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 293.03846150636673, 308.0, 32.0, 22.0 ], "text" : "floor" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 47.03846150636673, 368.0, 38.46153849363327, 22.0 ], "text" : "+" } } , { "box" : { "id" : "obj-6", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 96.03846150636673, 397.0, 81.0, 20.0 ], "text" : "normal speed" } } , { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 47.03846150636673, 397.0, 45.0, 22.0 ], "text" : "/ slices" } } , { "box" : { "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 96.03846150636673, 155.0, 71.0, 20.0 ], "text" : "loop phasor" } } , { "box" : { "id" : "obj-19", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 103.03846150636673, 215.0, 74.923070728778839, 20.0 ], "text" : "slice phasor" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 47.03846150636673, 181.0, 47.0, 22.0 ], "text" : "* slices" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 112.03846150636673, 181.0, 137.0, 22.0 ], "text" : "param slices 16 @min 1" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 47.03846150636673, 215.0, 55.0, 22.0 ], "text" : "wrap 0 1" } } , { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 149.03846150636673, 646.0, 75.0, 22.0 ], "text" : "out 2 phasor" } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 47.03846150636673, 154.0, 45.0, 22.0 ], "text" : "phasor" } } , { "box" : { "id" : "obj-24", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 165.5, 16.0, 105.0, 20.0 ], "text" : "# beats per loop" } } , { "box" : { "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 90.5, 40.0, 72.0, 20.0 ], "text" : "BPM to Hz" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 58.5, 64.0, 126.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 58.5, 40.0, 29.0, 22.0 ], "text" : "/ 60" } } , { "box" : { "id" : "obj-16", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 165.5, 38.0, 109.0, 22.0 ], "text" : "param numbeats 8" } } , { "box" : { "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 58.5, 16.0, 93.0, 22.0 ], "text" : "param bpm 140" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 47.03846150636673, 620.0, 93.0, 22.0 ], "text" : "sample myloop" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 166.03846150636673, 620.0, 84.0, 22.0 ], "text" : "buffer myloop" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 47.03846150636673, 646.0, 71.0, 22.0 ], "text" : "out 1 sound" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-15", 0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 1 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "order" : 1, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "order" : 0, "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 1 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 1 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-47", 0 ], "source" : [ "obj-27", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "midpoints" : [ 56.53846150636673, 243.0, 90.53846150636673, 243.0 ], "order" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "order" : 1, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 1 ], "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-30", 0 ], "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-27", 0 ], "source" : [ "obj-34", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "order" : 1, "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "order" : 0, "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 2 ], "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-1", 1 ], "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-9", 0 ], "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-47", 1 ], "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 1 ], "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-14", 0 ], "midpoints" : [ 302.53846150636673, 334.0, 75.53846150636673, 334.0 ], "source" : [ "obj-9", 0 ] } } ], "bgcolor" : [ 0.396078431372549, 0.396078431372549, 0.396078431372549, 1.0 ] } , "patching_rect" : [ 110.0, 384.0, 124.0, 22.0 ], "text" : "gen~ @title beatslicer" } } , { "box" : { "buffername" : "buf", "id" : "obj-6", "maxclass" : "waveform~", "numinlets" : 5, "numoutlets" : 6, "outlettype" : [ "float", "float", "float", "float", "list", "" ], "patching_rect" : [ 443.0, 687.0, 256.0, 64.0 ] } } , { "box" : { "id" : "obj-21", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 327.0, 763.0, 110.0, 20.0 ], "text" : "loop sync" } } , { "box" : { "id" : "obj-19", "maxclass" : "scope~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 158.0, 813.0, 130.0, 130.0 ] } } , { "box" : { "format" : 6, "id" : "obj-18", "maxclass" : "flonum", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "", "bang" ], "parameter_enable" : 0, "patching_rect" : [ 106.0, 672.0, 50.0, 22.0 ] } } , { "box" : { "id" : "obj-1", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 307.0, 691.0, 110.0, 20.0 ], "text" : "loop points in ms" } } , { "box" : { "attr" : "len", "id" : "obj-15", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 195.0, 699.0, 110.0, 22.0 ], "text_width" : 56.0 } } , { "box" : { "attr" : "start", "id" : "obj-14", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 195.0, 678.0, 110.0, 22.0 ], "text_width" : 56.0 } } , { "box" : { "id" : "obj-13", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 106.0, 640.0, 45.0, 20.0 ], "text" : "speed" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "signal" ], "patching_rect" : [ 106.0, 699.0, 41.0, 22.0 ], "text" : "sig~ 1" } } , { "box" : { "id" : "obj-10", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 307.0, 652.0, 110.0, 20.0 ], "text" : "duck time in ms" } } , { "box" : { "id" : "obj-34", "maxclass" : "dial", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "float" ], "parameter_enable" : 0, "patching_rect" : [ 327.0, 840.0, 40.0, 40.0 ], "vtracking" : 0 } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595186999999999, "id" : "obj-33", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "float" ], "patching_rect" : [ 327.0, 818.0, 41.0, 22.0 ], "text" : "* 127." } } , { "box" : { "fontface" : 0, "fontname" : "Arial", "fontsize" : 11.595186999999999, "id" : "obj-32", "maxclass" : "number~", "mode" : 2, "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "signal", "float" ], "patching_rect" : [ 290.0, 785.0, 94.0, 22.0 ], "sig" : 0.0 } } , { "box" : { "fontface" : 0, "fontname" : "Arial", "fontsize" : 11.595186999999999, "id" : "obj-40", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "float", "bang" ], "patching_rect" : [ 443.0, 659.0, 124.0, 22.0 ], "text" : "buffer~ buf brushes.aif" } } , { "box" : { "fontname" : "Arial", "fontsize" : 11.595186999999999, "id" : "obj-39", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 443.0, 629.0, 49.0, 22.0 ], "text" : "replace" } } , { "box" : { "id" : "obj-5", "maxclass" : "ezdac~", "numinlets" : 2, "numoutlets" : 0, "patching_rect" : [ 104.0, 514.0, 45.0, 45.0 ] } } , { "box" : { "id" : "obj-4", "lastchannelcount" : 0, "maxclass" : "live.gain~", "numinlets" : 2, "numoutlets" : 5, "outlettype" : [ "signal", "signal", "", "float", "list" ], "parameter_enable" : 1, "patching_rect" : [ 106.0, 803.0, 48.0, 136.0 ], "saved_attribute_attributes" : { "valueof" : { "parameter_longname" : "live.gain~", "parameter_mmax" : 6.0, "parameter_mmin" : -70.0, "parameter_modmode" : 0, "parameter_shortname" : "live.gain~", "parameter_type" : 0, "parameter_unitstyle" : 4 } } , "varname" : "live.gain~" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 3, "outlettype" : [ "signal", "signal", "signal" ], "patcher" : { "fileversion" : 1, "appversion" : { "major" : 9, "minor" : 0, "revision" : 9, "architecture" : "x64", "modernui" : 1 } , "classnamespace" : "dsp.gen", "rect" : [ 34.0, 77.0, 1213.0, 690.0 ], "gridsize" : [ 15.0, 15.0 ], "boxes" : [ { "box" : { "id" : "obj-5", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 293.25, 229.0, 19.0, 22.0 ], "text" : "4" } } , { "box" : { "id" : "obj-56", "linecount" : 4, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 633.0, 350.0, 97.0, 62.0 ], "text" : "synchronize parameter changes to loop boundaries" } } , { "box" : { "id" : "obj-54", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 660.0, 43.0, 64.0, 22.0 ], "text" : "history p 1" } } , { "box" : { "id" : "obj-53", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 518.0, 79.5, 75.0, 22.0 ], "text" : "latch @init 1" } } , { "box" : { "id" : "obj-52", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 365.0, 79.5, 88.0, 22.0 ], "text" : "latch @init 250" } } , { "box" : { "id" : "obj-51", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 226.416666666666629, 79.5, 75.0, 22.0 ], "text" : "latch @init 0" } } , { "box" : { "id" : "obj-49", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 648.5, 490.0, 42.0, 22.0 ], "text" : "> 0.25" } } , { "box" : { "id" : "obj-48", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 648.5, 461.0, 28.0, 22.0 ], "text" : "abs" } } , { "box" : { "id" : "obj-47", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 648.5, 432.0, 75.0, 22.0 ], "text" : "delta @init 2" } } , { "box" : { "id" : "obj-46", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 29.0, 432.0, 77.000000000000114, 20.0 ], "text" : "in samples" } } , { "box" : { "id" : "obj-45", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 29.0, 343.0, 115.0, 34.0 ], "text" : "phase-per-sample for this loop len" } } , { "box" : { "id" : "obj-44", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 146.0, 432.0, 70.0, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-43", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 146.0, 343.0, 29.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-42", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 146.0, 108.0, 76.0, 22.0 ], "text" : "* samplerate" } } , { "box" : { "id" : "obj-40", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 146.0, 379.0, 45.0, 22.0 ], "text" : "phasor" } } , { "box" : { "id" : "obj-34", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 29.0, 489.0, 87.0, 20.0 ], "text" : "loop start" } } , { "box" : { "id" : "obj-30", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 29.0, 381.0, 77.000000000000114, 20.0 ], "text" : "loop phase" } } , { "box" : { "id" : "obj-26", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 146.0, 489.0, 29.5, 22.0 ], "text" : "+" } } , { "box" : { "id" : "obj-24", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 3, "outlettype" : [ "", "", "" ], "patching_rect" : [ 146.0, 537.0, 206.0, 22.0 ], "text" : "peek buf @interp linear @channels 2" } } , { "box" : { "id" : "obj-23", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 242.999999999999886, 310.0, 53.0, 20.0 ], "text" : "loop len" } } , { "box" : { "id" : "obj-20", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 197.0, 310.0, 29.5, 22.0 ], "text" : "-" } } , { "box" : { "id" : "obj-19", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 29.0, 256.0, 101.0, 34.0 ], "text" : "loop bounds in samples" } } , { "box" : { "id" : "obj-18", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 226.416666666666629, 187.0, 29.5, 22.0 ], "text" : "min" } } , { "box" : { "id" : "obj-15", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 279.0, 187.0, 31.0, 22.0 ], "text" : "max" } } , { "box" : { "id" : "obj-3", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 226.416666666666629, 256.0, 48.0, 22.0 ], "text" : "clamp" } } , { "box" : { "id" : "obj-2", "maxclass" : "newobj", "numinlets" : 3, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 279.0, 256.0, 48.0, 22.0 ], "text" : "clamp" } } , { "box" : { "id" : "obj-41", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 2, "outlettype" : [ "", "" ], "patching_rect" : [ 338.5, 187.0, 59.0, 22.0 ], "text" : "buffer buf" } } , { "box" : { "id" : "obj-39", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 660.0, 733.0, 147.0, 20.0 ], "text" : "Graham Wakefield 2020" } } , { "box" : { "id" : "obj-38", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 465.0, 564.0, 132.0, 34.0 ], "text" : "scale and clip triangle to get duck shape" } } , { "box" : { "id" : "obj-37", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 291.0, 146.0, 29.5, 22.0 ], "text" : "+" } } , { "box" : { "id" : "obj-36", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 416.0, 505.0, 48.0, 22.0 ], "text" : "triangle" } } , { "box" : { "id" : "obj-35", "linecount" : 2, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 429.0, 466.0, 66.0, 34.0 ], "text" : "phasor to triangle" } } , { "box" : { "id" : "obj-33", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 29.0, 19.0, 101.0, 20.0 ], "text" : "inputs" } } , { "box" : { "id" : "obj-32", "linecount" : 3, "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 29.0, 108.0, 101.0, 48.0 ], "text" : "convert everything to samples" } } , { "box" : { "id" : "obj-31", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 542.0, 187.0, 150.0, 20.0 ], "text" : "ratio of length to duck time" } } , { "box" : { "id" : "obj-29", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 507.5, 187.0, 29.5, 22.0 ], "text" : "/" } } , { "box" : { "id" : "obj-28", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 416.0, 537.0, 110.5, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-25", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 416.0, 564.0, 47.0, 22.0 ], "text" : "clip 0 1" } } , { "box" : { "id" : "obj-22", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 239.5, 617.0, 29.5, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-21", "maxclass" : "newobj", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 146.0, 617.0, 29.5, 22.0 ], "text" : "*" } } , { "box" : { "id" : "obj-13", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 226.416666666666629, 108.0, 70.0, 22.0 ], "text" : "mstosamps" } } , { "box" : { "id" : "obj-12", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 365.0, 108.0, 70.0, 22.0 ], "text" : "mstosamps" } } , { "box" : { "id" : "obj-11", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 239.5, 646.0, 47.0, 22.0 ], "text" : "out 2 R" } } , { "box" : { "id" : "obj-10", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 365.0, 19.0, 140.0, 22.0 ], "text" : "param len 250 @min 0.1" } } , { "box" : { "id" : "obj-9", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 226.416666666666629, 19.0, 124.0, 22.0 ], "text" : "param start 0 @min 0" } } , { "box" : { "id" : "obj-8", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 291.0, 432.0, 63.0, 22.0 ], "text" : "out 3 sync" } } , { "box" : { "id" : "obj-7", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 518.0, 104.0, 70.0, 22.0 ], "text" : "mstosamps" } } , { "box" : { "id" : "obj-6", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 518.0, 19.0, 136.0, 22.0 ], "text" : "param duck 1 @min 0.1" } } , { "box" : { "id" : "obj-1", "maxclass" : "newobj", "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], "patching_rect" : [ 146.0, 19.0, 64.0, 22.0 ], "text" : "in 1 speed" } } , { "box" : { "id" : "obj-4", "maxclass" : "newobj", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 146.0, 646.0, 45.0, 22.0 ], "text" : "out 1 L" } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-42", 0 ], "source" : [ "obj-1", 0 ] } } , { "patchline" : { "destination" : [ "obj-52", 0 ], "source" : [ "obj-10", 0 ] } } , { "patchline" : { "destination" : [ "obj-29", 0 ], "order" : 0, "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-37", 1 ], "order" : 1, "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 0 ], "order" : 1, "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "order" : 2, "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-37", 0 ], "order" : 0, "source" : [ "obj-13", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "midpoints" : [ 288.5, 286.5, 206.5, 286.5 ], "source" : [ "obj-2", 0 ] } } , { "patchline" : { "destination" : [ "obj-43", 1 ], "order" : 1, "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 1 ], "order" : 0, "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "source" : [ "obj-21", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "source" : [ "obj-22", 0 ] } } , { "patchline" : { "destination" : [ "obj-21", 0 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "source" : [ "obj-24", 1 ] } } , { "patchline" : { "destination" : [ "obj-21", 1 ], "order" : 1, "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 1 ], "order" : 0, "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-24", 0 ], "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 1 ], "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 1 ], "midpoints" : [ 235.916666666666629, 300.5, 217.0, 300.5 ], "order" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 1 ], "midpoints" : [ 235.916666666666629, 475.0, 166.0, 475.0 ], "order" : 1, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "source" : [ "obj-36", 0 ] } } , { "patchline" : { "destination" : [ "obj-15", 1 ], "order" : 0, "source" : [ "obj-37", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 1 ], "order" : 1, "source" : [ "obj-37", 0 ] } } , { "patchline" : { "destination" : [ "obj-36", 0 ], "midpoints" : [ 155.5, 413.0, 425.5, 413.0 ], "order" : 1, "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], "order" : 3, "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-47", 0 ], "midpoints" : [ 155.5, 412.0, 658.0, 412.0 ], "order" : 0, "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-8", 0 ], "midpoints" : [ 155.5, 416.0, 300.5, 416.0 ], "order" : 2, "source" : [ "obj-40", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 2 ], "midpoints" : [ 348.0, 214.5, 317.5, 214.5 ], "order" : 0, "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 2 ], "midpoints" : [ 348.0, 214.5, 264.916666666666629, 214.5 ], "order" : 1, "source" : [ "obj-41", 0 ] } } , { "patchline" : { "destination" : [ "obj-43", 0 ], "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "source" : [ "obj-43", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-48", 0 ], "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-49", 0 ], "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-54", 0 ], "midpoints" : [ 658.0, 492.0, 735.25, 492.0, 735.25, 32.0, 669.5, 32.0 ], "source" : [ "obj-49", 0 ] } } , { "patchline" : { "destination" : [ "obj-2", 1 ], "source" : [ "obj-5", 0 ] } } , { "patchline" : { "destination" : [ "obj-13", 0 ], "source" : [ "obj-51", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "source" : [ "obj-52", 0 ] } } , { "patchline" : { "destination" : [ "obj-7", 0 ], "source" : [ "obj-53", 0 ] } } , { "patchline" : { "destination" : [ "obj-51", 1 ], "midpoints" : [ 669.5, 73.5, 291.916666666666629, 73.5 ], "order" : 2, "source" : [ "obj-54", 0 ] } } , { "patchline" : { "destination" : [ "obj-52", 1 ], "midpoints" : [ 669.5, 73.5, 443.5, 73.5 ], "order" : 1, "source" : [ "obj-54", 0 ] } } , { "patchline" : { "destination" : [ "obj-53", 1 ], "midpoints" : [ 669.5, 73.5, 583.5, 73.5 ], "order" : 0, "source" : [ "obj-54", 0 ] } } , { "patchline" : { "destination" : [ "obj-53", 0 ], "source" : [ "obj-6", 0 ] } } , { "patchline" : { "destination" : [ "obj-29", 1 ], "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-51", 0 ], "source" : [ "obj-9", 0 ] } } ] } , "patching_rect" : [ 106.0, 752.0, 138.0, 22.0 ], "text" : "gen~ @title grooveduck" } } , { "box" : { "fontname" : "Arial Bold Italic", "fontsize" : 18.0, "id" : "obj-2", "maxclass" : "comment", "numinlets" : 1, "numoutlets" : 0, "patching_rect" : [ 39.0, 579.0, 236.0, 27.0 ], "text" : "Grooveduck in gen~" } } , { "box" : { "attr" : "duck", "id" : "obj-8", "maxclass" : "attrui", "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], "parameter_enable" : 0, "patching_rect" : [ 195.0, 652.0, 110.0, 22.0 ], "text_width" : 56.0 } } ], "lines" : [ { "patchline" : { "destination" : [ "obj-111", 0 ], "midpoints" : [ 265.5, 377.0, 119.5, 377.0 ], "source" : [ "obj-103", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-11", 0 ] } } , { "patchline" : { "destination" : [ "obj-105", 0 ], "hidden" : 1, "order" : 0, "source" : [ "obj-111", 0 ] } } , { "patchline" : { "destination" : [ "obj-93", 0 ], "hidden" : 1, "source" : [ "obj-111", 1 ] } } , { "patchline" : { "destination" : [ "obj-96", 1 ], "order" : 1, "source" : [ "obj-111", 0 ] } } , { "patchline" : { "destination" : [ "obj-96", 0 ], "order" : 2, "source" : [ "obj-111", 0 ] } } , { "patchline" : { "destination" : [ "obj-188", 0 ], "source" : [ "obj-117", 0 ] } } , { "patchline" : { "destination" : [ "obj-117", 0 ], "order" : 0, "source" : [ "obj-12", 4 ] } } , { "patchline" : { "destination" : [ "obj-370", 0 ], "source" : [ "obj-12", 0 ] } } , { "patchline" : { "destination" : [ "obj-95", 0 ], "order" : 1, "source" : [ "obj-12", 4 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-14", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-15", 0 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-16", 1 ] } } , { "patchline" : { "destination" : [ "obj-20", 0 ], "source" : [ "obj-16", 0 ] } } , { "patchline" : { "destination" : [ "obj-181", 1 ], "source" : [ "obj-179", 0 ] } } , { "patchline" : { "destination" : [ "obj-11", 0 ], "source" : [ "obj-18", 0 ] } } , { "patchline" : { "destination" : [ "obj-115", 0 ], "source" : [ "obj-181", 0 ] } } , { "patchline" : { "destination" : [ "obj-187", 0 ], "order" : 0, "source" : [ "obj-184", 0 ] } } , { "patchline" : { "destination" : [ "obj-94", 0 ], "order" : 1, "source" : [ "obj-184", 0 ] } } , { "patchline" : { "destination" : [ "obj-179", 0 ], "order" : 1, "source" : [ "obj-187", 0 ] } } , { "patchline" : { "destination" : [ "obj-194", 1 ], "order" : 0, "source" : [ "obj-187", 0 ] } } , { "patchline" : { "destination" : [ "obj-187", 1 ], "source" : [ "obj-188", 1 ] } } , { "patchline" : { "destination" : [ "obj-187", 0 ], "source" : [ "obj-188", 0 ] } } , { "patchline" : { "destination" : [ "obj-191", 0 ], "source" : [ "obj-193", 0 ] } } , { "patchline" : { "destination" : [ "obj-207", 0 ], "source" : [ "obj-194", 0 ] } } , { "patchline" : { "destination" : [ "obj-191", 0 ], "source" : [ "obj-20", 0 ] } } , { "patchline" : { "destination" : [ "obj-208", 0 ], "source" : [ "obj-200", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 0 ], "source" : [ "obj-201", 0 ] } } , { "patchline" : { "destination" : [ "obj-193", 0 ], "source" : [ "obj-204", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 2 ], "source" : [ "obj-206", 0 ] } } , { "patchline" : { "destination" : [ "obj-193", 0 ], "source" : [ "obj-207", 0 ] } } , { "patchline" : { "destination" : [ "obj-181", 0 ], "source" : [ "obj-208", 2 ] } } , { "patchline" : { "destination" : [ "obj-194", 0 ], "source" : [ "obj-208", 0 ] } } , { "patchline" : { "destination" : [ "obj-204", 0 ], "source" : [ "obj-208", 1 ] } } , { "patchline" : { "destination" : [ "obj-201", 0 ], "source" : [ "obj-212", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 0 ], "source" : [ "obj-23", 0 ] } } , { "patchline" : { "destination" : [ "obj-25", 1 ], "source" : [ "obj-24", 0 ] } } , { "patchline" : { "destination" : [ "obj-26", 0 ], "source" : [ "obj-25", 0 ] } } , { "patchline" : { "destination" : [ "obj-27", 1 ], "order" : 0, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-27", 0 ], "order" : 1, "source" : [ "obj-26", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 1 ], "order" : 0, "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-22", 0 ], "order" : 1, "source" : [ "obj-28", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 0 ], "source" : [ "obj-29", 0 ] } } , { "patchline" : { "destination" : [ "obj-19", 0 ], "order" : 0, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-32", 0 ], "source" : [ "obj-3", 2 ] } } , { "patchline" : { "destination" : [ "obj-4", 1 ], "source" : [ "obj-3", 1 ] } } , { "patchline" : { "destination" : [ "obj-4", 0 ], "order" : 1, "source" : [ "obj-3", 0 ] } } , { "patchline" : { "destination" : [ "obj-31", 1 ], "source" : [ "obj-30", 0 ] } } , { "patchline" : { "destination" : [ "obj-28", 0 ], "source" : [ "obj-31", 0 ] } } , { "patchline" : { "destination" : [ "obj-33", 0 ], "source" : [ "obj-32", 1 ] } } , { "patchline" : { "destination" : [ "obj-34", 0 ], "source" : [ "obj-33", 0 ] } } , { "patchline" : { "destination" : [ "obj-379", 0 ], "source" : [ "obj-370", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 1 ], "source" : [ "obj-378", 0 ] } } , { "patchline" : { "destination" : [ "obj-378", 0 ], "source" : [ "obj-379", 0 ] } } , { "patchline" : { "destination" : [ "obj-379", 1 ], "source" : [ "obj-382", 0 ] } } , { "patchline" : { "destination" : [ "obj-40", 0 ], "source" : [ "obj-39", 0 ] } } , { "patchline" : { "destination" : [ "obj-44", 0 ], "source" : [ "obj-42", 0 ] } } , { "patchline" : { "destination" : [ "obj-48", 0 ], "source" : [ "obj-44", 0 ] } } , { "patchline" : { "destination" : [ "obj-41", 0 ], "order" : 1, "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-48", 1 ], "order" : 0, "source" : [ "obj-47", 0 ] } } , { "patchline" : { "destination" : [ "obj-45", 0 ], "midpoints" : [ 849.5, 913.0, 849.5, 913.0 ], "source" : [ "obj-48", 0 ] } } , { "patchline" : { "destination" : [ "obj-12", 0 ], "order" : 2, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-18", 0 ], "order" : 1, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-206", 0 ], "order" : 0, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-212", 0 ], "order" : 3, "source" : [ "obj-7", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 0 ], "midpoints" : [ 402.5, 377.0, 119.5, 377.0 ], "source" : [ "obj-72", 0 ] } } , { "patchline" : { "destination" : [ "obj-3", 0 ], "source" : [ "obj-8", 0 ] } } , { "patchline" : { "destination" : [ "obj-184", 0 ], "order" : 1, "source" : [ "obj-9", 0 ] } } , { "patchline" : { "destination" : [ "obj-72", 0 ], "order" : 0, "source" : [ "obj-9", 0 ] } } , { "patchline" : { "destination" : [ "obj-115", 0 ], "source" : [ "obj-90", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 0 ], "source" : [ "obj-94", 0 ] } } , { "patchline" : { "destination" : [ "obj-111", 0 ], "source" : [ "obj-95", 0 ] } } , { "patchline" : { "destination" : [ "obj-5", 1 ], "source" : [ "obj-96", 1 ] } } , { "patchline" : { "destination" : [ "obj-5", 0 ], "source" : [ "obj-96", 0 ] } } ], "parameters" : { "obj-20" : [ "live.gain~[6]", "live.gain~[6]", 0 ], "obj-4" : [ "live.gain~", "live.gain~", 0 ], "obj-74::obj-44" : [ "live.gain~[11]", "live.gain~", 0 ], "obj-74::obj-5" : [ "live.gain~[1]", "live.gain~", 0 ], "obj-74::obj-52" : [ "live.gain~[10]", "live.gain~", 0 ], "obj-74::obj-76" : [ "live.gain~[9]", "live.gain~", 0 ], "obj-74::obj-84" : [ "live.gain~[5]", "live.gain~", 0 ], "obj-96" : [ "live.gain~[12]", "live.gain~", 0 ], "parameterbanks" : { "0" : { "index" : 0, "name" : "", "parameters" : [ "-", "-", "-", "-", "-", "-", "-", "-" ], "buttons" : [ "-", "-", "-", "-", "-", "-", "-", "-" ] } } , "inherited_shortname" : 1 } , "dependency_cache" : [ ], "autosave" : 0, "toolbarexclusions" : [ "calendar" ] } }