]> git.dabkitsch.com - inkplayer.git/commitdiff
updated to support overlaps for buf modules
authorJeffrey Lubow <jml@dabkitsch.com>
Fri, 13 May 2016 08:35:48 +0000 (04:35 -0400)
committerJeffrey Lubow <jml@dabkitsch.com>
Fri, 13 May 2016 08:35:48 +0000 (04:35 -0400)
ip_inkplayer.maxpat
ip_sampler.poly~.maxpat

index 3e55ff7c913aadfc960c51f0f1ad439c93aed20d..2349386436b4bd49a7f3f19e5329a240344089c1 100644 (file)
@@ -9,7 +9,7 @@
                        "modernui" : 1
                }
 ,
-               "rect" : [ 180.0, 79.0, 705.0, 648.0 ],
+               "rect" : [ 495.0, 115.0, 911.0, 648.0 ],
                "bglocked" : 0,
                "openinpresentation" : 0,
                "default_fontsize" : 11.0,
                "style" : "",
                "subpatcher_template" : "",
                "boxes" : [                     {
+                               "box" :                                 {
+                                       "format" : 6,
+                                       "id" : "obj-27",
+                                       "maxclass" : "flonum",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "", "bang" ],
+                                       "parameter_enable" : 0,
+                                       "patching_rect" : [ 365.0, 341.0, 50.0, 21.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
                                "box" :                                 {
                                        "fontname" : "Arial",
                                        "fontsize" : 9.0,
                                        "id" : "obj-24",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 3,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "float", "float" ],
-                                       "patching_rect" : [ 28.0, 206.0, 85.0, 19.0 ],
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 342.25, 308.0, 31.0, 19.0 ],
+                                       "style" : "",
+                                       "text" : "+ 2.3"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 40.0, 400.0, 40.0, 21.0 ],
                                        "style" : "",
-                                       "text" : "makenote 120 500"
+                                       "text" : "*~ 0.7"
                                }
 
                        }
                                "box" :                                 {
                                        "fontname" : "Arial",
                                        "fontsize" : 9.0,
-                                       "id" : "obj-21",
+                                       "id" : "obj-54",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "signal", "signal" ],
-                                       "patching_rect" : [ 59.333336, 418.0, 148.0, 19.0 ],
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 140.666656, 177.0, 33.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "poly~ ip_sampler.poly~ 8 @steal 1"
+                                       "text" : "/ 999."
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-23",
-                                       "maxclass" : "message",
+                                       "fontname" : "Arial",
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-53",
+                                       "maxclass" : "newobj",
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "patching_rect" : [ 250.0, 599.0, 407.0, 21.0 ],
-                                       "style" : ""
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 72.666664, 177.0, 33.0, 19.0 ],
+                                       "style" : "",
+                                       "text" : "/ 999."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-52",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 20.0, 177.0, 29.5, 21.0 ],
+                                       "style" : "",
+                                       "text" : "* 6."
                                }
 
                        }
                                "box" :                                 {
                                        "fontname" : "Arial",
                                        "fontsize" : 9.0,
-                                       "id" : "obj-12",
+                                       "id" : "obj-51",
                                        "maxclass" : "newobj",
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 164.0, 131.0, 59.0, 19.0 ],
+                                       "patching_rect" : [ 20.0, 148.0, 29.5, 19.0 ],
+                                       "style" : "",
+                                       "text" : "+ 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-49",
+                                       "linecount" : 2,
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 620.0, 171.0, 56.0, 33.0 ],
                                        "style" : "",
