From: Jeffrey Lubow Date: Fri, 13 May 2016 08:36:05 +0000 (-0400) Subject: added fading trims for clicks X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;h=85b2dc1897916a08665c206a14bc2254f36036be;p=inkplayer.git added fading trims for clicks --- diff --git a/ip_record_input_st~.maxpat b/ip_record_input_st~.maxpat index b57e012..2652016 100644 --- a/ip_record_input_st~.maxpat +++ b/ip_record_input_st~.maxpat @@ -9,7 +9,7 @@ "modernui" : 1 } , - "rect" : [ 59.0, 104.0, 640.0, 480.0 ], + "rect" : [ 59.0, 104.0, 657.0, 557.0 ], "bglocked" : 0, "openinpresentation" : 0, "default_fontsize" : 12.0, @@ -37,28 +37,132 @@ "style" : "", "subpatcher_template" : "gridded", "boxes" : [ { + "box" : { + "id" : "obj-54", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 221.0, 493.0, 51.0, 22.0 ], + "style" : "", + "text" : "reset, 1" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "clear" ], + "patching_rect" : [ 221.0, 433.0, 53.0, 22.0 ], + "style" : "", + "text" : "t b clear" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 99.0, 484.0, 48.0, 22.0 ], + "style" : "", + "text" : "buffer~" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 471.0, 230.0, 29.5, 22.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 244.0, 285.0, 44.0, 22.0 ], + "style" : "", + "text" : "t 0 1" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 529.0, 240.0, 34.0, 22.0 ], + "style" : "", + "text" : "gate" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 471.0, 198.0, 34.0, 22.0 ], + "style" : "", + "text" : "gate" + } + + } +, { "box" : { "id" : "obj-8", "maxclass" : "message", "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 457.0, 85.0, 97.0, 22.0 ], + "patching_rect" : [ 377.0, 40.0, 41.0, 22.0 ], "style" : "", - "text" : "set one, reset, 1" + "text" : "$1 30" } } , { "box" : { "id" : "obj-6", - "maxclass" : "toggle", - "numinlets" : 1, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 377.0, 68.0, 50.0, 22.0 ], + "style" : "", + "text" : "line~ 0." + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, "numoutlets" : 1, - "outlettype" : [ "int" ], - "parameter_enable" : 0, - "patching_rect" : [ 209.0, 56.0, 24.0, 24.0 ], - "style" : "" + "outlettype" : [ "signal" ], + "patching_rect" : [ 288.0, 105.0, 36.0, 22.0 ], + "style" : "", + "text" : "*~ 0." } } @@ -66,11 +170,12 @@ "box" : { "id" : "obj-4", "maxclass" : "newobj", - "numinlets" : 1, - "numoutlets" : 0, - "patching_rect" : [ 235.0, 430.0, 54.0, 22.0 ], + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 199.0, 105.0, 36.0, 22.0 ], "style" : "", - "text" : "print rec" + "text" : "*~ 0." } } @@ -82,7 +187,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 343.0, 22.0, 30.0, 30.0 ], + "patching_rect" : [ 288.0, 36.0, 30.0, 30.0 ], "style" : "" } @@ -94,7 +199,7 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 61.0, 189.0, 117.0, 22.0 ], + "patching_rect" : [ 50.0, 292.0, 117.0, 22.0 ], "style" : "" } @@ -107,7 +212,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 285.0, 22.0, 30.0, 30.0 ], + "patching_rect" : [ 199.0, 36.0, 30.0, 30.0 ], "style" : "" } @@ -119,7 +224,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 440.0, 391.0, 30.0, 30.0 ], + "patching_rect" : [ 440.0, 429.0, 30.0, 30.0 ], "style" : "" } @@ -129,24 +234,11 @@ "id" : "obj-62", "maxclass" : "newobj", "numinlets" : 1, - "numoutlets" : 2, - "outlettype" : [ "int", "" ], - "patching_rect" : [ 50.0, 120.5, 33.0, 22.0 ], + "numoutlets" : 3, + "outlettype" : [ "int", "", "int" ], + "patching_rect" : [ 50.0, 158.5, 43.0, 22.0 ], "style" : "", - "text" : "t 1 s" - } - - } -, { - "box" : { - "id" : "obj-54", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 244.0, 343.0, 52.0, 22.0 ], - "style" : "", - "text" : "reset, 1" + "text" : "t 1 s 0" } } @@ -157,24 +249,11 @@ "numinlets" : 2, "numoutlets" : 2, "outlettype" : [ "bang", "" ], - "patching_rect" : [ 244.0, 313.0, 36.0, 22.0 ], + "patching_rect" : [ 244.0, 384.0, 36.0, 22.0 ], "style" : "", "text" : "sel 1" } - } -, { - "box" : { - "id" : "obj-51", - "maxclass" : "message", - "numinlets" : 2, - "numoutlets" : 1, - "outlettype" : [ "" ], - "patching_rect" : [ 244.0, 240.5, 29.5, 22.0 ], - "style" : "", - "text" : "0" - } - } , { "box" : { @@ -183,7 +262,7 @@ "numinlets" : 1, "numoutlets" : 2, "outlettype" : [ "bang", "bang" ], - "patching_rect" : [ 244.0, 207.5, 44.0, 22.0 ], + "patching_rect" : [ 244.0, 245.5, 44.0, 22.0 ], "style" : "", "text" : "edge~" } @@ -196,9 +275,9 @@ "numinlets" : 2, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 244.0, 177.5, 42.0, 22.0 ], + "patching_rect" : [ 244.0, 215.5, 58.0, 22.0 ], "style" : "", - "text" : "==~ 1" + "text" : ">=~ 0.95" } } @@ -209,7 +288,7 @@ "numinlets" : 1, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 92.5, 74.0, 22.0 ], + "patching_rect" : [ 50.0, 130.5, 74.0, 22.0 ], "style" : "", "text" : "prepend set" } @@ -223,7 +302,7 @@ "numoutlets" : 1, "outlettype" : [ "int" ], "parameter_enable" : 0, - "patching_rect" : [ 244.0, 278.5, 24.0, 24.0 ], + "patching_rect" : [ 244.0, 349.5, 24.0, 24.0 ], "style" : "" } @@ -235,7 +314,7 @@ "numinlets" : 4, "numoutlets" : 1, "outlettype" : [ "signal" ], - "patching_rect" : [ 244.0, 134.5, 92.0, 22.0 ], + "patching_rect" : [ 244.0, 172.5, 92.0, 22.0 ], "style" : "", "text" : "record~ none 2" } @@ -249,7 +328,7 @@ "numinlets" : 0, "numoutlets" : 1, "outlettype" : [ "" ], - "patching_rect" : [ 50.0, 40.0, 30.0, 30.0 ], + "patching_rect" : [ 50.0, 36.0, 30.0, 30.0 ], "style" : "" } @@ -261,7 +340,7 @@ "maxclass" : "outlet", "numinlets" : 1, "numoutlets" : 0, - "patching_rect" : [ 148.0, 387.0, 30.0, 30.0 ], + "patching_rect" : [ 148.0, 425.0, 30.0, 30.0 ], "style" : "" } @@ -269,7 +348,7 @@ ], "lines" : [ { "patchline" : { - "destination" : [ "obj-25", 1 ], + "destination" : [ "obj-5", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-1", 0 ] @@ -287,12 +366,57 @@ } , { "patchline" : { - "destination" : [ "obj-25", 0 ], + "destination" : [ "obj-4", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-104", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + } , { "patchline" : { @@ -329,6 +453,15 @@ "source" : [ "obj-35", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + } , { "patchline" : { @@ -341,7 +474,7 @@ } , { "patchline" : { - "destination" : [ "obj-3", 0 ], + "destination" : [ "obj-11", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-49", 0 ] @@ -350,7 +483,7 @@ } , { "patchline" : { - "destination" : [ "obj-51", 0 ], + "destination" : [ "obj-3", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-49", 0 ] @@ -359,29 +492,29 @@ } , { "patchline" : { - "destination" : [ "obj-28", 0 ], + "destination" : [ "obj-25", 1 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-51", 0 ] + "source" : [ "obj-5", 0 ] } } , { "patchline" : { - "destination" : [ "obj-25", 0 ], + "destination" : [ "obj-12", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 270.5, 345.0, 383.0, 345.0, 383.0, 123.5, 253.5, 123.5 ], - "source" : [ "obj-52", 1 ] + "source" : [ "obj-52", 0 ] } } , { "patchline" : { - "destination" : [ "obj-54", 0 ], + "destination" : [ "obj-25", 0 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-52", 0 ] + "midpoints" : [ 270.5, 409.0, 383.0, 409.0, 383.0, 161.5, 253.5, 161.5 ], + "source" : [ "obj-52", 1 ] } } @@ -390,28 +523,37 @@ "destination" : [ "obj-25", 0 ], "disabled" : 0, "hidden" : 0, - "midpoints" : [ 253.5, 375.0, 412.5, 375.0, 412.5, 115.5, 253.5, 115.5 ], + "midpoints" : [ 230.5, 525.0, 410.0, 525.0, 410.0, 161.5, 253.5, 161.5 ], "source" : [ "obj-54", 0 ] } } , { "patchline" : { - "destination" : [ "obj-4", 0 ], + "destination" : [ "obj-4", 1 ], "disabled" : 0, "hidden" : 0, - "source" : [ "obj-54", 0 ] + "source" : [ "obj-6", 0 ] } } , { "patchline" : { - "destination" : [ "obj-25", 0 ], + "destination" : [ "obj-5", 1 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-6", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + } , { "patchline" : { @@ -442,7 +584,7 @@ } , { "patchline" : { - "destination" : [ "obj-4", 0 ], + "destination" : [ "obj-7", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-62", 1 ] @@ -451,12 +593,39 @@ } , { "patchline" : { - "destination" : [ "obj-25", 0 ], + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-62", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], "disabled" : 0, "hidden" : 0, "source" : [ "obj-8", 0 ] } + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + } ], "dependency_cache" : [ ],