]> git.dabkitsch.com - inkplayer.git/commitdiff
adding new version of sampler
authorJeffrey Lubow <jml@dabkitsch.com>
Thu, 12 May 2016 20:15:58 +0000 (16:15 -0400)
committerJeffrey Lubow <jml@dabkitsch.com>
Thu, 12 May 2016 20:15:58 +0000 (16:15 -0400)
ip_sampler.poly~.maxpat [new file with mode: 0644]

diff --git a/ip_sampler.poly~.maxpat b/ip_sampler.poly~.maxpat
new file mode 100644 (file)
index 0000000..37c21fd
--- /dev/null
@@ -0,0 +1,650 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "appversion" :          {
+                       "major" : 7,
+                       "minor" : 2,
+                       "revision" : 2,
+                       "architecture" : "x64",
+                       "modernui" : 1
+               }
+,
+               "rect" : [ 236.0, 147.0, 768.0, 612.0 ],
+               "bglocked" : 0,
+               "openinpresentation" : 0,
+               "default_fontsize" : 10.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 1,
+               "gridsize" : [ 8.0, 8.0 ],
+               "gridsnaponopen" : 1,
+               "objectsnaponopen" : 1,
+               "statusbarvisible" : 2,
+               "toolbarvisible" : 1,
+               "lefttoolbarpinned" : 0,
+               "toptoolbarpinned" : 0,
+               "righttoolbarpinned" : 0,
+               "bottomtoolbarpinned" : 0,
+               "toolbars_unpinned_last_save" : 0,
+               "tallnewobj" : 0,
+               "boxanimatetime" : 200,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "description" : "",
+               "digest" : "",
+               "tags" : "",
+               "style" : "",
+               "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" : ""
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-28",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "float", "bang" ],
+                                       "patching_rect" : [ 498.0, 321.0, 58.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "buffer~ file"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "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 ],
+                                       "style" : "default",
+                                       "text" : "unpack 60 0 60 s f f f f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-2",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 127.0, 205.0, 63.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "/ 1."
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-3",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 127.0, 172.0, 35.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "mtof"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-4",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 171.0, 172.0, 35.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "mtof"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-5",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "bang", "bang" ],
+                                       "patching_rect" : [ 61.5, 258.0, 39.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "edge~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-6",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "float" ],
+                                       "patching_rect" : [ 61.5, 286.0, 55.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "f"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-7",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "int", "int" ],
+                                       "patching_rect" : [ 54.0, 108.0, 58.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "swap"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-8",
+                                       "maxclass" : "comment",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 313.0, 14.0, 269.0, 18.0 ],
+                                       "style" : "default",
+                                       "text" : "* use midinote messages-- durations are unknown"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-11",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 570.0, 234.0, 93.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "loadmess mute 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-12",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 234.0, 302.0, 67.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "prepend set"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-13",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 3,
+                                       "numoutlets" : 3,
+                                       "outlettype" : [ "signal", "signal", "signal" ],
+                                       "patching_rect" : [ 210.5, 359.0, 185.0, 20.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "basictuning" : 440,
+                                               "followglobaltempo" : 0,
+                                               "formantcorrection" : 0,
+                                               "loopend" : [ 0.0, "ms" ],
+                                               "loopstart" : [ 0.0, "ms" ],
+                                               "mode" : "basic",
+                                               "originallength" : [ 0.0, "ticks" ],
+                                               "originaltempo" : 120.0,
+                                               "phase" : [ 0.0, "ticks" ],
+                                               "pitchcorrection" : 0,
+                                               "quality" : "basic",
+                                               "timestretch" : [ 0 ]
+                                       }
+,
+                                       "style" : "default",
+                                       "text" : "groove~ file 2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-14",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 61.5, 315.0, 30.0, 20.0 ],
+                                       "style" : "default",
+                                       "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" :                                 {
+                                       "id" : "obj-16",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 142.0, 405.0, 45.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "*~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-19",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 142.0, 453.0, 43.0, 20.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : [ "audio", "out", "R" ]
+                                       }
+,
+                                       "style" : "default",
+                                       "text" : "out~ 2"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-20",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 0,
+                                       "patching_rect" : [ 54.0, 453.0, 42.0, 20.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : [ "audio", "out", "L" ]
+                                       }
+,
+                                       "style" : "default",
+                                       "text" : "out~ 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-21",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "" ],
+                                       "patching_rect" : [ 32.0, 14.0, 34.0, 20.0 ],
+                                       "saved_object_attributes" :                                     {
+                                               "attr_comment" : [ "<start-time", "velocity", "duration", "pitch", "buffer~name", "origPitch>" ]
+                                       }
+,
+                                       "style" : "default",
+                                       "text" : "in 1"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-22",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 1,
+                                       "numoutlets" : 2,
+                                       "outlettype" : [ "int", "int" ],
+                                       "patching_rect" : [ 498.0, 275.0, 55.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "thispoly~"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "id" : "obj-23",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 2,
+                                       "numoutlets" : 1,
+                                       "outlettype" : [ "signal" ],
+                                       "patching_rect" : [ 54.0, 405.0, 45.0, 20.0 ],
+                                       "style" : "default",
+                                       "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" :                                 {
+                                       "id" : "obj-27",
+                                       "maxclass" : "newobj",
+                                       "numinlets" : 5,
+                                       "numoutlets" : 4,
+                                       "outlettype" : [ "signal", "signal", "", "" ],
+                                       "patching_rect" : [ 244.0, 205.0, 271.0, 20.0 ],
+                                       "style" : "default",
+                                       "text" : "adsr~ 50 0 1. 50 @retrigger 20"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "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 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-27", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 4 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-4", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-7", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-1", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-11", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-28", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-12", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.611765, 0.701961, 1.0, 1.0 ],
+                                       "destination" : [ "obj-16", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-13", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.611765, 0.701961, 1.0, 1.0 ],
+                                       "destination" : [ "obj-23", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-13", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-13", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-14", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "color" : [ 0.156863, 0.8, 0.54902, 1.0 ],
+                                       "destination" : [ "obj-27", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-15", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-19", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-16", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-10", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-2", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-1", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-21", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-20", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-23", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-16", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-27", 2 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-22", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-23", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-27", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-5", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-27", 1 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-3", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-2", 1 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-4", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-6", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-5", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-14", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-6", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-15", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-7", 0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "destination" : [ "obj-3", 0 ],
+                                       "disabled" : 0,
+                                       "hidden" : 0,
+                                       "source" : [ "obj-7", 1 ]
+                               }
+
+                       }
+ ],
+               "dependency_cache" : [  ],
+               "autosave" : 0
+       }
+
+}