-                                       "text" : "random 100"
+                                       "text" : "51.971743"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-47",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 585.0, 137.0, 29.5, 21.0 ],
+                                       "style" : "",
+                                       "text" : "* 6."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-46",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 573.0, 90.0, 56.0, 21.0 ],
+                                       "style" : "",
+                                       "text" : "8.661957"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-43",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 541.0, 18.0, 29.5, 21.0 ],
+                                       "style" : "",
+                                       "text" : "1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 541.0, 52.0, 32.0, 21.0 ],
+                                       "style" : "",
+                                       "text" : "mtof"
                                }
 
                        }
                                "box" :                                 {
                                        "fontname" : "Arial",
                                        "fontsize" : 9.0,
-                                       "id" : "obj-4",
+                                       "id" : "obj-29",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 6,
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "signal", "signal" ],
+                                       "patching_rect" : [ 531.0, 447.0, 179.0, 19.0 ],
+                                       "style" : "",
+                                       "text" : "poly~ unknowndursamppoly~ 32 @steal 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 111.0, 171.0, 87.0, 19.0 ],
+                                       "patching_rect" : [ 250.0, 599.0, 407.0, 21.0 ],
+                                       "style" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "fontname" : "Arial",
+                                       "fontsize" : 9.0,
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "int" ],
+                                       "patching_rect" : [ 147.0, 120.0, 64.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "scale 0 99 100 200"
+                                       "text" : "random 1000"
                                }
 
                        }
                                        "numinlets" : 2,
                                        "numoutlets" : 2,
                                        "outlettype" : [ "", "" ],
-                                       "patching_rect" : [ 404.5, 224.0, 249.0, 21.0 ],
+                                       "patching_rect" : [ 356.5, 194.0, 249.0, 21.0 ],
                                        "style" : "",
                                        "text" : "combine tyrps_ i @triggers 1 @padding 0 3"
                                }
                                        "fontsize" : 9.0,
                                        "id" : "obj-35",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 3,
-                                       "numoutlets" : 3,
-                                       "outlettype" : [ "", "", "" ],
-                                       "patching_rect" : [ 20.0, 40.0, 66.0, 19.0 ],
+                                       "numinlets" : 4,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "", "", "", "" ],
+                                       "patching_rect" : [ 20.0, 40.0, 98.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "route bang int"
+                                       "text" : "route bang int maxdur"
                                }
 
                        }
                                        "numinlets" : 0,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 16.0, 4.0, 25.0, 25.0 ],
+                                       "patching_rect" : [ 20.0, 4.0, 25.0, 25.0 ],
                                        "style" : ""
                                }
 
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 177.0, 194.0, 27.0, 19.0 ],
+                                       "patching_rect" : [ 254.5, 162.0, 27.0, 19.0 ],
                                        "style" : "",
                                        "text" : "+ 1"
                                }
                                        "text" : "* 0.01"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "fontname" : "Arial",
-                                       "fontsize" : 9.0,
-                                       "id" : "obj-9",
-                                       "maxclass" : "message",
-                                       "numinlets" : 2,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "patching_rect" : [ 327.0, 341.0, 37.0, 19.0 ],
-                                       "style" : "",
-                                       "text" : "$1 30"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "numinlets" : 1,
                                        "numoutlets" : 4,
                                        "outlettype" : [ "int", "bang", "bang", "bang" ],
-                                       "patching_rect" : [ 239.0, 268.0, 148.0, 19.0 ],
+                                       "patching_rect" : [ 232.0, 233.0, 148.0, 19.0 ],
                                        "style" : "",
                                        "text" : "t 1 b b b"
                                }
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 328.0, 321.0, 64.0, 19.0 ],
+                                       "patching_rect" : [ 335.0, 281.0, 59.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "random 100"
+                                       "text" : "random 150"
                                }
 
                        }
                                        "numinlets" : 3,
                                        "numoutlets" : 3,
                                        "outlettype" : [ "bang", "bang", "" ],
-                                       "patching_rect" : [ 239.0, 241.0, 52.0, 19.0 ],
+                                       "patching_rect" : [ 232.0, 206.0, 52.0, 19.0 ],
                                        "style" : "",
                                        "text" : "sel 15 2"
                                }
                                        "fontsize" : 9.0,
                                        "id" : "obj-19",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 2,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "signal", "bang" ],
-                                       "patching_rect" : [ 326.0, 359.0, 32.0, 19.0 ],
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 328.0, 379.0, 27.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "line~"
+                                       "text" : "sig~"
                                }
 
                        }
                                        "numinlets" : 5,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "signal" ],
