]> git.dabkitsch.com - inkplayer.git/commitdiff
updated to support overlaps in buf playback
authorJeffrey Lubow <jml@dabkitsch.com>
Fri, 13 May 2016 08:35:25 +0000 (04:35 -0400)
committerJeffrey Lubow <jml@dabkitsch.com>
Fri, 13 May 2016 08:35:25 +0000 (04:35 -0400)
_ip_ping_terrain~.maxpat

index 19617f02b3335ee6c22605ccac5f34d85311c817..9667dd718eb3e7171a86cb538f9703278cbc41ff 100644 (file)
                "style" : "",
                "subpatcher_template" : "gridded",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "id" : "obj-35",
+                                       "maxclass" : "button",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 570.0, 255.0, 24.0, 24.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-41",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 435.0, 240.0, 67.0, 22.0 ],
+                                       "style" : "",
+                                       "text" : "maxdur $1"
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "id" : "obj-48",
                                        "maxclass" : "message",
                                        "patching_rect" : [ 496.5, 570.0, 137.0, 22.0 ],
                                        "restore" :                                     {
                                                "gain~" : [ 0 ],
-                                               "gain~[11]" : [ 118 ],
-                                               "gain~[12]" : [ 119 ],
-                                               "gain~[13]" : [ 119 ],
+                                               "gain~[11]" : [ 115 ],
+                                               "gain~[12]" : [ 124 ],
+                                               "gain~[13]" : [ 124 ],
                                                "gain~[1]" : [ 0 ],
-                                               "gain~[2]" : [ 0 ],
-                                               "gain~[3]" : [ 0 ],
-                                               "gain~[4]" : [ 115 ],
-                                               "gain~[5]" : [ 2 ],
-                                               "gain~[6]" : [ 2 ],
+                                               "gain~[2]" : [ 119 ],
+                                               "gain~[3]" : [ 119 ],
+                                               "gain~[4]" : [ 50 ],
+                                               "gain~[5]" : [ 131 ],
+                                               "gain~[6]" : [ 131 ],
                                                "gain~[7]" : [ 120 ],
                                                "gain~[9]" : [ 120 ]
                                        }
 ,
                                        "style" : "",
                                        "text" : "autopattr @autoname 0",
-                                       "varname" : "u983000991"
+                                       "varname" : "u484012111"
                                }
 
                        }
                                                        "modernui" : 1
                                                }
 ,
-                                               "rect" : [ 59.0, 104.0, 640.0, 480.0 ],
+                                               "rect" : [ 59.0, 104.0, 943.0, 621.0 ],
                                                "bglocked" : 0,
                                                "openinpresentation" : 0,
                                                "default_fontsize" : 12.0,
                                                "tags" : "",
                                                "style" : "",
                                                "subpatcher_template" : "gridded",
