]> git.dabkitsch.com - inkplayer.git/commitdiff
added fading trims for clicks
authorJeffrey Lubow <jml@dabkitsch.com>
Fri, 13 May 2016 08:36:05 +0000 (04:36 -0400)
committerJeffrey Lubow <jml@dabkitsch.com>
Fri, 13 May 2016 08:36:05 +0000 (04:36 -0400)
ip_record_input_st~.maxpat

index b57e012e7c59cc929e36adfb4351592b0006e792..2652016a4d73a20dba94a69fe6ce055307ca7e24 100644 (file)
@@ -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,
                "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."
                                }
 
                        }
                                "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."
                                }
 
                        }
                                        "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" : ""
                                }
 
                                        "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" : ""
                                }
 
                                        "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" : ""
                                }
 
                                        "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" : ""
                                }
 
                                        "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"
                                }
 
                        }
                                        "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" :                                 {
                                        "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~"
                                }
                                        "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"
                                }
 
                        }
                                        "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"
                                }
                                        "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" : ""
                                }
 
                                        "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"
                                }
                                        "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" : ""
                                }
 
                                        "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" : ""
                                }
 
  ],
                "lines" : [                     {
                                "patchline" :                           {
-                                       "destination" : [ "obj-25", 1 ],
+                                       "destination" : [ "obj-5", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-1", 0 ]
                        }
 ,                      {
                                "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" :                           {
                                        "source" : [ "obj-35", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-25", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-3", 0 ],
+                                       "destination" : [ "obj-11", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-49", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-51", 0 ],
+                                       "destination" : [ "obj-3", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-49", 0 ]
                        }
 ,                      {
                                "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 ]
                                }
 
                        }
                                        "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" :                           {
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-4", 0 ],
+                                       "destination" : [ "obj-7", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-62", 1 ]
                        }
 ,                      {
                                "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" : [  ],