-                                       "patching_rect" : [ 297.0, 409.0, 126.0, 19.0 ],
+                                       "patching_rect" : [ 297.0, 409.0, 110.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "comb~ 100 0 0.2. 0.7 0.7"
+                                       "text" : "comb~ 300 0 0.2. 0.7 0.7"
                                }
 
                        }
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 28.0, 281.0, 86.0, 19.0 ],
+                                       "patching_rect" : [ 28.0, 281.0, 64.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "prepend midinote"
+                                       "text" : "prepend note"
                                }
 
                        }
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 226.0, 171.0, 58.0, 19.0 ],
+                                       "patching_rect" : [ 239.0, 131.0, 58.0, 19.0 ],
                                        "style" : "",
                                        "text" : "random 20"
                                }
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 86.833336, 131.0, 64.0, 19.0 ],
-                                       "style" : "",
-                                       "text" : "random 127"
-                               }
-
-                       }
-,                      {
-                               "box" :                                 {
-                                       "fontname" : "Arial",
-                                       "fontsize" : 9.0,
-                                       "id" : "obj-27",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 2,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 20.0, 154.0, 29.5, 19.0 ],
+                                       "patching_rect" : [ 72.666664, 120.0, 64.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "+ 57"
+                                       "text" : "random 1000"
                                }
 
                        }
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "int" ],
-                                       "patching_rect" : [ 20.0, 131.0, 49.0, 19.0 ],
+                                       "patching_rect" : [ 20.0, 120.0, 49.0, 19.0 ],
                                        "style" : "",
                                        "text" : "random 6"
                                }
                                        "numinlets" : 1,
                                        "numoutlets" : 4,
                                        "outlettype" : [ "bang", "bang", "bang", "bang" ],
-                                       "patching_rect" : [ 30.333334, 91.0, 177.0, 19.0 ],
+                                       "patching_rect" : [ 20.0, 70.0, 177.0, 19.0 ],
                                        "style" : "",
                                        "text" : "b 4"
                                }
                                        "fontsize" : 9.0,
                                        "id" : "obj-31",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 8,
+                                       "numinlets" : 4,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 28.0, 251.0, 140.0, 19.0 ],
+                                       "patching_rect" : [ 28.0, 254.0, 62.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "pack i i 60 s 10 100 0.6 150"
+                                       "text" : "pack f 1. s 1."
                                }
 
                        }
                                        "id" : "obj-39",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "signal", "signal" ],
-                                       "patching_rect" : [ 28.0, 349.0, 173.0, 19.0 ],
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "signal", "signal", "" ],
+                                       "patching_rect" : [ 28.0, 349.0, 190.0, 19.0 ],
                                        "style" : "",