-                                               "visible" : 1,
                                                "boxes" : [                                                     {
                                                                "box" :                                                                 {
                                                                        "format" : 6,
-                                                                       "id" : "obj-2",
+                                                                       "id" : "obj-30",
                                                                        "maxclass" : "flonum",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 2,
                                                                        "outlettype" : [ "", "bang" ],
                                                                        "parameter_enable" : 0,
-                                                                       "patching_rect" : [ 131.0, 76.0, 50.0, 22.0 ],
+                                                                       "patching_rect" : [ 467.0, 368.0, 50.0, 22.0 ],
                                                                        "style" : ""
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-26",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 384.0, 472.0, 112.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "frequency-scale $1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-22",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "list" ],
+                                                                       "patching_rect" : [ 374.5, 504.5, 342.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "res-transform 173.321 0.9 1 82.1 0.7 1 171.55 0.6 1 89.4 0.5 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-17",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 313.25, 488.0, 29.5, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "0.6"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-19",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "list" ],
+                                                                       "patching_rect" : [ 324.75, 541.5, 334.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "resonators~ 173.321 0.9 1 82.1 0.7 1 171.55 0.6 1 89.4 0.5 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-15",
+                                                                       "maxclass" : "message",
+                                                                       "numinlets" : 2,
+                                                                       "numoutlets" : 1,
+                                                                       "outlettype" : [ "" ],
+                                                                       "patching_rect" : [ 373.0, 375.0, 29.5, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "0.6"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-13",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "list" ],
+                                                                       "patching_rect" : [ 373.0, 409.5, 334.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "resonators~ 173.321 0.9 1 82.1 0.7 1 171.55 0.6 1 89.4 0.5 1"
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "box" :                                                                 {
+                                                                       "id" : "obj-1",
+                                                                       "maxclass" : "newobj",
+                                                                       "numinlets" : 1,
+                                                                       "numoutlets" : 2,
+                                                                       "outlettype" : [ "signal", "list" ],
+                                                                       "patching_rect" : [ 541.0, 339.0, 74.0, 22.0 ],
+                                                                       "style" : "",
+                                                                       "text" : "resonators~"
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "box" :                                                                 {
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 106.5, 365.0, 32.0, 22.0 ],
+                                                                       "patching_rect" : [ 159.5, 365.0, 32.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "*~ 0"
                                                                }
                                                                        "numinlets" : 3,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 229.5, 265.0, 144.0, 22.0 ],
+                                                                       "patching_rect" : [ 639.0, 252.0, 144.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "rampsmooth~ 2048 2048"
                                                                }
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 63.5, 365.0, 32.0, 22.0 ],
+                                                                       "patching_rect" : [ 27.0, 365.0, 32.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "*~ 0"
                                                                }
                                                                        "numinlets" : 3,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 76.5, 265.0, 144.0, 22.0 ],
+                                                                       "patching_rect" : [ 479.5, 252.0, 144.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "rampsmooth~ 2048 2048"
                                                                }
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 63.5, 85.0, 39.0, 22.0 ],
+                                                                       "patching_rect" : [ 25.0, 106.0, 49.0, 22.0 ],
                                                                        "style" : "",
-                                                                       "text" : "*~ 21"
+                                                                       "text" : "*~ 4.89"
                                                                }
 
                                                        }
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 399.5, 196.0, 36.0, 22.0 ],
+                                                                       "patching_rect" : [ 374.5, 227.0, 36.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "*~ 0."
                                                                }
                                                                        "numinlets" : 4,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 399.5, 160.0, 102.0, 22.0 ],
+                                                                       "patching_rect" : [ 392.5, 177.0, 104.0, 22.0 ],
                                                                        "style" : "",
-                                                                       "text" : "reson~ 1 94.1 64"
+                                                                       "text" : "reson~ 5. 89.4 55"
                                                                }
 
                                                        }
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 283.0, 196.0, 36.0, 22.0 ],
+                                                                       "patching_rect" : [ 258.0, 227.0, 36.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "*~ 0."
                                                                }
                                                                        "numinlets" : 4,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 283.0, 160.0, 108.0, 22.0 ],
+                                                                       "patching_rect" : [ 276.0, 177.0, 104.0, 22.0 ],
                                                                        "style" : "",
-                                                                       "text" : "reson~ 1 102.2 64"
+                                                                       "text" : "reson~ 5. 171. 55"
                                                                }
 
                                                        }
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 166.5, 196.0, 36.0, 22.0 ],
+                                                                       "patching_rect" : [ 159.5, 227.0, 36.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "*~ 0."
                                                                }
                                                                        "numinlets" : 4,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 166.5, 160.0, 108.0, 22.0 ],
+                                                                       "patching_rect" : [ 159.5, 177.0, 108.0, 22.0 ],
                                                                        "style" : "",
-                                                                       "text" : "reson~ 1 132.1 64"
+                                                                       "text" : "reson~ 5. 82..1 55"
                                                                }
 
                                                        }
                                                                        "numinlets" : 2,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 50.0, 196.0, 36.0, 22.0 ],
+                                                                       "patching_rect" : [ 25.0, 227.0, 36.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "*~ 0."
                                                                }
                                                                        "numinlets" : 4,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 50.0, 160.0, 124.0, 22.0 ],
+                                                                       "patching_rect" : [ 25.0, 177.0, 124.0, 22.0 ],
                                                                        "style" : "",
-                                                                       "text" : "reson~ 9. 121.321 64"
+                                                                       "text" : "reson~ 5. 173.321 55"
                                                                }
 
                                                        }
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 5,
                                                                        "outlettype" : [ "", "", "", "", "FullPacket" ],
-                                                                       "patching_rect" : [ 342.5, 85.0, 212.0, 22.0 ],
+                                                                       "patching_rect" : [ 323.5, 99.0, 212.0, 22.0 ],
                                                                        "style" : "",
                                                                        "text" : "o.route /low/1 /low/2 /high/1 /high/2"
                                                                }
                                                                        "numinlets" : 0,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 208.0, 44.0, 30.0, 30.0 ],
+                                                                       "patching_rect" : [ 119.0, 44.0, 30.0, 30.0 ],
                                                                        "style" : ""
                                                                }
 
                                                                        "numinlets" : 0,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "signal" ],
-                                                                       "patching_rect" : [ 100.0, 38.0, 30.0, 30.0 ],
+                                                                       "patching_rect" : [ 25.0, 44.0, 30.0, 30.0 ],
                                                                        "style" : ""
                                                                }
 
                                                                        "numinlets" : 0,
                                                                        "numoutlets" : 1,
                                                                        "outlettype" : [ "FullPacket" ],
-                                                                       "patching_rect" : [ 338.5, 33.0, 30.0, 30.0 ],
+                                                                       "patching_rect" : [ 323.5, 44.0, 30.0, 30.0 ],
                                                                        "style" : ""
                                                                }
 
                                                                        "maxclass" : "outlet",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 0,
-                                                                       "patching_rect" : [ 63.5, 424.5, 30.0, 30.0 ],
+                                                                       "patching_rect" : [ 27.0, 424.5, 30.0, 30.0 ],
                                                                        "style" : ""
                                                                }
 
                                                                        "maxclass" : "outlet",
                                                                        "numinlets" : 1,
                                                                        "numoutlets" : 0,
-                                                                       "patching_rect" : [ 106.5, 424.5, 30.0, 30.0 ],
+                                                                       "patching_rect" : [ 159.5, 424.5, 30.0, 30.0 ],
                                                                        "style" : ""
                                                                }
 
                                                        }
  ],
                                                "lines" : [                                                     {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-71", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-72", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-13", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-13", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-15", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
                                                                "patchline" :                                                           {
                                                                        "destination" : [ "obj-50", 0 ],
                                                                        "disabled" : 0,
                                                                        "source" : [ "obj-16", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-19", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-17", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
-                                                                       "destination" : [ "obj-28", 1 ],
+                                                                       "destination" : [ "obj-71", 0 ],
                                                                        "disabled" : 0,
                                                                        "hidden" : 0,
-                                                                       "source" : [ "obj-2", 0 ]
+                                                                       "source" : [ "obj-19", 0 ]
+                                                               }
+
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-72", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-19", 0 ]
                                                                }
 
                                                        }
                                                                        "source" : [ "obj-21", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-19", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-22", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "source" : [ "obj-25", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-22", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-26", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                                                        "source" : [ "obj-28", 0 ]
                                                                }
 
+                                                       }
+,                                                      {
+                                                               "patchline" :                                                           {
+                                                                       "destination" : [ "obj-26", 0 ],
+                                                                       "disabled" : 0,
+                                                                       "hidden" : 0,
+                                                                       "source" : [ "obj-30", 0 ]
+                                                               }
+
                                                        }
 ,                                                      {
                                                                "patchline" :                                                           {
                                        "source" : [ "obj-33", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-38", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-41", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                        "source" : [ "obj-43", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-41", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                                "implicit" : 1
                        }
 ,                      {
-                               "name" : "unknownDurSampPoly~.maxpat",
-                               "bootpath" : "~/Documents/programming/max_files/enabled/jml/maxlib_modules/abs_instruments/polyphonic/sampler_modules",
+                               "name" : "ip_sampler.poly~.maxpat",
+                               "bootpath" : "~/Documents/programming/git_equilet/inkplayer",
                                "type" : "JSON",
                                "implicit" : 1
                        }
                                "implicit" : 1
                        }
 ,                      {
-                               "name" : "ip_sampler.poly~.maxpat",
-                               "bootpath" : "~/Documents/programming/git_equilet/inkplayer",
+                               "name" : "unknownDurSampPoly~.maxpat",
+                               "bootpath" : "~/Documents/programming/max_files/enabled/jml/maxlib_modules/abs_instruments/polyphonic/sampler_modules",
                                "type" : "JSON",
                                "implicit" : 1
                        }
                                "name" : "resonators~.mxo",
                                "type" : "iLaX"
                        }
+,                      {
+                               "name" : "res-transform.mxo",
+                               "type" : "iLaX"
+                       }
 ,                      {
                                "name" : "o.expr.codebox.mxo",
                                "type" : "iLaX"