-                                       "text" : "poly~ unknowndursamppoly~ 8 @steal 1"
+                                       "text" : "poly~ ip_sampler.poly~ @voices 32 @steal 1"
                                }
 
                        }
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-4", 0 ],
+                                       "destination" : [ "obj-54", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-12", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-9", 0 ],
+                                       "destination" : [ "obj-24", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-17", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-23", 1 ],
+                                       "destination" : [ "obj-46", 1 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-22", 0 ]
+                                       "source" : [ "obj-21", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-39", 0 ],
+                                       "destination" : [ "obj-47", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 1 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-22", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-31", 1 ],
+                                       "destination" : [ "obj-39", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-24", 1 ]
+                                       "source" : [ "obj-22", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-31", 0 ],
+                                       "destination" : [ "obj-19", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-24", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-1", 0 ],
+                                       "destination" : [ "obj-27", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-25", 0 ]
+                                       "source" : [ "obj-24", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-18", 0 ],
+                                       "destination" : [ "obj-1", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-25", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-24", 1 ],
+                                       "destination" : [ "obj-18", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-26", 0 ]
+                                       "source" : [ "obj-25", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-24", 0 ],
+                                       "destination" : [ "obj-53", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-27", 0 ]
+                                       "source" : [ "obj-26", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-27", 0 ],
+                                       "destination" : [ "obj-51", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-28", 0 ]
                                        "destination" : [ "obj-26", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-30", 1 ]
+                                       "source" : [ "obj-30", 0 ]
                                }
 
                        }
                                        "destination" : [ "obj-28", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-30", 0 ]
+                                       "source" : [ "obj-30", 1 ]
                                }
 
                        }
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-20", 0 ],
+                                       "destination" : [ "obj-4", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-39", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-34", 0 ],
+                                       "destination" : [ "obj-20", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-39", 0 ]
+                                       "source" : [ "obj-4", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-36", 0 ],
+                                       "destination" : [ "obj-34", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-39", 0 ]
+                                       "source" : [ "obj-4", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-24", 2 ],
+                                       "destination" : [ "obj-36", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-4", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-31", 3 ],
+                                       "destination" : [ "obj-21", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-43", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-31", 2 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-44", 0 ]
                                        "source" : [ "obj-44", 0 ]
                                }
 
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-49", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-47", 0 ]
+                               }
+
                        }
 ,                      {
                                "patchline" :                           {
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-7", 0 ],
+                                       "destination" : [ "obj-52", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-6", 0 ]
+                                       "source" : [ "obj-51", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-8", 0 ],
+                                       "destination" : [ "obj-31", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-7", 0 ]
+                                       "source" : [ "obj-53", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-5", 0 ],
+                                       "destination" : [ "obj-31", 3 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-8", 0 ]
+                                       "source" : [ "obj-54", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-19", 0 ],
+                                       "destination" : [ "obj-7", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-9", 0 ]
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-8", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-8", 0 ]
                                }
 
                        }
                                "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
                        }
index 37c21fd0d4fe69bec79947e7a3a47bcb3f566343..29496855072096e578a79231d5b52972847187ce 100644 (file)
@@ -9,7 +9,7 @@
                        "modernui" : 1
                }
 ,
-               "rect" : [ 236.0, 147.0, 768.0, 612.0 ],
+               "rect" : [ 494.0, 103.0, 768.0, 612.0 ],
                "bglocked" : 0,
                "openinpresentation" : 0,
                "default_fontsize" : 10.0,
                "subpatcher_template" : "",
                "boxes" : [                     {
                                "box" :                                 {
-                                       "format" : 6,
-                                       "id" : "obj-10",
-                                       "maxclass" : "flonum",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "", "bang" ],
-                                       "parameter_enable" : 0,
-                                       "patching_rect" : [ 54.0, 201.0, 50.0, 20.0 ],
-                                       "style" : ""
+                                       "id" : "obj-35",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 437.0, 429.0, 31.0, 20.0 ],
+                                       "style" : "",
+                                       "text" : "- 10."
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-28",
+                                       "id" : "obj-34",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
                                        "numoutlets" : 2,
-                                       "outlettype" : [ "float", "bang" ],
-                                       "patching_rect" : [ 498.0, 321.0, 58.0, 20.0 ],
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patching_rect" : [ 47.5, 218.0, 29.5, 20.0 ],
                                        "style" : "default",
-                                       "text" : "buffer~ file"
+                                       "text" : "b"
                                }
 
                        }
                                        "id" : "obj-1",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 8,
-                                       "outlettype" : [ "int", "int", "int", "", "float", "float", "float", "float" ],
-                                       "patching_rect" : [ 54.0, 78.0, 348.0, 20.0 ],
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "float", "float", "", "float" ],
+                                       "patching_rect" : [ 135.0, 95.0, 67.0, 20.0 ],
                                        "style" : "default",
-                                       "text" : "unpack 60 0 60 s f f f f"
+                                       "text" : "unpack f f s f"
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-2",
+                                       "id" : "obj-18",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 592.0, 126.0, 150.0, 18.0 ],
+                                       "style" : "",
+                                       "text" : "10 100 0.6 150"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-26",
                                        "maxclass" : "newobj",
                                        "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "float" ],
-                                       "patching_rect" : [ 127.0, 205.0, 63.0, 20.0 ],
-                                       "style" : "default",
-                                       "text" : "/ 1."
+                                       "patching_rect" : [ 437.0, 400.0, 29.5, 20.0 ],
+                                       "style" : "",
+                                       "text" : "* 1."
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-3",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 1,
+                                       "id" : "obj-4",
+                                       "maxclass" : "message",
+                                       "numinlets" : 2,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 127.0, 172.0, 35.0, 20.0 ],
-                                       "style" : "default",
-                                       "text" : "mtof"
+                                       "patching_rect" : [ 377.0, 481.0, 29.5, 20.0 ],
+                                       "style" : "",
+                                       "text" : "0."
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-4",
+                                       "id" : "obj-2",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 1,
+                                       "numinlets" : 2,
                                        "numoutlets" : 1,
-                                       "outlettype" : [ "" ],
-                                       "patching_rect" : [ 171.0, 172.0, 35.0, 20.0 ],
+                                       "outlettype" : [ "bang" ],
+                                       "patching_rect" : [ 377.0, 448.0, 46.0, 20.0 ],
                                        "style" : "default",
-                                       "text" : "mtof"
+                                       "text" : "delay 0."
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-5",
+                                       "id" : "obj-17",
                                        "maxclass" : "newobj",
                                        "numinlets" : 1,
-                                       "numoutlets" : 2,
-                                       "outlettype" : [ "bang", "bang" ],
-                                       "patching_rect" : [ 61.5, 258.0, 39.0, 20.0 ],
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "float", "", "float" ],
+                                       "patching_rect" : [ 19.5, 53.0, 41.0, 20.0 ],
                                        "style" : "default",
-                                       "text" : "edge~"
+                                       "text" : "t 0. l 0."
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-6",
+                                       "id" : "obj-9",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 2,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "float" ],
-                                       "patching_rect" : [ 61.5, 286.0, 55.0, 20.0 ],
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 244.0, 453.0, 33.0, 20.0 ],
+                                       "style" : "",
+                                       "text" : "out 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 9,
+                                       "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int" ],
+                                       "patching_rect" : [ 460.0, 353.0, 103.0, 20.0 ],
                                        "style" : "default",
-                                       "text" : "f"
+                                       "text" : "info~ file"
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-7",
+                                       "id" : "obj-5",
                                        "maxclass" : "newobj",
-                                       "numinlets" : 2,
+                                       "numinlets" : 1,
                                        "numoutlets" : 2,
-                                       "outlettype" : [ "int", "int" ],
-                                       "patching_rect" : [ 54.0, 108.0, 58.0, 20.0 ],
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patching_rect" : [ 47.5, 179.0, 39.0, 20.0 ],
                                        "style" : "default",
-                                       "text" : "swap"
+                                       "text" : "edge~"
                                }
 
                        }
 ,                      {
                                "box" :                                 {
-                                       "id" : "obj-8",
-                                       "maxclass" : "comment",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 0,
-                                       "patching_rect" : [ 313.0, 14.0, 269.0, 18.0 ],
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 95.5, 272.0, 55.0, 20.0 ],
                                        "style" : "default",
-                                       "text" : "* use midinote messages-- durations are unknown"
+                                       "text" : "f"
                                }
 
                        }
                                        "numinlets" : 1,
                                        "numoutlets" : 1,
                                        "outlettype" : [ "" ],
-                                       "patching_rect" : [ 234.0, 302.0, 67.0, 20.0 ],
+                                       "patching_rect" : [ 406.5, 286.0, 67.0, 20.0 ],
                                        "style" : "default",
                                        "text" : "prepend set"
                                }
                                        "text" : "sig~"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-15",
-                                       "maxclass" : "newobj",
-                                       "numinlets" : 2,
-                                       "numoutlets" : 1,
-                                       "outlettype" : [ "float" ],
-                                       "patching_rect" : [ 244.0, 172.0, 43.0, 20.0 ],
-                                       "style" : "default",
-                                       "text" : "/ 127."
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "text" : "*~"
                                }
 
-                       }
-,                      {
-                               "box" :                                 {
-                                       "id" : "obj-25",
-                                       "maxclass" : "comment",
-                                       "numinlets" : 1,
-                                       "numoutlets" : 0,
-                                       "patching_rect" : [ 65.0, 14.0, 242.0, 18.0 ],
-                                       "style" : "default",
-                                       "text" : "< midipitch vel, centerKey, bufName a d s r>"
-                               }
-
                        }
 ,                      {
                                "box" :                                 {
                                        "outlettype" : [ "signal", "signal", "", "" ],
                                        "patching_rect" : [ 244.0, 205.0, 271.0, 20.0 ],
                                        "style" : "default",
-                                       "text" : "adsr~ 50 0 1. 50 @retrigger 20"
+                                       "text" : "adsr~ 10 30 1. 10 @retrigger 10"
                                }
 
                        }
                                        "destination" : [ "obj-12", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-1", 3 ]
-                               }
-
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-27", 4 ],
-                                       "disabled" : 0,
-                                       "hidden" : 0,
-                                       "source" : [ "obj-1", 7 ]
-                               }
-
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-27", 3 ],
-                                       "disabled" : 0,
-                                       "hidden" : 0,
-                                       "source" : [ "obj-1", 6 ]
-                               }
-
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-27", 2 ],
-                                       "disabled" : 0,
-                                       "hidden" : 0,
-                                       "source" : [ "obj-1", 5 ]
+                                       "source" : [ "obj-1", 2 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-27", 1 ],
+                                       "destination" : [ "obj-26", 1 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-1", 4 ]
+                                       "source" : [ "obj-1", 3 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-4", 0 ],
+                                       "destination" : [ "obj-27", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-1", 2 ]
+                                       "source" : [ "obj-1", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-7", 1 ],
+                                       "destination" : [ "obj-6", 1 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-1", 1 ]
                                }
 
-                       }
-,                      {
-                               "patchline" :                           {
-                                       "destination" : [ "obj-7", 0 ],
-                                       "disabled" : 0,
-                                       "hidden" : 0,
-                                       "source" : [ "obj-1", 0 ]
-                               }
-
                        }
 ,                      {
                                "patchline" :                           {
 ,                      {
                                "patchline" :                           {
                                        "color" : [ 0.611765, 0.701961, 1.0, 1.0 ],
-                                       "destination" : [ "obj-16", 1 ],
+                                       "destination" : [ "obj-16", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-13", 1 ]
 ,                      {
                                "patchline" :                           {
                                        "color" : [ 0.611765, 0.701961, 1.0, 1.0 ],
-                                       "destination" : [ "obj-23", 1 ],
+                                       "destination" : [ "obj-23", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-13", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "color" : [ 0.156863, 0.8, 0.54902, 1.0 ],
-                                       "destination" : [ "obj-27", 0 ],
+                                       "destination" : [ "obj-19", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-15", 0 ]
+                                       "source" : [ "obj-16", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-19", 0 ],
+                                       "destination" : [ "obj-1", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-16", 0 ]
+                                       "source" : [ "obj-17", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-10", 0 ],
+                                       "destination" : [ "obj-13", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-2", 0 ]
+                                       "source" : [ "obj-17", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-6", 1 ],
+                                       "destination" : [ "obj-4", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-2", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-1", 0 ],
+                                       "destination" : [ "obj-17", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-21", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-16", 0 ],
+                                       "destination" : [ "obj-35", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-26", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 1 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-27", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-23", 0 ],
+                                       "destination" : [ "obj-23", 1 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
                                        "source" : [ "obj-27", 0 ]
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-2", 0 ],
+                                       "destination" : [ "obj-26", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-3", 0 ]
+                                       "source" : [ "obj-28", 6 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-2", 1 ],
+                                       "destination" : [ "obj-28", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-4", 0 ]
+                                       "source" : [ "obj-34", 0 ]
                                }
 
                        }
                                        "destination" : [ "obj-6", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-5", 0 ]
+                                       "source" : [ "obj-34", 1 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-14", 0 ],
+                                       "destination" : [ "obj-2", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-6", 0 ]
+                                       "source" : [ "obj-35", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-4", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-15", 0 ],
+                                       "destination" : [ "obj-34", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-7", 0 ]
+                                       "source" : [ "obj-5", 0 ]
                                }
 
                        }
 ,                      {
                                "patchline" :                           {
-                                       "destination" : [ "obj-3", 0 ],
+                                       "destination" : [ "obj-14", 0 ],
                                        "disabled" : 0,
                                        "hidden" : 0,
-                                       "source" : [ "obj-7", 1 ]
+                                       "source" : [ "obj-6", 0 ]
                                }
 
                        }