From: equilet <2237372+equilet@users.noreply.github.com> Date: Tue, 7 Feb 2023 23:51:29 +0000 (-0800) Subject: initial commit X-Git-Url: https://git.dabkitsch.com/?a=commitdiff_plain;p=particulate.git initial commit --- 9c157844901c8448b91883dbe32275914fccf2b6 diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..48c6e29 Binary files /dev/null and b/.DS_Store differ diff --git a/1polelist.maxhelp b/1polelist.maxhelp new file mode 100644 index 0000000..87156d1 --- /dev/null +++ b/1polelist.maxhelp @@ -0,0 +1,599 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 567.0, 110.0, 671.0, 710.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 2, + "gridsize" : [ 15.0, 15.0 ], + "gridsnaponopen" : 2, + "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" : "gridded", + "boxes" : [ { + "box" : { + "fontface" : 0, + "fontsize" : 12.0, + "id" : "obj-20", + "linecount" : 4, + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 45.0, 345.0, 150.0, 75.0 ], + "text" : "/wek/outputs : [0.33, 0.25, 0.64, 0.0936643, 0.479478]" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 45.0, 270.0, 151.0, 22.0 ], + "style" : "", + "text" : "udpreceive 12000 CNMAT" + } + + } +, { + "box" : { + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 249.0, 210.0, 37.0, 22.0 ], + "style" : "", + "text" : "o.var" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 315.0, 30.0, 71.0, 22.0 ], + "style" : "", + "text" : "metro 1000" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 249.0, 304.390259, 50.0, 22.0 ], + "style" : "", + "text" : "o.union" + } + + } +, { + "box" : { + "format" : 6, + "id" : "obj-9", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 405.0, 291.0, 105.0, 22.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 405.0, 315.0, 59.0, 22.0 ], + "style" : "", + "text" : "o.pack /k" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "FullPacket" ], + "patching_rect" : [ 249.0, 360.0, 71.0, 22.0 ], + "style" : "", + "text" : "o.route /out" + } + + } +, { + "box" : { + "id" : "obj-2", + "maxclass" : "multislider", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "parameter_enable" : 0, + "patching_rect" : [ 249.0, 390.0, 240.0, 73.0 ], + "size" : 16, + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 249.0, 480.0, 109.0, 22.0 ], + "style" : "", + "text" : "o.pack /wek/inputs" + } + + } +, { + "box" : { + "id" : "obj-25", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 165.0, 57.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 249.0, 332.195129, 89.0, 22.0 ], + "style" : "", + "text" : "1polelist 0.032" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 165.0, 117.0, 119.0, 22.0 ], + "style" : "", + "text" : "metro 10 @active 0" + } + + } +, { + "box" : { + "fontface" : 0, + "fontsize" : 12.0, + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 249.0, 240.0, 301.0, 46.0 ], + "text" : "/random = ((/random / 999.) * 2) - 1., \n/in = /random" + } + + } +, { + "box" : { + "fontface" : 0, + "fontsize" : 12.0, + "id" : "obj-14", + "maxclass" : "o.display", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 105.0, 585.0, 466.0, 34.0 ] + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 59.0, 104.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.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" : "gridded", + "boxes" : [ { + "box" : { + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 45.0, 75.0, 43.0, 22.0 ], + "style" : "", + "text" : "uzi 16" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 45.0, 135.0, 70.0, 22.0 ], + "style" : "", + "text" : "zl.group 16" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 45.0, 105.0, 81.0, 22.0 ], + "style" : "", + "text" : "random 1000" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "index" : 1, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 45.0, 15.0, 30.0, 30.0 ], + "style" : "", + "varname" : "u516000818" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-12", + "index" : 1, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 45.0, 217.0, 30.0, 30.0 ], + "style" : "", + "varname" : "u559000820" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 315.0, 102.0, 68.0, 22.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p generate" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 315.0, 57.0, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 315.0, 147.0, 93.0, 22.0 ], + "style" : "", + "text" : "o.pack /random" + } + + } +, { + "box" : { + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 249.0, 525.0, 137.0, 22.0 ], + "style" : "", + "text" : "udpsend localhost 6448" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "order" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "order" : 1, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 1 ], + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "1polelist.maxpat", + "bootpath" : "~/Dropbox/JML/particulate/project", + "patcherrelativepath" : ".", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } +, { + "name" : "o.display.mxo", + "type" : "iLaX" + } +, { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } +, { + "name" : "o.route.mxo", + "type" : "iLaX" + } +, { + "name" : "o.var.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0, + "bgfillcolor_type" : "gradient", + "bgfillcolor_color1" : [ 0.376471, 0.384314, 0.4, 1.0 ], + "bgfillcolor_color2" : [ 0.290196, 0.309804, 0.301961, 1.0 ], + "bgfillcolor_color" : [ 0.290196, 0.309804, 0.301961, 1.0 ], + "bgfillcolor_angle" : 270.0, + "bgfillcolor_proportion" : 0.39 + } + +} diff --git a/1polelist.maxpat b/1polelist.maxpat new file mode 100644 index 0000000..21b384c --- /dev/null +++ b/1polelist.maxpat @@ -0,0 +1,223 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 3, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 613.0, 179.0, 468.0, 499.0 ], + "bgcolor" : [ 0.870588, 0.929412, 1.0, 1.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 12.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 15.0, 15.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" : { + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 144.0, 110.0, 59.0, 22.0 ], + "style" : "", + "text" : "o.pack /k" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "FullPacket" ], + "patching_rect" : [ 88.0, 200.0, 50.0, 22.0 ], + "style" : "", + "text" : "o.union" + } + + } +, { + "box" : { + "fontface" : 0, + "fontsize" : 12.0, + "id" : "obj-18", + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 116.5, 333.0, 92.0, 32.0 ], + "text" : "/was = /out" + } + + } +, { + "box" : { + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 88.0, 300.0, 47.5, 22.0 ], + "style" : "", + "text" : "t l l" + } + + } +, { + "box" : { + "fontface" : 0, + "fontsize" : 12.0, + "id" : "obj-10", + "linecount" : 3, + "maxclass" : "o.expr.codebox", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "FullPacket", "FullPacket" ], + "patching_rect" : [ 88.0, 232.0, 250.0, 59.0 ], + "text" : "/was ??= /in,\n/k ??= 0.1,\n/out = /was + (/k * (/in - /was))" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 144.0, 66.0, 80.0, 22.0 ], + "style" : "default", + "text" : "loadmess #1" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-9", + "index" : 0, + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 88.0, 389.0, 30.0, 30.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-13", + "index" : 0, + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 88.0, 62.0, 30.0, 30.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 1 ], + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "source" : [ "obj-15", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 1 ], + "midpoints" : [ 126.0, 373.0, 342.0, 373.0, 342.0, 196.0, 128.5, 196.0 ], + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "source" : [ "obj-4", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "o.expr.codebox.mxo", + "type" : "iLaX" + } +, { + "name" : "o.union.mxo", + "type" : "iLaX" + } +, { + "name" : "o.pack.mxo", + "type" : "iLaX" + } + ], + "autosave" : 0 + } + +} diff --git a/_notes/.DS_Store b/_notes/.DS_Store new file mode 100644 index 0000000..5008ddf Binary files /dev/null and b/_notes/.DS_Store differ diff --git a/_notes/events_control.txt b/_notes/events_control.txt new file mode 100644 index 0000000..590a726 --- /dev/null +++ b/_notes/events_control.txt @@ -0,0 +1,4 @@ +wet/dry time +pan time +grain spread +grain params diff --git a/_notes/notes.rtf b/_notes/notes.rtf new file mode 100644 index 0000000..1e8d4aa --- /dev/null +++ b/_notes/notes.rtf @@ -0,0 +1,18 @@ +{\rtf1\ansi\ansicpg1252\cocoartf1504\cocoasubrtf830 +{\fonttbl\f0\fswiss\fcharset0 Helvetica;} +{\colortbl;\red255\green255\blue255;} +{\*\expandedcolortbl;;} +\margl1440\margr1440\vieww20220\viewh14740\viewkind0 +\pard\tx566\tx1133\tx1700\tx2267\tx2834\tx3401\tx3968\tx4535\tx5102\tx5669\tx6236\tx6803\pardirnatural\partightenfactor0 + +\f0\fs40 \cf0 - smooth and speedy transitions\ +- probabilistically morph between samples or buffers\ +- realtime recording into buffers\ +- make sure that quick and subtle movements cause audio output\ +- identification of harmonic content vs roughness \ +- do we have modes? if so, what sorts of modes should there be?\ +- how do we integrate the BCF2000 ?\ +- pitch-shifting\ +- pitch following\ +- bark scale - what exactly is being assessed there?\ +- what is Thea\'92s \'93bag of tricks\'94?} \ No newline at end of file diff --git a/_notes/notes_todo.txt b/_notes/notes_todo.txt new file mode 100644 index 0000000..6a9b269 --- /dev/null +++ b/_notes/notes_todo.txt @@ -0,0 +1,51 @@ +particulate project + +----------------------------------------- + +thoughts on what worked before: + +- flanger seemed to work - need flanger from thea +created low, muddy sounds, raw, visceral, thumpy, noisey + +----------------------------------------- +goals: + +- less call/response play/respond + +- shaping over time + +- curve when the synthesis is coming in and out + +- some process that is evolving + +- individual grains can have their own fx space - filtering, flanging, reverb, etc + +- get audio samples from thea + +- more extension of playing + +----------------------------------------- +tools / spec: + +granulator + +analysis + + - peamamp - decision + - roughness / pitch content / other + +use samples from violin + +4 channels or 2 + +----------------------------------------- + +grains with fx + +----------------------------------------- +parameters for grains: + +wet/dry over time +pan over time +grain spread +grain params diff --git a/pathpop.js b/pathpop.js new file mode 100644 index 0000000..82c082c --- /dev/null +++ b/pathpop.js @@ -0,0 +1,25 @@ +outlets = 1; +var numpops = jsarguments[1]; + +function bang(){ + do_bang(); +} + +function loadbang(){ + do_bang(); +} + +function do_bang(){ + var p = this.patcher; + var path = p.filepath; + var pary = path.split('/'); + pary.pop(); + + for(i=0; i>" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-36", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 693.0, 603.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 693.0, 627.315796, 50.0, 21.0 ], + "style" : "", + "text" : "rate $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 693.0, 652.5, 199.0, 21.0 ], + "style" : "", + "text" : "granubuf~ @inlets trigger rate amp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 88.0, 650.0, 591.0, 19.0 ], + "style" : "", + "text" : "when a time parameter is created as an inlet, the value is tied to this inlet, i.e. cannot be set via message or attribute >>" + } + + } +, { + "box" : { + "id" : "obj-29", + "maxclass" : "live.line", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 623.0, 275.0, 59.5, 5.0 ] + } + + } +, { + "box" : { + "id" : "obj-28", + "maxclass" : "live.line", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 383.0, 354.5, 299.5, 6.0 ] + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "live.line", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 486.5, 312.5, 196.0, 5.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 686.0, 347.0, 88.0, 19.0 ], + "style" : "", + "text" : "(rate is passive)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-25", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 686.0, 305.0, 109.0, 19.0 ], + "style" : "", + "text" : "(duration is passive)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 686.0, 268.0, 88.0, 19.0 ], + "style" : "", + "text" : "(end is passive)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 244.5, 327.0, 27.0, 19.0 ], + "style" : "", + "text" : "OR" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 244.5, 287.0, 27.0, 19.0 ], + "style" : "", + "text" : "OR" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 88.0, 204.0, 421.0, 43.0 ], + "style" : "", + "text" : "there are three possible relationships between duraiton, rate, and end parameters. in each case one parameter is calculated in terms of the other two, which I've called the \"passive\" parameter for now." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-17", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 88.0, 347.0, 295.0, 20.0 ], + "style" : "", + "text" : "- the rate is relative to the desired length and duration" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-16", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 88.0, 268.0, 535.0, 20.0 ], + "style" : "", + "text" : "- the length (number of samples) in the grain is relative to the desired duration and rate of playback" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 12.0, + "id" : "obj-14", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 88.0, 305.0, 399.0, 20.0 ], + "style" : "", + "text" : "- the duration is relative to the length of the grain and the rate of playback" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-12", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 535.0, 112.0, 105.0, 17.0 ], + "style" : "", + "text" : "set param-samp-ex" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 595.0, 74.0, 199.0, 21.0 ], + "style" : "", + "text" : "buffer~ param-samp-ex drumloop.aif" + } + + } +, { + "box" : { + "allowdrag" : 0, + "bgcolor" : [ 0.983929, 1.0, 0.987947, 0.0 ], + "buffername" : "param-ex", + "gridcolor" : [ 0.392, 0.392, 0.392, 1.0 ], + "id" : "obj-9", + "labels" : 0, + "maxclass" : "waveform~", + "numinlets" : 5, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "list", "" ], + "patching_rect" : [ 724.0, 142.0, 71.0, 89.0 ], + "ruler" : 0, + "selectioncolor" : [ 0.0, 0.372549, 1.0, 0.0 ], + "style" : "", + "vticks" : 0, + "waveformcolor" : [ 1.0, 0.278074, 0.617122, 0.58 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 724.0, 112.0, 75.0, 17.0 ], + "style" : "", + "text" : "set param-ex" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 815.0, 47.0, 105.0, 21.0 ], + "style" : "", + "text" : "fill 1, apply hanning" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 815.0, 19.0, 56.0, 21.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 815.0, 75.0, 169.0, 21.0 ], + "style" : "", + "text" : "buffer~ param-ex @samps 1024" + } + + } +, { + "box" : { + "fontname" : "Arial Bold", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 175.0, 176.0, 337.0, 19.0 ], + "style" : "", + "text" : "time parameters describe different aspects of the same values" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 88.0, 176.0, 87.0, 19.0 ], + "style" : "", + "text" : "important note: " + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-44", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 96.0, 75.0, 398.0, 19.0 ], + "style" : "", + "text" : "inlets are created as needed with the @inlets attribute, and may be in any order" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 8, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 88.0, 103.0, 414.0, 21.0 ], + "style" : "", + "text" : "granubuf~ @inlets trigger start duration rate buffer_index window_index outlet amp" + } + + } +, { + "box" : { + "allowdrag" : 0, + "bgcolor" : [ 0.983929, 1.0, 0.987947, 0.0 ], + "buffername" : "param-samp-ex", + "gridcolor" : [ 0.392157, 0.392157, 0.392157, 0.0 ], + "id" : "obj-11", + "labels" : 0, + "maxclass" : "waveform~", + "numinlets" : 5, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "list", "" ], + "patching_rect" : [ 535.0, 136.0, 449.0, 101.0 ], + "ruler" : 0, + "selectioncolor" : [ 0.0, 0.372549, 1.0, 0.0 ], + "style" : "", + "vticks" : 0, + "waveformcolor" : [ 0.0, 0.412186, 0.603886, 1.0 ] + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 702.5, 496.5, 702.5, 496.5 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 810.0, 496.5, 702.5, 496.5 ], + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 935.5, 496.5, 702.5, 496.5 ], + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 702.5, 564.5, 702.5, 564.5 ], + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 746.5, 564.5, 702.5, 564.5 ], + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 117.0, 133.0, 114.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p inlets¶meters" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 26.0, 1119.0, 728.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-58", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 578.75, 219.0, 128.0, 21.0 ], + "style" : "", + "text" : "peek~ granu-window-ex" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-57", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "int", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 25.0, 69.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 125.0, 407.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "float" ], + "patching_rect" : [ 371.5, 60.0, 32.5, 19.0 ], + "style" : "", + "text" : "t b f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "float" ], + "patching_rect" : [ 172.5, 60.0, 32.5, 19.0 ], + "style" : "", + "text" : "t b f" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 92.0, 174.0, 32.5, 19.0 ], + "style" : "", + "text" : "t i i" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-23", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 92.0, 407.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 106.0, 238.0, 99.0, 19.0 ], + "style" : "", + "text" : "expr pow($f1\\, $f2)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 106.0, 312.0, 298.0, 19.0 ], + "style" : "", + "text" : "expr pow($f1\\, $f2)" + } + + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 100.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 106.0, 277.0, 264.0, 19.0 ], + "style" : "", + "text" : "expr 1 - ((cos(6.28318530717959 * $f1) * 0.5) + 0.5)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-36", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 106.0, 206.0, 44.0, 19.0 ], + "style" : "", + "text" : "/ 511." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 50.0, 136.0, 61.0, 19.0 ], + "style" : "", + "text" : "uzi 512 0" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-55", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 172.5, 13.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-56", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 371.5, 21.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-56", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 578.75, 183.0, 214.25, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p shape-window" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-53", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 889.75, 82.0, 32.5, 21.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-52", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 700.75, 39.0, 163.0, 19.0 ], + "style" : "", + "text" : "some example window shaping" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-51", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 244.0, 62.0, 31.0 ], + "style" : "", + "text" : "loadmess 0.24" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-48", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 652.75, 82.0, 32.5, 21.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 774.0, 82.0, 32.5, 21.0 ], + "style" : "", + "text" : "10" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-45", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 851.5, 82.0, 32.5, 21.0 ], + "style" : "", + "text" : "2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-46", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 813.75, 82.0, 32.5, 21.0 ], + "style" : "", + "text" : "0.1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 578.75, 82.0, 32.5, 21.0 ], + "style" : "", + "text" : "0.3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 614.5, 82.0, 32.5, 21.0 ], + "style" : "", + "text" : "10." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 14.0, + "id" : "obj-7", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 355.375, 639.0, 625.0, 22.0 ], + "style" : "", + "text" : "(you can also use a collection of buffers~ to avoid the delay when writing, see polybuffer~ example)" + } + + } +, { + "box" : { + "fontname" : "Arial Bold", + "fontsize" : 13.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 118.0, 45.5, 431.0, 21.0 ], + "style" : "", + "text" : "this allows you to change the shape of your window dynamically >>" + } + + } +, { + "box" : { + "fontname" : "Arial Bold", + "fontsize" : 13.0, + "id" : "obj-44", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 118.0, 23.5, 386.0, 21.0 ], + "style" : "", + "text" : "user windows buffers can be set with the @window attribute" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-42", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 830.0, 142.0, 155.0, 19.0 ], + "style" : "", + "text" : "<< window amplitude shaping" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 634.0, 142.0, 138.0, 19.0 ], + "style" : "", + "text" : "<< window phase shaping" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 587.0, 274.5, 112.0, 21.0 ], + "style" : "", + "text" : "set granu-window-ex" + } + + } +, { + "box" : { + "allowdrag" : 0, + "buffername" : "granu-window-ex", + "id" : "obj-19", + "maxclass" : "waveform~", + "numinlets" : 5, + "numoutlets" : 6, + "outlettype" : [ "float", "float", "float", "float", "list", "" ], + "patching_rect" : [ 587.0, 305.5, 371.0, 146.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 279.0, 398.5, 206.0, 21.0 ], + "style" : "", + "text" : "buffer~ granu-window-ex @samps 512" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 578.75, 53.0, 56.0, 19.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-49", + "maxclass" : "flonum", + "minimum" : 0.000001, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 578.75, 142.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-28", + "maxclass" : "flonum", + "minimum" : 0.000001, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 774.0, 142.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 402.5, 249.0, 70.0, 19.0 ], + "style" : "", + "text" : "loadmess 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 323.5, 249.0, 82.0, 19.0 ], + "style" : "", + "text" : "loadmess 200." + } + + } +, { + "box" : { + "floatoutput" : 1, + "id" : "obj-40", + "maxclass" : "slider", + "mult" : 0.001, + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 256.0, 220.0, 264.5, 19.0 ], + "size" : 1000.0, + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-31", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 256.0, 277.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 303.5, 47.0, 21.0 ], + "style" : "", + "text" : "start $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-27", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 323.5, 277.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-25", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 402.5, 277.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 402.5, 303.5, 45.0, 21.0 ], + "style" : "", + "text" : "rate $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 323.5, 303.5, 66.0, 21.0 ], + "style" : "", + "text" : "duration $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 338.0, 529.0, 34.0, 21.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 338.0, 501.0, 39.0, 21.0 ], + "style" : "", + "text" : "active" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 338.0, 557.0, 32.5, 21.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 557.0, 69.0, 21.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 223.0, 617.0, 35.0, 21.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-12", + "maxclass" : "flonum", + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 223.0, 110.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 52.0, 377.0, 127.0, 294.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 52.0, 266.0, 127.0, 96.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-6", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 223.5, 407.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 223.0, 196.0, 41.0, 21.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 223.0, 169.0, 41.0, 21.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 223.0, 142.0, 66.0, 21.0 ], + "style" : "", + "text" : "phasor~ 12" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 223.0, 349.0, 147.5, 33.0 ], + "style" : "", + "text" : "granubuf~ @buffer foo @window granu-window-ex" + } + + } +, { + "box" : { + "angle" : 0.0, + "background" : 1, + "bgcolor" : [ 0.898039, 0.898039, 0.898039, 0.0 ], + "border" : 5, + "bordercolor" : [ 0.280851, 0.623291, 1.0, 1.0 ], + "id" : "obj-54", + "maxclass" : "panel", + "mode" : 0, + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 553.5, 23.5, 457.5, 491.0 ], + "proportion" : 0.39, + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-49", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-49", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-49", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 783.5, 210.0, 642.75, 210.0 ], + "source" : [ "obj-57", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 358.0, 133.0, 88.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p window-buffer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 26.0, 1119.0, 728.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 14.0, + "id" : "obj-4", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 18.0, 39.0, 620.0, 22.0 ], + "style" : "", + "text" : "** old testing notes, this is essentially the same as what's explained in the inlets¶meters tab **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 13.0, + "id" : "obj-2", + "linecount" : 42, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 18.0, 94.0, 935.0, 616.0 ], + "style" : "", + "text" : "Note on location and rate control: \nThe parameters for grain start/end, duration, and rate all influence each other. For example, with a specifying a start and end time within a buffer, the rate of playback will control the duration of the grain. Or, alternatively, if specifying a start time and duration, the rate will alter the resulting end time (i.e. faster rates will require more of the buffer to fill the fixed duration value). Therefore, some there are some design decisions that needed to be made to deal with these .\n\nThe start parameter is always active (is never overridden by other values)\n\nInput cases:\n inputs: start, duration, rate (default)\n end = (start_ms + duration) / rate_ms\n\n inputs: start, end, rate\n duration = (end_ms - start_ms) * rate\n\n inputs: start, end, duration\n rate = (end_ms - start_ms) / duration\n\n inputs: start, end, duration, rate\n this is not allowed as signal rate inputs, and will fail instantiation: \n error = parameters could conflict with each other! \n\nHowever, since it is potentially interesting to jump back and forth between these parameter relationships, it is currently allowed with message inputs. In the case you sequentially input all three conflicting parameters, the oldest input type will be overwritten.\n\nSetting duration and then end and then rate, your duration value is overwritten.\nSetting end and then duration and then rate, your end value is overwritten.\nSetting rate and then end and then duration, your rate value is overwritten.\n…and so on (setting duration and then rate and then end, your duration value is overwritten etc.)\nBy default duration is set as the \"oldest\" parameter.\n\nNOTE! This is \"allowed\" but it introduces hidden states, which is against best practices, and should be avoided! Eventually a information outlet will be added so you will be able to maintain information about the grain state(s).\n\nSince these parameters can effect each other, there are in place some rules and defaults for signal rate input:\n\n- Parameters that have assigned inlets can only be addressed by the inlet, and are always present in the active collection\n\n- When two inlets are created for rate, duration or end parameters, the internal passive parameter is automatically set and cannot be changed dynamically.\n\n- If one or none of these parameters are created as inlets, the internal passive parameter can be changed dynamically by inputting the other parameters (e.g. if an inlet is set to rate, and you input duration, the passive parameter is the end point; if you input an end point the passive parameter is set to duration). This is probably only useful for exploring the parameter possibilities." + } + + } + ], + "lines" : [ ] + } +, + "patching_rect" : [ 837.0, 133.0, 57.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p readme" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 26.0, 1119.0, 728.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "id" : "obj-29", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 487.0, 213.0, 138.0, 67.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 313.166656, 128.0, 32.5, 19.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 313.166656, 98.0, 40.0, 19.0 ], + "style" : "", + "text" : "sig~ 9" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 370.0, 103.0, 100.0, 19.0 ], + "style" : "", + "text" : "scale~ 0 1 -1 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 370.0, 76.0, 33.0, 19.0 ], + "style" : "", + "text" : ">~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 487.0, 27.0, 60.0, 19.0 ], + "style" : "", + "text" : "cycle~ 0.2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 212.5, 200.0, 82.0, 19.0 ], + "style" : "", + "text" : "loadmess 20." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 212.5, 248.0, 50.0, 19.0 ], + "style" : "", + "text" : "duration" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 656.5, 374.0, 114.0, 19.0 ], + "style" : "", + "text" : "scale~ 0. 1. 0.2 0.3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-30", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 212.5, 270.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 313.166656, 225.0, 114.0, 19.0 ], + "style" : "", + "text" : "scale~ 0. 1. 0. 1." + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 59.833317, 477.0, 138.0, 67.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-18", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 684.0, 285.0, 138.0, 67.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 656.5, 250.0, 69.0, 19.0 ], + "style" : "", + "text" : "phasor~ 0.1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-10", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 313.166656, 74.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-51", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 714.0, 115.5, 360.0, 68.0 ], + "style" : "", + "text" : "when using the fof window, an additional shaping coeficient is used, called \"tex\", controlled as a ratio of 0-1 in terms of the window duration, specifying the peak amplitude point where the exponential decay begins. the value may be set by signal, float, message, or as a preset attribute." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-49", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 293.166656, 301.0, 25.0, 19.0 ], + "style" : "", + "text" : "tex" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-48", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 656.5, 225.0, 50.0, 19.0 ], + "style" : "", + "text" : "start" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 109.999992, 129.0, 42.0, 19.0 ], + "style" : "", + "text" : "trigger" + } + + } +, { + "box" : { + "id" : "obj-41", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 487.0, 213.0, 138.0, 67.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 313.166656, 154.0, 51.0, 19.0 ], + "style" : "", + "text" : "phasor~" + } + + } +, { + "box" : { + "id" : "obj-11", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 279.833313, 477.0, 138.0, 67.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-8", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 240.0, 465.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 66.000008, 585.0, 34.0, 19.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 66.000008, 557.0, 39.0, 19.0 ], + "style" : "", + "text" : "active" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 119.500008, 586.0, 32.5, 17.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 119.500008, 562.0, 69.0, 17.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 212.0, 620.5, 46.5, 19.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-12", + "maxclass" : "flonum", + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 105.999992, 154.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-6", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 212.5, 465.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 105.999992, 240.0, 41.0, 19.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 105.999992, 213.0, 41.0, 19.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 105.999992, 186.0, 75.0, 19.0 ], + "style" : "", + "text" : "phasor~ 440." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 309.0, 620.5, 127.0, 19.0 ], + "style" : "", + "text" : "buffer~ foofof anton.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "linecount" : 6, + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 186.833328, 350.0, 96.0, 80.0 ], + "style" : "", + "text" : "granubuf~ @buffer foofof @window fof @numoutlets 2 @inlets trigger duration tex start" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 309.0, 590.5, 47.0, 17.0 ], + "style" : "", + "text" : "replace" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 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-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 798.0, 133.0, 32.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p fof" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 26.0, 1119.0, 728.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "id" : "obj-42", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 214.333344, 524.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-43", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 109.0, 195.0, 60.0, 17.0 ], + "style" : "", + "text" : "-0.351523" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-45", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 473.0, 283.0, 60.0, 19.0 ], + "style" : "", + "text" : "(ms2ratio)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-44", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 487.0, 234.0, 25.0, 19.0 ], + "style" : "", + "text" : "ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 25.0, 69.0, 347.0, 455.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 138.0, 50.0, 29.0 ], + "style" : "", + "text" : "100, bang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 50.0, 110.5, 34.0, 19.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 111.5, 116.5, 32.5, 19.0 ], + "style" : "", + "text" : "gate" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-44", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 111.5, 194.5, 50.0, 17.0 ], + "style" : "", + "text" : "$1 150" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 111.5, 220.5, 46.0, 19.0 ], + "style" : "", + "text" : "line 0." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 111.5, 168.5, 87.0, 19.0 ], + "style" : "", + "text" : "drunk 400 50" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-55", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 75.75, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-56", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 111.5, 284.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 148.0, 252.5, 209.25, 252.5, 209.25, 101.5, 134.5, 101.5 ], + "source" : [ "obj-41", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 188.0, 317.0, 63.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p drunkard" + } + + } +, { + "box" : { + "id" : "obj-48", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 188.0, 289.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 124.333336, 24.0, 150.0, 19.0 ], + "style" : "", + "text" : "time stretching example" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-57", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 563.0, 438.0, 29.0, 19.0 ], + "style" : "", + "text" : "rate" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 588.833374, 414.0, 73.0, 19.0 ], + "style" : "", + "text" : "loadmess 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-46", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 588.833374, 438.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 454.833344, 417.0, 38.0, 17.0 ], + "style" : "", + "text" : "$1 20" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 454.833344, 438.0, 34.0, 19.0 ], + "style" : "", + "text" : "line~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-20", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 433.5, 234.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 433.5, 264.0, 94.333344, 19.0 ], + "style" : "", + "text" : "/ 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 588.833374, 276.0, 56.0, 19.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 321.5, 152.0, 56.0, 19.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-52", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 226.0, 177.0, 83.0, 19.0 ], + "style" : "", + "text" : " time strech >>" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-51", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.0, 202.0, 129.0, 19.0 ], + "style" : "", + "text" : "normal playback rate >>" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-50", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 630.333374, 309.0, 182.0, 19.0 ], + "style" : "", + "text" : "<< natural comb without onset blur" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-49", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 521.5, 234.0, 311.0, 19.0 ], + "style" : "", + "text" : "<< blur onset position for increased transient presence" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-40", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 339.0, 202.0, 56.0, 17.0 ], + "style" : "", + "text" : "0.351523" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 321.5, 177.0, 32.5, 17.0 ], + "style" : "", + "text" : "0.06" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-34", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 433.5, 206.0, 32.5, 17.0 ], + "style" : "", + "text" : "4." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 588.833374, 309.0, 32.5, 17.0 ], + "style" : "", + "text" : "0." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 454.833344, 367.0, 73.0, 19.0 ], + "style" : "", + "text" : "loadmess 67" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 448.333344, 55.0, 56.0, 19.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 645.833313, 438.0, 235.0, 31.0 ], + "style" : "", + "text" : "<< inlets accept signals or floats (except the trigger inlet which only accepts signals)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 321.5, 595.0, 34.0, 19.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 321.5, 567.0, 39.0, 19.0 ], + "style" : "", + "text" : "active" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 407.333344, 438.0, 48.0, 19.0 ], + "style" : "", + "text" : "duration" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-36", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 256.0, 431.0, 73.0, 19.0 ], + "style" : "", + "text" : "start location" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 136.833328, 431.0, 42.0, 19.0 ], + "style" : "", + "text" : "trigger" + } + + } +, { + "box" : { + "id" : "obj-33", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 448.333344, 85.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-31", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 321.5, 236.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 376.0, 177.0, 47.0, 19.0 ], + "style" : "", + "text" : "!/ 1000." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-28", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 369.5, 342.0, 75.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 345.5, 375.0, 43.0, 19.0 ], + "style" : "", + "text" : "*~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 321.5, 409.0, 43.0, 19.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 345.5, 309.0, 43.0, 19.0 ], + "style" : "", + "text" : "noise~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-23", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 454.833344, 391.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 9, + "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int" ], + "patching_rect" : [ 427.833344, 118.0, 127.0, 19.0 ], + "style" : "", + "text" : "info~ foo-inlets" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 321.5, 264.0, 75.0, 19.0 ], + "style" : "", + "text" : "phasor~ 0.04" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 321.5, 625.0, 32.5, 17.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 238.333344, 626.0, 69.0, 17.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 187.833344, 684.0, 45.0, 19.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-12", + "maxclass" : "flonum", + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 187.833344, 345.0, 50.0, 19.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-6", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 188.333344, 524.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.833344, 431.0, 41.0, 19.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.833344, 404.0, 41.0, 19.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.833344, 377.0, 75.0, 19.0 ], + "style" : "", + "text" : "phasor~ 100" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 290.833344, 85.0, 156.0, 19.0 ], + "style" : "", + "text" : "buffer~ foo-inlets cherokee.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 187.833344, 472.0, 420.0, 31.0 ], + "style" : "", + "text" : "granubuf~ @inlets trigger start duration rate @buffer foo-inlets @window cos @numoutlets 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 290.833344, 55.0, 47.0, 17.0 ], + "style" : "", + "text" : "replace" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 598.333344, 513.0, 223.833344, 513.0 ], + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 443.0, 333.0, 379.0, 333.0 ], + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-46", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 598.333374, 333.5, 379.0, 333.5 ], + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 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-42", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 672.0, 133.0, 119.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p time-strech-example" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 71.0, 105.0, 1119.0, 728.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial Bold", + "fontsize" : 14.0, + "id" : "obj-44", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 156.100006, 14.5, 674.0, 22.0 ], + "style" : "", + "text" : "the @window and @buffer attributes can contain a list of buffers used for sample and window data." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 415.75, 267.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 340.700012, 267.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 415.75, 57.0, 194.0, 19.0 ], + "style" : "", + "text" : "<< drop a folder of your samples here" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 361.5, 435.5, 80.0, 19.0 ], + "style" : "", + "text" : "window_index" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-105", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 451.75, 173.5, 391.0, 31.0 ], + "style" : "", + "text" : "<< two polybuffer~s can be used for holding buffers for samples and windows (this can also be multiple buffer~ objects -- just using polybuffer~ for ease)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-103", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 613.5, 122.0, 68.0 ], + "style" : "", + "text" : "the \"window\" message can be used to set a list of buffers containing window functions" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-102", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 565.0, 613.5, 114.247131, 43.0 ], + "style" : "", + "text" : "the \"buffer\" message can be used to set a list of buffers" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-82", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 391.100006, 104.5, 56.0, 21.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-72", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 391.100006, 136.5, 143.0, 21.0 ], + "style" : "", + "text" : "readfolder C74:/media/msp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 34.0, 79.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 224.0, 175.0, 100.0, 21.0 ], + "style" : "", + "text" : "prepend" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 351.0, 134.0, 78.0, 21.0 ], + "style" : "", + "text" : "set append" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 270.0, 134.0, 78.0, 21.0 ], + "style" : "", + "text" : "set readfolder" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 270.0, 106.0, 100.0, 21.0 ], + "style" : "", + "text" : "sel fold" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-41", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 224.0, 65.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-42", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 270.0, 65.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-43", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 224.0, 262.5, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 322.700012, 107.5, 51.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p format" + } + + } +, { + "box" : { + "id" : "obj-20", + "maxclass" : "dropfile", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 322.700012, 50.5, 86.0, 44.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-50", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 322.700012, 63.0, 86.0, 19.0 ], + "style" : "", + "text" : "drop files/folder" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-100", + "linecount" : 5, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 704.700012, 538.0, 91.0, 70.0 ], + "style" : "", + "text" : "window multiwindow.1 multiwindow.2 multiwindow.3 multiwindow.4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-99", + "linecount" : 6, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 575.700012, 538.0, 115.0, 82.0 ], + "style" : "", + "text" : "buffer multibuf.1 multibuf.2 multibuf.3 multibuf.4 multibuf.5 multibuf.6 multibuf.7 multibuf.8 multibuf.9 multibuf.10" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-97", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 671.700012, 446.5, 229.0, 21.0 ], + "style" : "", + "text" : "route bufferlist windowlist" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-96", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 3, + "outlettype" : [ "int", "int", "int" ], + "patching_rect" : [ 322.700012, 335.5, 46.0, 21.0 ], + "style" : "", + "text" : "t i i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-95", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 400.700012, 300.5, 32.5, 21.0 ], + "style" : "", + "text" : "- 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-94", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 459.099976, 368.5, 32.5, 21.0 ], + "style" : "", + "text" : "- 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-93", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 322.700012, 223.5, 175.0, 21.0 ], + "style" : "", + "text" : "route numbuffers numwindows" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-92", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 601.0, 159.0, 805.0, 615.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 472.0, 398.0, 89.0, 21.0 ], + "style" : "", + "text" : "numwindows $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 561.5, 398.0, 104.0, 21.0 ], + "style" : "", + "text" : "prepend windowlist" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 148.0, 398.0, 81.0, 21.0 ], + "style" : "", + "text" : "numbuffers $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 166.0, 22.0, 459.0, 19.0 ], + "style" : "", + "text" : "note: dac turns off when you exit the main window, so you'll have to turn it back on for sound" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 148.0, 71.5, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 472.0, 87.0, 56.0, 21.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-90", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 237.5, 398.0, 95.0, 21.0 ], + "style" : "", + "text" : "prepend bufferlist" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-85", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 0.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-70", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "bang", "bang", "bang", "bang", "" ], + "patching_rect" : [ 134.0, 277.0, 100.0, 19.0 ], + "style" : "", + "text" : "sel 1 2 3 4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-69", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 400.0, 336.0, 59.0, 17.0 ], + "style" : "", + "text" : "fill sinc 20" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-68", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 175.5, 239.0, 32.5, 19.0 ], + "style" : "", + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-67", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 504.0, 330.0, 136.0, 19.0 ], + "style" : "", + "text" : "sprintf set multiwindow.%i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-66", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 283.0, 336.0, 62.0, 17.0 ], + "style" : "", + "text" : "fill sinc 5 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-65", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 166.0, 336.0, 102.0, 17.0 ], + "style" : "", + "text" : "fill 1, apply triangle" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-64", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 336.0, 105.0, 17.0 ], + "style" : "", + "text" : "fill 1, apply hanning" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-62", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 304.0, 439.0, 143.0, 19.0 ], + "style" : "", + "text" : "buffer~ temp-help-buf 1000" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-58", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 135.0, 164.0, 114.0, 17.0 ], + "style" : "", + "text" : "appendempty 1000 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-56", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 148.5, 209.0, 46.0, 19.0 ], + "style" : "", + "text" : "uzi 4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-55", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "bang", "clear" ], + "patching_rect" : [ 135.0, 100.0, 59.0, 19.0 ], + "style" : "", + "text" : "t b clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 135.0, 132.0, 46.0, 19.0 ], + "style" : "", + "text" : "uzi 4" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-83", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 135.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-84", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 130.0, 518.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-58", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-84", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-68", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-56", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-84", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-58", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-64", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-66", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-67", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-67", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-68", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-70", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-68", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-62", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-69", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-64", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-70", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-65", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-70", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-66", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-70", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-69", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-70", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-83", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 472.0, 144.5, 130.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p init_example_windows" + } + + } +, { + "box" : { + "id" : "obj-60", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 472.0, 119.5, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 472.0, 332.0, 46.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 561.5, 348.5, 55.0, 33.0 ], + "style" : "", + "text" : "prepend window" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 561.5, 319.5, 50.0, 21.0 ], + "style" : "", + "text" : "zl group" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 517.5, 286.5, 63.0, 21.0 ], + "style" : "", + "text" : "route done" + } + + } +, { + "box" : { + "id" : "obj-42", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 551.0, 189.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 621.0, 251.5, 22.0, 21.0 ], + "style" : "", + "text" : "t s" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-48", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 521.0, 221.5, 119.0, 21.0 ], + "style" : "", + "text" : "t getcount getbufferlist" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 472.0, 251.5, 110.0, 21.0 ], + "style" : "", + "text" : "route count bufferlist" + } + + } +, { + "box" : { + "color" : [ 0.0, 0.668797, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-52", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 472.0, 183.5, 68.0, 33.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "style" : "", + "text" : "polybuffer~ multiwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 148.0, 286.5, 46.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 237.5, 348.5, 55.0, 33.0 ], + "style" : "", + "text" : "prepend buffer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 237.5, 319.5, 50.0, 21.0 ], + "style" : "", + "text" : "zl group" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 193.5, 286.5, 63.0, 21.0 ], + "style" : "", + "text" : "route done" + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 227.0, 189.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 297.0, 251.5, 22.0, 21.0 ], + "style" : "", + "text" : "t s" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 197.0, 221.5, 119.0, 21.0 ], + "style" : "", + "text" : "t getcount getbufferlist" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 3, + "outlettype" : [ "", "", "" ], + "patching_rect" : [ 148.0, 260.5, 110.0, 21.0 ], + "style" : "", + "text" : "route count bufferlist" + } + + } +, { + "box" : { + "color" : [ 0.0, 0.668797, 1.0, 1.0 ], + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 148.0, 183.5, 68.0, 33.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "style" : "", + "text" : "polybuffer~ multibuf" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-91", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 148.0, 483.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-60", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 306.5, 279.5, 335.0, 279.5, 335.0, 173.5, 157.5, 173.5 ], + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-90", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 630.5, 279.5, 659.0, 279.5, 659.0, 173.5, 481.5, 173.5 ], + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-52", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-91", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-85", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-60", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-91", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-85", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-91", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-91", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-90", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 322.700012, 165.5, 115.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p polybuffer_example" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-81", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 554.0, 379.5, 60.5, 21.0 ], + "style" : "", + "text" : "%~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-80", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 554.0, 335.5, 46.0, 21.0 ], + "style" : "", + "text" : "*~ 0.09" + } + + } +, { + "box" : { + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-79", + "maxclass" : "number~", + "mode" : 2, + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "float" ], + "patching_rect" : [ 171.5, 413.5, 56.0, 21.0 ], + "sig" : 0.0, + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-78", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 171.5, 309.5, 46.0, 21.0 ], + "style" : "", + "text" : "*~ 0.09" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-74", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 451.75, 413.5, 98.0, 21.0 ], + "style" : "", + "text" : "scale~ 0 7 10 100" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-75", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 464.947144, 435.5, 50.0, 19.0 ], + "style" : "", + "text" : "duration" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-73", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 554.0, 413.5, 104.0, 21.0 ], + "style" : "", + "text" : "scale~ 0 7 10 0.02" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-71", + "maxclass" : "newobj", + "numinlets" : 6, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 349.5, 413.5, 83.0, 21.0 ], + "style" : "", + "text" : "scale~ 0 7 0 4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 284.697174, 684.5, 34.0, 21.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 329.697174, 645.0, 39.0, 21.0 ], + "style" : "", + "text" : "active" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 103.0, 466.5, 42.0, 19.0 ], + "style" : "", + "text" : "trigger" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-25", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 254.5, 435.5, 71.0, 19.0 ], + "style" : "", + "text" : "buffer_index" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 575.700012, 435.5, 29.0, 19.0 ], + "style" : "", + "text" : "rate" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 290.802826, 641.0, 32.5, 21.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 213.0, 641.0, 69.0, 21.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 145.5, 684.5, 44.5, 21.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 171.5, 379.5, 32.5, 21.0 ], + "style" : "", + "text" : "%~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 171.5, 282.5, 32.5, 21.0 ], + "style" : "", + "text" : "+=~" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 329.697174, 543.5, 110.302818, 67.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-11", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 171.5, 529.5, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-12", + "maxclass" : "flonum", + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 145.0, 164.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 213.0, 543.5, 110.302818, 67.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-6", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 145.5, 529.5, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 145.0, 254.5, 41.0, 21.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 145.0, 227.5, 41.0, 21.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 145.0, 196.5, 66.0, 21.0 ], + "style" : "", + "text" : "phasor~ 80" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 145.0, 485.5, 428.0, 21.0 ], + "style" : "", + "text" : "granubuf~ 256 2 @inlets trigger buffer_index window_index duration rate" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-78", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 181.0, 405.5, 256.75, 405.5 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 181.0, 405.5, 359.0, 405.5 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-74", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 181.0, 405.5, 461.25, 405.5 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-79", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-71", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-92", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-72", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-73", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-74", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-80", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-78", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-80", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-81", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-72", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-82", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-93", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-92", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-93", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-93", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-95", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-93", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-96", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-93", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-97", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 488.200012, 249.0, 681.200012, 249.0 ], + "source" : [ "obj-93", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-73", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-74", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-94", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-71", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-95", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-96", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-81", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-96", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-94", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-96", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-97", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-97", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-100", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-97", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-99", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-97", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 464.0, 133.0, 74.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p polybuffer~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 26.0, 1119.0, 728.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 448.0, 452.0, 150.0, 31.0 ], + "style" : "", + "text" : "<< by setting end here, rate becomes passive parameter" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 269.0, 152.5, 39.0, 21.0 ], + "style" : "", + "text" : "active" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-57", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 25.0, 69.0, 347.0, 455.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "linecount" : 2, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 138.0, 50.0, 29.0 ], + "style" : "", + "text" : "500, bang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 50.0, 110.5, 34.0, 19.0 ], + "style" : "", + "text" : "sel 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 111.5, 116.5, 32.5, 19.0 ], + "style" : "", + "text" : "gate" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-44", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 111.5, 194.5, 50.0, 17.0 ], + "style" : "", + "text" : "$1 150" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 111.5, 220.5, 46.0, 19.0 ], + "style" : "", + "text" : "line 0." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 111.5, 168.5, 87.0, 19.0 ], + "style" : "", + "text" : "drunk 1000 50" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-55", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 75.75, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-56", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 111.5, 284.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 1 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 148.0, 252.5, 209.25, 252.5, 209.25, 101.5, 134.5, 101.5 ], + "source" : [ "obj-41", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 269.0, 206.5, 63.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p drunkard" + } + + } +, { + "box" : { + "id" : "obj-48", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 269.0, 178.5, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 450.0, 419.5, 100.0, 21.0 ], + "style" : "", + "text" : "loadmess set 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-34", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 415.5, 195.0, 70.0, 21.0 ], + "style" : "", + "text" : "loadmess 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "hidden" : 1, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 336.5, 195.0, 82.0, 21.0 ], + "style" : "", + "text" : "loadmess 120." + } + + } +, { + "box" : { + "floatoutput" : 1, + "id" : "obj-40", + "maxclass" : "slider", + "mult" : 0.001, + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "parameter_enable" : 0, + "patching_rect" : [ 269.0, 235.0, 264.5, 19.0 ], + "size" : 1000.0, + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-46", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 472.5, 308.5, 277.0, 19.0 ], + "style" : "", + "text" : "<< most attributes can also be addressed via message" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-31", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 269.0, 277.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 269.0, 308.5, 47.0, 21.0 ], + "style" : "", + "text" : "start $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-23", + "maxclass" : "flonum", + "maximum" : 1.0, + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 382.5, 419.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-27", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 336.5, 277.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-25", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 415.5, 277.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 415.5, 308.5, 45.0, 21.0 ], + "style" : "", + "text" : "rate $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 336.5, 308.5, 66.0, 21.0 ], + "style" : "", + "text" : "duration $1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 272.0, 121.0, 292.0, 19.0 ], + "style" : "", + "text" : "<< grains are triggered by non-zero samples (trigger inlet)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 336.5, 525.0, 34.0, 21.0 ], + "style" : "", + "text" : "sel 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 336.5, 497.0, 39.0, 21.0 ], + "style" : "", + "text" : "active" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "linecount" : 29, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 649.5, 342.0, 439.0, 363.0 ], + "style" : "", + "text" : "--- initialization attributes ---\n@inlets \n(available inlet parameters: trigger, location, duration, rate, buffer_index, window_index, outlet, amp, tex)\n\n@maxoverlap (default/maximum: 256)\n@numoutlets \n@buffer (default: empty)\n@window (default: cos)\n(cos, fof, sinc, and dampedsine widows are included internally and may be initialized with out an external buffer~)\n\n--- state intitialization attributes ---\n@start (0-1, default 0.) *must be < @end\n@duration (default 100.)\n@rate (default 1. (n.b. < 0 plays in reverse ))\n@end (0-1, default 1) *must be > @start\n@amp (default 1.)\n@outlet (default -1 (n.b. -1 = cycle across outlets))\n@buffer_index (index in list of initialized buffers, default 0)\n@window_index (index in list of initialized windows, default 0)\n@tex (0-1 value for shaping FOF grain, default 0.5)\n\n@setwindow (by name, default first in list)\n@setbuffer (by name, default first in list)\n\n@interpolation (1 = linear (default), 0 = none)\n@end_mode (if window end is past end of buffer: 0 = don't play , 1 = shorten grain to fit (default), 2 = stop mid window at end of buffer)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 732.0, 99.0, 180.0, 31.0 ], + "style" : "", + "text" : "rama gottfried 2013\nbased on adrian freed's sinusoids~", + "textjustification" : 2 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 511.0, 60.0, 400.0, 19.0 ], + "style" : "", + "text" : "sample rate buffer granularizer, with customizable inlets, and polybuffer support." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 24.0, + "id" : "obj-24", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 792.0, 27.0, 119.0, 33.0 ], + "style" : "", + "text" : "granubuf~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 714.0, 203.5, 174.0, 19.0 ], + "style" : "", + "text" : "... are also available as attributes:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 690.0, 137.5, 222.0, 19.0 ], + "style" : "", + "text" : "optional args: " + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 810.0, 166.0, 102.0, 33.0 ], + "style" : "", + "text" : "granubuf~ 64 2 @buffer foo" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "linecount" : 4, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 810.0, 232.0, 102.0, 58.0 ], + "style" : "", + "text" : "granubuf~ @maxoverlap 64 @numoutlets 2 @buffer foo" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 336.5, 555.0, 32.5, 21.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 256.0, 557.0, 69.0, 21.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 223.0, 617.0, 35.0, 21.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-12", + "maxclass" : "flonum", + "minimum" : 0.0, + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 221.0, 35.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 52.0, 377.0, 140.0, 252.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-9", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 52.0, 266.0, 127.0, 96.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-6", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 223.5, 407.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 221.0, 121.0, 41.0, 21.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 221.0, 94.0, 41.0, 21.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 221.0, 67.0, 66.0, 21.0 ], + "style" : "", + "text" : "phasor~ 25" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 436.5, 604.0, 127.0, 21.0 ], + "style" : "", + "text" : "buffer~ foo drumloop.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 223.0, 349.0, 125.0, 21.0 ], + "style" : "", + "text" : "granubuf~ @buffer foo" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 436.5, 574.0, 47.0, 21.0 ], + "style" : "", + "text" : "replace" + } + + } +, { + "box" : { + "fontname" : "Arial Bold", + "fontsize" : 11.0, + "id" : "obj-36", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 320.5, 383.0, 298.0, 31.0 ], + "style" : "", + "text" : "note: end, rate, duratation parameters are interrelated. see inlets & parameters panel for explination" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 382.5, 450.5, 44.0, 21.0 ], + "style" : "", + "text" : "end $1" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-39", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 1, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-57", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-57", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 59.0, 133.0, 45.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p basic" + } + + } + ], + "lines" : [ ], + "parameters" : { + "obj-6::obj-6" : [ "live.gain~", "live.gain~", 0 ] + } +, + "dependency_cache" : [ { + "name" : "yafr2.maxpat", + "bootpath" : "/Users/Shared/Max 7/Examples/effects/reverb/lib", + "type" : "JSON", + "implicit" : 1 + } +, { + "name" : "granubuf~.mxo", + "type" : "iLaX" + } + ], + "embedsnapshot" : 0 + } + +} diff --git a/tilde-0.0b/granubuf~.mxo/Contents/Info.plist b/tilde-0.0b/granubuf~.mxo/Contents/Info.plist new file mode 100644 index 0000000..0c7d9e9 --- /dev/null +++ b/tilde-0.0b/granubuf~.mxo/Contents/Info.plist @@ -0,0 +1,38 @@ + + + + + BuildMachineOSBuild + 14D136 + CFBundleDevelopmentRegion + English + CFBundleExecutable + granubuf~ + CFBundleIdentifier + edu.cnmat.berkeley.granubuf~ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + iLaX + CFBundleSignature + ???? + CFBundleVersion + 1.0 + CSResourcesFileMapped + + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 6D1002 + DTPlatformVersion + GM + DTSDKBuild + 14D125 + DTSDKName + macosx10.10 + DTXcode + 0631 + DTXcodeBuild + 6D1002 + + diff --git a/tilde-0.0b/granubuf~.mxo/Contents/MacOS/granubuf~ b/tilde-0.0b/granubuf~.mxo/Contents/MacOS/granubuf~ new file mode 100755 index 0000000..4b156f7 Binary files /dev/null and b/tilde-0.0b/granubuf~.mxo/Contents/MacOS/granubuf~ differ diff --git a/tilde-0.0b/granufm~.maxhelp b/tilde-0.0b/granufm~.maxhelp new file mode 100644 index 0000000..65d4740 --- /dev/null +++ b/tilde-0.0b/granufm~.maxhelp @@ -0,0 +1,1106 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 149.0, 67.0, 1108.0, 712.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 7, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 829.5, 126.0, 248.0, 31.0 ], + "presentation_rect" : [ 801.5, 127.0, 0.0, 0.0 ], + "style" : "", + "text" : "note: ths object may be redesigned in the future, in particular the the window functions " + } + + } +, { + "box" : { + "id" : "obj-55", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 319.240021, 240.0, 38.0, 21.0 ], + "style" : "", + "text" : "$1 20" + } + + } +, { + "box" : { + "id" : "obj-56", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 319.240021, 270.0, 46.0, 21.0 ], + "style" : "", + "text" : "line~ 1." + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 495.100006, 223.0, 50.0, 21.0 ], + "style" : "", + "text" : "$1 100" + } + + } +, { + "box" : { + "id" : "obj-54", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 495.100006, 253.0, 37.0, 33.0 ], + "style" : "", + "text" : "line~ 0.25." + } + + } +, { + "box" : { + "id" : "obj-52", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 376.75, 244.0, 44.0, 21.0 ], + "style" : "", + "text" : "$1 100" + } + + } +, { + "box" : { + "id" : "obj-50", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "bang" ], + "patching_rect" : [ 376.75, 274.0, 46.0, 21.0 ], + "style" : "", + "text" : "line~ 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 380.75, 192.0, 37.0, 19.0 ], + "style" : "", + "text" : "index" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-48", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 376.75, 218.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-44", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 323.240021, 173.0, 36.0, 19.0 ], + "style" : "", + "text" : "harm" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-45", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 319.240021, 199.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 737.340027, 203.0, 33.0, 21.0 ], + "style" : "", + "text" : "3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 695.340027, 203.0, 33.0, 21.0 ], + "style" : "", + "text" : "2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-43", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 699.5, 433.0, 263.0, 43.0 ], + "style" : "", + "text" : "n.b. currently not \"always on\", so there are cpu spikes when many overlapping grains are playing, to manage this, adjust number of voices" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-42", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 699.5, 396.0, 263.0, 19.0 ], + "style" : "", + "text" : "optional arguments: " + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 34.000015, 188.0, 163.0, 31.0 ], + "style" : "", + "text" : "> 0 = up chirp\n< 0 = down chirp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-40", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 34.000015, 164.0, 163.0, 19.0 ], + "style" : "", + "text" : "amount of chirp (modes 10&11)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 829.5, 96.0, 180.0, 19.0 ], + "style" : "", + "text" : "based on adrian freed's sinusoids~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 829.5, 77.0, 109.0, 19.0 ], + "style" : "", + "text" : "rama gottfried, 2013" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 18.0, + "id" : "obj-37", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 792.5, 49.0, 116.0, 27.0 ], + "style" : "", + "text" : "granufm~ " + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-36", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 553.720032, 176.0, 49.0, 19.0 ], + "style" : "", + "text" : "y shape" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 495.100006, 166.0, 49.0, 19.0 ], + "style" : "", + "text" : "x shape" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-33", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 429.980011, 133.0, 75.0, 19.0 ], + "style" : "", + "text" : "duration (ms)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 264.620026, 192.0, 45.0, 19.0 ], + "style" : "", + "text" : "car hz" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 202.000015, 12.0, 42.0, 19.0 ], + "style" : "", + "text" : "trigger" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 612.340027, 177.0, 37.0, 19.0 ], + "style" : "", + "text" : "type" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 657.340027, 203.0, 33.0, 21.0 ], + "style" : "", + "text" : "1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 852.340027, 203.0, 33.0, 21.0 ], + "style" : "", + "text" : "11" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 612.340027, 203.75, 33.0, 21.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 807.340027, 203.0, 33.0, 21.0 ], + "style" : "", + "text" : "10" + } + + } +, { + "box" : { + "id" : "obj-27", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 202.000015, 547.0, 408.0, 93.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-23", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 156.5, 404.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "linecount" : 8, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 699.5, 284.0, 334.0, 105.0 ], + "style" : "", + "text" : "types:\n0 = cos grain: hz, dur (ms), attack slope, y exp\n1 = fof grain: hz, decay time (ms), attack percentage, y exp\n2 = damped sinusoidal grain: hz, dur, attack slope, y exp\n3 = sinc: hz, dur, attack slope, y exp (default numripples = 5)\n\n10 = cos grain + chirp linear\n11 = cos + chirp exp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 612.340027, 232.0, 55.0, 21.0 ], + "style" : "", + "text" : "sig~ 0." + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "spectroscope~", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 202.0, 348.0, 408.0, 85.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-25", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 553.720032, 202.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 553.720032, 232.0, 43.0, 21.0 ], + "style" : "", + "text" : "sig~ 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-11", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 495.100006, 192.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-19", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 436.480011, 159.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-20", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 202.000015, 46.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-18", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 133.5, 404.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 436.480011, 192.0, 49.0, 21.0 ], + "style" : "", + "text" : "sig~ 56." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 116.5, 265.0, 34.0, 21.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "id" : "obj-10", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 133.5, 562.0, 45.0, 45.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-14", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 260.620026, 218.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 260.620026, 253.0, 39.0, 33.0 ], + "style" : "", + "text" : "sig~ 1000." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 202.000015, 100.0, 41.0, 21.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 202.000015, 126.0, 36.0, 21.0 ], + "style" : "", + "text" : "<~ 0." + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 202.000015, 451.0, 408.0, 93.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 202.000015, 73.0, 60.0, 21.0 ], + "style" : "", + "text" : "phasor~ 4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 8, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 202.000015, 300.0, 429.339996, 21.0 ], + "style" : "", + "text" : "granufm~ 64 2 @alwayson 0" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-53", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 7 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 6 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-55", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-50", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 5 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-56", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-55", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-56", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "granufm~.mxo", + "type" : "iLaX" + } + ], + "embedsnapshot" : 0 + } + +} diff --git a/tilde-0.0b/granufm~.mxo/Contents/Info.plist b/tilde-0.0b/granufm~.mxo/Contents/Info.plist new file mode 100644 index 0000000..d8ef436 --- /dev/null +++ b/tilde-0.0b/granufm~.mxo/Contents/Info.plist @@ -0,0 +1,38 @@ + + + + + BuildMachineOSBuild + 14D136 + CFBundleDevelopmentRegion + English + CFBundleExecutable + granufm~ + CFBundleIdentifier + edu.cnmat.berkeley.granufm~ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + iLaX + CFBundleSignature + ???? + CFBundleVersion + 1.0 + CSResourcesFileMapped + + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 6D1002 + DTPlatformVersion + GM + DTSDKBuild + 14D125 + DTSDKName + macosx10.10 + DTXcode + 0631 + DTXcodeBuild + 6D1002 + + diff --git a/tilde-0.0b/granufm~.mxo/Contents/MacOS/granufm~ b/tilde-0.0b/granufm~.mxo/Contents/MacOS/granufm~ new file mode 100755 index 0000000..e83ec19 Binary files /dev/null and b/tilde-0.0b/granufm~.mxo/Contents/MacOS/granufm~ differ diff --git a/tilde-0.0b/localpeak~.maxhelp b/tilde-0.0b/localpeak~.maxhelp new file mode 100644 index 0000000..1265cac --- /dev/null +++ b/tilde-0.0b/localpeak~.maxhelp @@ -0,0 +1,663 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 7, + "architecture" : "x86" + } +, + "rect" : [ 100.0, 100.0, 1063.0, 624.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 5.0, 5.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 6, + "minor" : 1, + "revision" : 7, + "architecture" : "x86" + } +, + "rect" : [ 25.0, 69.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 0, + "gridsize" : [ 5.0, 5.0 ], + "gridsnaponopen" : 0, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "boxanimatetime" : 200, + "imprint" : 0, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 150.5, 156.0, 38.0, 19.0 ], + "presentation_rect" : [ 273.5, 193.0, 0.0, 0.0 ], + "text" : "tanh~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-1", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 70.0, 11.0, 251.0, 19.0 ], + "text" : "feedback control in the style of Agostino Di Scipio" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 194.5, 46.0, 76.0, 19.0 ], + "text" : "loadmess 30." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 194.5, 77.0, 50.0, 19.0 ] + } + + } +, { + "box" : { + "id" : "obj-19", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 113.0, 386.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "id" : "obj-22", + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 113.0, 324.0, 150.0, 26.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 113.0, 290.0, 33.0, 19.0 ], + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 150.5, 218.0, 33.0, 19.0 ], + "text" : "!-~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 150.5, 120.0, 63.0, 19.0 ], + "text" : "localpeak~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 150.5, 187.0, 32.5, 19.0 ], + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 113.0, 67.0, 35.0, 19.0 ], + "text" : "adc~" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-26", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 390.5, 538.0, 112.0, 19.0 ], + "saved_object_attributes" : { + "default_fontface" : 0, + "default_fontname" : "Arial", + "default_fontsize" : 11.0, + "description" : "", + "digest" : "", + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 11.0, + "globalpatchername" : "", + "tags" : "" + } +, + "text" : "p feedback_example" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-21", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 567.0, 167.0, 232.0, 19.0 ], + "text" : "ms time can also be set by signal in right inlet" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 234.0, 184.0, 150.0, 19.0 ], + "text" : "float into either inlet sets ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 264.5, 213.0, 50.0, 19.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 576.5, 222.0, 59.0, 19.0 ], + "text" : "sig~ 1000" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 576.5, 196.0, 50.0, 19.0 ] + } + + } +, { + "box" : { + "calccount" : 2, + "id" : "obj-10", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 707.5, 333.0, 130.0, 130.0 ] + } + + } +, { + "box" : { + "calccount" : 2, + "id" : "obj-11", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 532.5, 333.0, 130.0, 130.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 532.5, 249.0, 63.0, 19.0 ], + "text" : "localpeak~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-9", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 353.0, 465.0, 159.0, 19.0 ], + "text" : "global peak within ms period" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-8", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 178.0, 465.0, 159.0, 19.0 ], + "text" : "realtime peak within ms period" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "frgb" : 0.0, + "id" : "obj-5", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.5, 465.0, 34.0, 19.0 ], + "text" : "input" + } + + } +, { + "box" : { + "calccount" : 2, + "id" : "obj-2", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 36.5, 325.0, 130.0, 130.0 ] + } + + } +, { + "box" : { + "calccount" : 2, + "id" : "obj-15", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 367.5, 325.0, 130.0, 130.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 192.5, 114.0, 60.0, 19.0 ], + "text" : "rand~ 5" + } + + } +, { + "box" : { + "id" : "obj-7", + "maxclass" : "ezdac~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 250.5, 538.0, 45.0, 45.0 ] + } + + } +, { + "box" : { + "calccount" : 2, + "id" : "obj-6", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 192.5, 325.0, 130.0, 130.0 ] + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "signal" ], + "patching_rect" : [ 192.5, 241.0, 91.0, 19.0 ], + "text" : "localpeak~ 1000" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "localpeak~.mxo", + "type" : "iLaX" + } + ] + } + +} diff --git a/tilde-0.0b/localpeak~.mxo/Contents/Info.plist b/tilde-0.0b/localpeak~.mxo/Contents/Info.plist new file mode 100644 index 0000000..eb6a603 --- /dev/null +++ b/tilde-0.0b/localpeak~.mxo/Contents/Info.plist @@ -0,0 +1,38 @@ + + + + + BuildMachineOSBuild + 14D136 + CFBundleDevelopmentRegion + English + CFBundleExecutable + localpeak~ + CFBundleIdentifier + edu.cnmat.berkeley.localpeak~ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + iLaX + CFBundleSignature + ???? + CFBundleVersion + 1.0 + CSResourcesFileMapped + + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 6D1002 + DTPlatformVersion + GM + DTSDKBuild + 14D125 + DTSDKName + macosx10.10 + DTXcode + 0631 + DTXcodeBuild + 6D1002 + + diff --git a/tilde-0.0b/localpeak~.mxo/Contents/MacOS/localpeak~ b/tilde-0.0b/localpeak~.mxo/Contents/MacOS/localpeak~ new file mode 100755 index 0000000..134d1d2 Binary files /dev/null and b/tilde-0.0b/localpeak~.mxo/Contents/MacOS/localpeak~ differ diff --git a/tilde-0.0b/polywave~.maxhelp b/tilde-0.0b/polywave~.maxhelp new file mode 100644 index 0000000..3c970bc --- /dev/null +++ b/tilde-0.0b/polywave~.maxhelp @@ -0,0 +1,2525 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 342.0, 79.0, 951.0, 704.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.0 ], + "gridsnaponopen" : 1, + "objectsnaponopen" : 1, + "statusbarvisible" : 2, + "toolbarvisible" : 1, + "lefttoolbarpinned" : 0, + "toptoolbarpinned" : 0, + "righttoolbarpinned" : 0, + "bottomtoolbarpinned" : 0, + "toolbars_unpinned_last_save" : 7, + "tallnewobj" : 0, + "boxanimatetime" : 200, + "enablehscroll" : 1, + "enablevscroll" : 1, + "devicewidth" : 0.0, + "description" : "", + "digest" : "", + "tags" : "", + "style" : "", + "subpatcher_template" : "", + "showrootpatcherontab" : 0, + "showontab" : 0, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 26.0, 951.0, 678.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "linecount" : 5, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 575.0, 304.0, 340.0, 68.0 ], + "style" : "", + "text" : "inlet 1: X position in table 1 (0-1)\ninlet 2: X position in table 2 (0-1) (same as table 1 if not connected)\ninlet 3: interpolation weight 0-1, where 0 is table 1 and 1 is table 2\ninlet 4: buffer index for table 1\ninlet 5: buffer index for table 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 575.0, 278.0, 295.0, 19.0 ], + "style" : "", + "text" : "when @dimension is set to 2, additional inlets are created:" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 124.75, 551.0, 32.5, 21.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 124.75, 527.0, 72.0, 21.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 64.5, 573.0, 35.0, 21.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 212.5, 173.0, 58.0, 21.0 ], + "style" : "", + "text" : "clip~ 0. 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 64.5, 353.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 64.5, 321.0, 63.0, 21.0 ], + "style" : "", + "text" : "cycle~ 500" + } + + } +, { + "box" : { + "id" : "obj-8", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 65.0, 386.0, 22.0, 140.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-49", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 212.5, 145.0, 52.0, 21.0 ], + "style" : "", + "text" : "cos~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-46", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 245.75, 251.0, 40.0, 21.0 ], + "style" : "", + "text" : "sig~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-45", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 279.0, 274.0, 40.0, 21.0 ], + "style" : "", + "text" : "sig~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-43", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 212.5, 90.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-44", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 212.5, 113.0, 69.0, 21.0 ], + "style" : "", + "text" : "phasor~ 0.4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 212.5, 225.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-41", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 71.5, 118.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 146.0, 176.0, 56.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 146.0, 154.0, 41.0, 21.0 ], + "style" : "", + "text" : "*~ 20" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 146.0, 118.0, 41.0, 21.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 146.0, 90.0, 41.0, 21.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 513.0, 172.0, 102.0, 21.0 ], + "style" : "", + "text" : "replace jongly.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 541.0, 103.0, 110.0, 21.0 ], + "style" : "", + "text" : "replace drumloop.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 446.0, 52.0, 56.0, 21.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "id" : "obj-6", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 215.0, 420.0, 400.0, 99.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 446.0, 172.0, 56.0, 21.0 ], + "style" : "", + "text" : "fill sin 1 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 446.0, 205.0, 146.0, 21.0 ], + "style" : "", + "text" : "buffer~ env2 @samps 1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 458.0, 103.0, 68.0, 21.0 ], + "style" : "", + "text" : "fill sinc 12 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 458.0, 139.0, 146.0, 21.0 ], + "style" : "", + "text" : "buffer~ env1 @samps 1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-24", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 146.0, 31.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 146.0, 62.0, 60.0, 21.0 ], + "style" : "", + "text" : "phasor~ 9" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-34", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 146.0, 311.0, 152.0, 33.0 ], + "style" : "", + "text" : "polywave~ @dimensions 2 @buffer env1 env2" + } + + } +, { + "box" : { + "attr" : "interpolation", + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 337.0, 279.0, 214.0, 21.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-44", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-49", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-44", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-46", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 76.0, 177.0, 100.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p 2d-interpolation" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-56", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 342.0, 105.0, 951.0, 678.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 123.0, 470.0, 32.5, 21.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 123.0, 447.0, 69.0, 21.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 514.0, 63.0, 360.0, 19.0 ], + "style" : "", + "text" : "wave table reader with sample rate buffer switching and 2d interpolation" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 514.0, 90.0, 109.0, 19.0 ], + "style" : "", + "text" : "rama gottfried, 2014" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 14.0, + "id" : "obj-3", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 497.0, 41.0, 77.0, 22.0 ], + "style" : "", + "text" : "polywave~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-24", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 205.0, 100.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-25", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 429.0, 297.0, 130.0, 130.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 286.0, 214.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~ 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 286.0, 187.0, 60.0, 21.0 ], + "style" : "", + "text" : "rate~ 0.1" + } + + } +, { + "box" : { + "id" : "obj-28", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 205.0, 447.0, 111.0, 28.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 205.0, 496.0, 35.0, 21.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "id" : "obj-30", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 286.0, 297.0, 130.0, 130.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 205.0, 131.0, 75.0, 21.0 ], + "style" : "", + "text" : "phasor~ 0.05" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-34", + "linecount" : 3, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 205.0, 243.0, 100.0, 45.0 ], + "style" : "", + "text" : "polywave~ @buffer foo bar @interpolation 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 50.0, 255.0, 109.0, 21.0 ], + "style" : "", + "text" : "buffer~ bar jongly.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 50.0, 229.0, 127.0, 21.0 ], + "style" : "", + "text" : "buffer~ foo drumloop.aif" + } + + } +, { + "box" : { + "attr" : "interpolation", + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 346.0, 214.0, 172.0, 21.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-28", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-28", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 76.0, 101.0, 45.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p basic" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-55", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 0.0, 26.0, 951.0, 678.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : "", + "showontab" : 1, + "boxes" : [ { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 775.0, 119.0, 50.0, 21.0 ], + "style" : "", + "text" : "clear" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 122.0, 376.5, 32.5, 21.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 122.0, 353.5, 69.0, 21.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 398.0, 192.5, 59.0, 19.0 ], + "style" : "", + "text" : "transpose" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-29", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 348.0, 192.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 348.0, 220.5, 105.0, 21.0 ], + "style" : "", + "text" : "expr pow(2\\, $f1/12)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 57.0, 281.0, 134.0, 19.0 ], + "style" : "", + "text" : "offset set all rates equally" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 79.0, 207.0, 112.0, 19.0 ], + "style" : "", + "text" : "convert lengths to hz" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-19", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 253.0, 220.5, 44.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-16", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 253.0, 251.0, 32.5, 21.0 ], + "style" : "", + "text" : "!/ 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 197.0, 281.0, 75.0, 21.0 ], + "style" : "", + "text" : "rate~ 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 490.0, 49.0, 56.0, 21.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "number~", + "mode" : 2, + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "float" ], + "patching_rect" : [ 326.0, 134.0, 56.0, 21.0 ], + "sig" : 0.0, + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 378.5, 46.5, 32.5, 21.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 197.0, 237.5, 51.0, 21.0 ], + "style" : "", + "text" : "phasor~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 197.0, 207.0, 54.0, 21.0 ], + "style" : "", + "text" : "!/~ 1000." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-54", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 653.0, 226.5, 32.5, 21.0 ], + "style" : "", + "text" : "- 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-52", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 197.0, 164.5, 82.0, 21.0 ], + "style" : "", + "text" : "index~ lengths" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-51", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 25.0, 69.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 154.0, 82.0, 19.0 ], + "style" : "", + "text" : "prepend buffer" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "bang", "" ], + "patching_rect" : [ 50.0, 100.0, 52.0, 19.0 ], + "style" : "", + "text" : "sel done" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 128.0, 77.0, 19.0 ], + "style" : "", + "text" : "zl 2048 group" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-49", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-50", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 233.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-50", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-49", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 688.666626, 236.5, 88.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p collect-names" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-48", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 34.0, 79.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "patching_rect" : [ 50.0, 129.0, 32.5, 21.0 ], + "style" : "", + "text" : "- 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 50.0, 156.0, 79.0, 21.0 ], + "style" : "", + "text" : "peek~ lengths" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 50.0, 100.0, 53.0, 21.0 ], + "style" : "", + "text" : "zl slice 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "" ], + "patching_rect" : [ 84.0, 129.0, 46.0, 21.0 ], + "style" : "", + "text" : "zl nth 3" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-47", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-42", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 724.333374, 192.5, 114.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p write-lengths-to-buf" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 681.499939, 391.5, 158.0, 21.0 ], + "style" : "", + "text" : "buffer~ lengths @samps 2048" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 490.0, 77.5, 155.0, 21.0 ], + "style" : "", + "text" : "readfolder C74:/media/msp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-35", + "maxclass" : "number", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 653.0, 197.5, 35.666656, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "linecount" : 5, + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 541.666626, 281.0, 166.0, 70.0 ], + "style" : "", + "text" : "buffer example.1 example.2 example.3 example.4 example.5 example.6 example.7 example.8 example.9 example.10" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 4, + "numoutlets" : 4, + "outlettype" : [ "", "", "", "" ], + "patching_rect" : [ 653.0, 164.5, 126.0, 21.0 ], + "style" : "", + "text" : "route count bufferlist list" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "patching_rect" : [ 653.0, 126.5, 110.0, 21.0 ], + "saved_object_attributes" : { + "embed" : 0 + } +, + "style" : "", + "text" : "polybuffer~ example" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-23", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 310.5, 49.5, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 310.5, 107.5, 32.5, 21.0 ], + "style" : "", + "text" : "*~ 1" + } + + } +, { + "box" : { + "id" : "obj-14", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 213.75, 353.5, 111.0, 28.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 213.75, 397.5, 35.0, 21.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 197.0, 443.5, 220.0, 83.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 310.5, 77.5, 87.0, 21.0 ], + "style" : "", + "text" : "phasor~ 0.6666" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "linecount" : 2, + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 197.0, 316.0, 132.5, 33.0 ], + "style" : "", + "text" : "polywave~ @interpolation 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 653.0, 95.5, 149.0, 21.0 ], + "style" : "", + "text" : "dump, getbufferlist, getcount" + } + + } +, { + "box" : { + "attr" : "interpolation", + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "attrui", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 338.5, 251.0, 178.0, 21.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-35", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-52", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-21", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-29", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-54", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-35", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 499.5, 119.0, 662.5, 119.0 ], + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-52", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 753.5, 154.5, 837.0, 154.5, 837.0, 85.5, 662.5, 85.5 ], + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 76.0, 139.0, 113.0, 19.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p polybuffer-example" + } + + } + ], + "lines" : [ ], + "dependency_cache" : [ { + "name" : "polywave~.mxo", + "type" : "iLaX" + } +, { + "name" : "shot-ms~.mxo", + "type" : "iLaX" + } + ], + "embedsnapshot" : 0 + } + +} diff --git a/tilde-0.0b/polywave~.mxo/Contents/Info.plist b/tilde-0.0b/polywave~.mxo/Contents/Info.plist new file mode 100644 index 0000000..680c86a --- /dev/null +++ b/tilde-0.0b/polywave~.mxo/Contents/Info.plist @@ -0,0 +1,38 @@ + + + + + BuildMachineOSBuild + 14D136 + CFBundleDevelopmentRegion + English + CFBundleExecutable + polywave~ + CFBundleIdentifier + com.cnmat.polywave~ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + iLaX + CFBundleSignature + ???? + CFBundleVersion + 1.0 + CSResourcesFileMapped + + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 6D1002 + DTPlatformVersion + GM + DTSDKBuild + 14D125 + DTSDKName + macosx10.10 + DTXcode + 0631 + DTXcodeBuild + 6D1002 + + diff --git a/tilde-0.0b/polywave~.mxo/Contents/MacOS/polywave~ b/tilde-0.0b/polywave~.mxo/Contents/MacOS/polywave~ new file mode 100755 index 0000000..f4948e5 Binary files /dev/null and b/tilde-0.0b/polywave~.mxo/Contents/MacOS/polywave~ differ diff --git a/tilde-0.0b/shot-ms~.maxhelp b/tilde-0.0b/shot-ms~.maxhelp new file mode 100644 index 0000000..2aacecf --- /dev/null +++ b/tilde-0.0b/shot-ms~.maxhelp @@ -0,0 +1,76919 @@ +{ + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 100.0, 100.0, 852.0, 544.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 458.0, 208.0, 339.0, 19.0 ], + "style" : "", + "text" : "note: on completion of the 0-1 ramp, shot-ms~ holds it's value at 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 235.0, 79.0, 1022.0, 735.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-66", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 304.666656, 521.5, 125.0, 19.0 ], + "presentation_rect" : [ 305.166656, 520.0, 0.0, 0.0 ], + "style" : "", + "text" : "number of active grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-65", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 728.666626, 320.0, 38.0, 21.0 ], + "presentation_rect" : [ 738.083374, 293.0, 0.0, 0.0 ], + "style" : "", + "text" : "0.006" + } + + } +, { + "box" : { + "id" : "obj-59", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 155.0, 77.0, 29.5, 21.0 ], + "style" : "", + "text" : "* 2." + } + + } +, { + "box" : { + "id" : "obj-37", + "maxclass" : "toggle", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 431.666656, 542.5, 24.0, 24.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 431.666656, 572.5, 66.0, 21.0 ], + "style" : "", + "text" : "qmetro 100" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-25", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 431.666656, 636.775513, 54.0, 21.0 ], + "style" : "", + "triangle" : 0, + "triscale" : 0.9 + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-27", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "", "int" ], + "patching_rect" : [ 431.666656, 604.763977, 73.0, 21.0 ], + "style" : "", + "text" : "adstatus cpu" + } + + } +, { + "box" : { + "id" : "obj-21", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 26.0, 552.5, 139.0, 41.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontface" : 0, + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "number~", + "mode" : 2, + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "float" ], + "patching_rect" : [ 284.5, 546.0, 95.0, 21.0 ], + "sig" : 0.0, + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-58", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 690.583374, 476.0, 290.0, 31.0 ], + "style" : "", + "text" : "adding some blur to start position to emphasis transients when slowed down" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-57", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 717.916626, 234.0, 74.0, 19.0 ], + "style" : "", + "text" : "time-streatch" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-56", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 685.416626, 190.0, 35.0, 19.0 ], + "style" : "", + "text" : "reset" + } + + } +, { + "box" : { + "id" : "obj-54", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 664.083374, 190.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-53", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 696.583374, 234.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-51", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 509.416656, 295.0, 32.5, 21.0 ], + "style" : "", + "text" : "0.04" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-48", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 696.583374, 274.0, 32.5, 21.0 ], + "style" : "", + "text" : "4" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-47", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 664.083374, 274.0, 32.5, 21.0 ], + "style" : "", + "text" : "0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-45", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 664.333374, 316.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-43", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 664.333374, 362.0, 32.5, 21.0 ], + "style" : "", + "text" : "/ 1." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-40", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 614.0, 404.0, 29.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-39", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 614.0, 345.0, 43.0, 21.0 ], + "style" : "", + "text" : "noise~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-38", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 456.416656, 447.0, 29.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-33", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 456.416656, 324.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 456.416656, 295.0, 47.0, 21.0 ], + "style" : "", + "text" : "!/ 1000." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 456.416656, 348.0, 60.0, 21.0 ], + "style" : "", + "text" : "phasor~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 268.166656, 264.0, 167.0, 19.0 ], + "style" : "", + "text" : "rate: grain dur / sample dur ratio" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-26", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 252.0, 312.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 238.5, 404.0, 32.5, 21.0 ], + "style" : "", + "text" : "/~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 238.5, 367.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~ 1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 34.0, 79.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-6", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 175.5, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 159.5, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 122.5, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 95.0, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 183.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 236.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 209.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-14", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 40.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 153.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 122.5, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-39", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 65.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-40", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 91.5, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-41", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-23", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 192.5, 509.0, 111.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p 60-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 561.0, 109.0, 56.0, 21.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 0, + "numoutlets" : 0, + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 34.0, 79.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 50.0, 100.0, 100.0, 21.0 ], + "style" : "", + "text" : "loadbang" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-37", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 135.0, 50.0, 21.0 ], + "style" : "", + "text" : "1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-33", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 93.0, 220.0, 41.0, 21.0 ], + "style" : "", + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-32", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "int", "int" ], + "patching_rect" : [ 50.0, 158.0, 41.0, 21.0 ], + "style" : "", + "text" : "t i i" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-31", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 115.0, 252.0, 229.0, 21.0 ], + "style" : "", + "text" : "expr (1 - cos(3.14159 * 2 * ($f1 / ($f2-1)))) / 2" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-30", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "bang", "bang", "int" ], + "patching_rect" : [ 50.0, 190.0, 62.0, 21.0 ], + "style" : "", + "text" : "uzi" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-29", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "float" ], + "patching_rect" : [ 92.5, 291.0, 62.0, 21.0 ], + "style" : "", + "text" : "peek~ env" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-37", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-29", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 715.666626, 121.0, 89.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p make-cos-env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-41", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 285.0, 66.0, 76.0, 21.0 ], + "style" : "", + "text" : "loadmess 36." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-23", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 99.333328, 658.0, 50.0, 21.0 ], + "style" : "", + "text" : "stop" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 192.5, 650.0, 35.0, 21.0 ], + "style" : "", + "text" : "dac~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 87.333328, 615.0, 72.0, 21.0 ], + "style" : "", + "text" : "startwindow" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 259.166656, 432.0, 90.0, 19.0 ], + "style" : "", + "text" : "sample dur (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 426.166656, 482.0, 90.0, 19.0 ], + "style" : "", + "text" : "start of grain 0-1" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 300.166656, 109.0, 79.0, 19.0 ], + "style" : "", + "text" : "grain dur (ms)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-42", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 34.0, 79.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-6", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 175.5, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-5", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 159.5, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-4", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 122.5, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 95.0, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 75.0, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-24", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 183.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-25", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 236.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-26", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 209.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-23", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "", "signal", "signal", "signal", "" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-14", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 40.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 153.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-10", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 50.0, 94.0, 640.0, 480.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-9", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 188.399994, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 191.600006, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 347.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 320.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 292.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 265.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 237.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 210.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 182.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 155.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-11", + "maxclass" : "newobj", + "numinlets" : 5, + "numoutlets" : 5, + "outlettype" : [ "signal", "signal", "signal", "signal", "signal" ], + "patcher" : { + "fileversion" : 1, + "appversion" : { + "major" : 7, + "minor" : 0, + "revision" : 4, + "architecture" : "x64", + "modernui" : 1 + } +, + "rect" : [ 200.0, 79.0, 985.0, 691.0 ], + "bglocked" : 0, + "openinpresentation" : 0, + "default_fontsize" : 11.0, + "default_fontface" : 0, + "default_fontname" : "Arial", + "gridonopen" : 1, + "gridsize" : [ 5.0, 5.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" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 800.0, 385.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 827.0, 450.0, 124.0, 43.0 ], + "style" : "", + "text" : "accumulate busy state to track how many voices are used" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-11", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 800.0, 493.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 698.0, 216.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 461.5, 204.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 324.0, 145.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 143.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 143.0, 499.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 116.0, 31.0, 127.0, 19.0 ], + "style" : "", + "text" : "pulse @ grain dur in ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 429.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-13", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 680.0, 158.0, 103.0, 19.0 ], + "style" : "", + "text" : "start of grain (0-1)" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-12", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 442.0, 110.0, 141.0, 31.0 ], + "style" : "", + "text" : "ratio of buffer to play (0-1)\n** add rate here **" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 393.0, 63.0, 21.0 ], + "style" : "", + "text" : "wave~ env" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 3, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 393.0, 73.0, 21.0 ], + "style" : "", + "text" : "wave~ samp" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-3", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 698.0, 177.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-2", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 461.5, 165.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-6", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 361.0, 32.5, 21.0 ], + "style" : "", + "text" : "+~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 331.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-5", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 265.0, 299.0, 32.5, 21.0 ], + "style" : "", + "text" : "*~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-4", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 278.5, 269.0, 53.0, 21.0 ], + "style" : "", + "text" : "sah~ 0.5" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 187.0, 110.0, 156.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-10", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 187.0, 50.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-18", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-16", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-22", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 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-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 100.0, 61.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p grain" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-15", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 50.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-16", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 85.400002, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-17", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 120.800003, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-18", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 156.199997, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-19", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-20", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 84.599998, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-21", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 119.199997, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-22", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 153.800003, 426.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-11", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-22", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-12", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-15", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-17", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-11", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-4", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-5", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 50.0, 126.0, 70.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p ten-grains" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-1", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 122.5, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-39", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 65.0, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-40", + "maxclass" : "inlet", + "numinlets" : 0, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 91.5, 40.0, 25.0, 25.0 ], + "style" : "" + } + + } +, { + "box" : { + "comment" : "", + "id" : "obj-41", + "maxclass" : "outlet", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 50.0, 273.0, 25.0, 25.0 ], + "style" : "" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-23", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-9", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-26", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-41", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-25", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-23", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-6", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 192.5, 482.0, 111.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p 60-grains" + } + + } +, { + "box" : { + "id" : "obj-36", + "interpinlet" : 1, + "maxclass" : "gain~", + "numinlets" : 2, + "numoutlets" : 2, + "outlettype" : [ "signal", "int" ], + "parameter_enable" : 0, + "patching_rect" : [ 192.5, 579.0, 108.833344, 35.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-34", + "maxclass" : "button", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "bang" ], + "patching_rect" : [ 561.0, 138.0, 20.0, 20.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-24", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 285.0, 127.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-19", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 9, + "outlettype" : [ "float", "list", "float", "float", "float", "float", "float", "", "int" ], + "patching_rect" : [ 393.416656, 183.0, 103.0, 21.0 ], + "style" : "", + "text" : "info~ samp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "maxclass" : "message", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "" ], + "patching_rect" : [ 395.666656, 96.0, 47.0, 21.0 ], + "style" : "", + "text" : "replace" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 395.666656, 127.0, 145.0, 21.0 ], + "style" : "", + "text" : "buffer~ samp cherokee.aif" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-28", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "float", "bang" ], + "patching_rect" : [ 715.666626, 156.0, 140.0, 21.0 ], + "style" : "", + "text" : "buffer~ env @samps 1024" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-16", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 208.0, 44.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 208.0, 127.0, 41.0, 21.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 208.0, 100.0, 41.0, 21.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 208.0, 73.0, 72.0, 21.0 ], + "style" : "", + "text" : "phasor~ 120" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 208.0, 165.0, 43.0, 21.0 ], + "style" : "", + "text" : "*~ 500" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-21", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-36", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-6", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-10", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-13", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 531.166656, 164.0, 402.916656, 164.0 ], + "source" : [ "obj-15", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-59", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-15", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-18", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-20", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-31", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-19", 6 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-20", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-23", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-24", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-26", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-25", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-27", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-30", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-31", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-27", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-32", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-30", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-33", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-19", 0 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 570.5, 165.5, 402.916656, 165.5 ], + "source" : [ "obj-34", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-17", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-36", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-32", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-37", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-42", 3 ], + "disabled" : 0, + "hidden" : 0, + "midpoints" : [ 465.916656, 474.5, 271.0, 474.5 ], + "source" : [ "obj-38", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-39", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-38", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-40", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-41", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 4 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 4 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 3 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 3 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 2 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-10", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-42", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-40", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-43", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-45", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-47", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-45", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-48", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-33", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-51", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-48", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-51", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-53", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-47", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-54", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-24", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-59", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-43", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-65", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-34", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-9", 0 ] + } + + } + ] + } +, + "patching_rect" : [ 495.0, 271.0, 105.0, 21.0 ], + "saved_object_attributes" : { + "description" : "", + "digest" : "", + "fontsize" : 11.0, + "globalpatchername" : "", + "style" : "", + "tags" : "" + } +, + "style" : "", + "text" : "p granular-example" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-23", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 343.0, 186.0, 88.0, 19.0 ], + "style" : "", + "text" : "delegate if busy" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-22", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 131.0, 397.0, 36.0, 19.0 ], + "style" : "", + "text" : "busy" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-21", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 131.0, 253.0, 36.0, 19.0 ], + "style" : "", + "text" : "ramp" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-20", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 283.0, 123.0, 25.0, 19.0 ], + "style" : "", + "text" : "ms" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-18", + "linecount" : 3, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 458.0, 162.0, 339.0, 43.0 ], + "style" : "", + "text" : "output 1: ramp (0-1)\noutput 2: acitve flag 0/1\noutput 3: delegation of input if already active" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-17", + "linecount" : 4, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 458.0, 90.0, 362.0, 56.0 ], + "style" : "", + "text" : "shot-ms~ takes one input, a signal which when greater than zero is interpreted as a ramp time in miliseconds and is immediately performed, if not busy performing already (cannot be interrupted). if shot-ms~ is busy the triggering sample is sent out of the right outlet." + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-15", + "linecount" : 2, + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 458.0, 44.0, 179.0, 31.0 ], + "style" : "", + "text" : "rama gottfried, 2014\nbased on shot~ by andrew benson" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-11", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 232.0, 123.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-9", + "maxclass" : "comment", + "numinlets" : 1, + "numoutlets" : 0, + "patching_rect" : [ 458.0, 25.0, 56.0, 19.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "format" : 6, + "id" : "obj-16", + "maxclass" : "flonum", + "numinlets" : 1, + "numoutlets" : 2, + "outlettype" : [ "", "bang" ], + "parameter_enable" : 0, + "patching_rect" : [ 178.0, 9.0, 50.0, 21.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-12", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 343.0, 397.0, 130.0, 130.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-13", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 343.0, 253.0, 130.0, 130.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-14", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 343.0, 210.0, 56.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-8", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 178.0, 92.0, 41.0, 21.0 ], + "style" : "", + "text" : "<~ 0" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-7", + "maxclass" : "newobj", + "numinlets" : 1, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 178.0, 65.0, 41.0, 21.0 ], + "style" : "", + "text" : "delta~" + } + + } +, { + "box" : { + "id" : "obj-5", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 178.0, 368.0, 130.0, 130.0 ], + "style" : "" + } + + } +, { + "box" : { + "id" : "obj-4", + "maxclass" : "scope~", + "numinlets" : 2, + "numoutlets" : 0, + "patching_rect" : [ 178.0, 224.0, 130.0, 130.0 ], + "style" : "" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-3", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 178.0, 38.0, 69.0, 21.0 ], + "style" : "", + "text" : "phasor~ 3" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-2", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 1, + "outlettype" : [ "signal" ], + "patching_rect" : [ 178.0, 150.0, 43.0, 21.0 ], + "style" : "", + "text" : "*~ 500" + } + + } +, { + "box" : { + "fontname" : "Arial", + "fontsize" : 11.0, + "id" : "obj-1", + "maxclass" : "newobj", + "numinlets" : 2, + "numoutlets" : 3, + "outlettype" : [ "signal", "signal", "signal" ], + "patching_rect" : [ 178.0, 181.0, 56.0, 21.0 ], + "style" : "", + "text" : "shot-ms~" + } + + } + ], + "lines" : [ { + "patchline" : { + "destination" : [ "obj-14", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 2 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-4", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-5", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-1", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 1 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-11", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-12", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 1 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-13", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-14", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-3", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-16", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-1", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-2", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-7", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-3", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-8", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-7", 0 ] + } + + } +, { + "patchline" : { + "destination" : [ "obj-2", 0 ], + "disabled" : 0, + "hidden" : 0, + "source" : [ "obj-8", 0 ] + } + + } + ], + "dependency_cache" : [ { + "name" : "shot-ms~.mxo", + "type" : "iLaX" + } + ], + "embedsnapshot" : 0 + } + +} diff --git a/tilde-0.0b/shot-ms~.mxo/Contents/Info.plist b/tilde-0.0b/shot-ms~.mxo/Contents/Info.plist new file mode 100644 index 0000000..3ac4554 --- /dev/null +++ b/tilde-0.0b/shot-ms~.mxo/Contents/Info.plist @@ -0,0 +1,38 @@ + + + + + BuildMachineOSBuild + 14D136 + CFBundleDevelopmentRegion + English + CFBundleExecutable + shot-ms~ + CFBundleIdentifier + com.cnmat.shot-ms~ + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + iLaX + CFBundleSignature + ???? + CFBundleVersion + 1.0 + CSResourcesFileMapped + + DTCompiler + com.apple.compilers.llvm.clang.1_0 + DTPlatformBuild + 6D1002 + DTPlatformVersion + GM + DTSDKBuild + 14D125 + DTSDKName + macosx10.10 + DTXcode + 0631 + DTXcodeBuild + 6D1002 + + diff --git a/tilde-0.0b/shot-ms~.mxo/Contents/MacOS/shot-ms~ b/tilde-0.0b/shot-ms~.mxo/Contents/MacOS/shot-ms~ new file mode 100755 index 0000000..d18fa90 Binary files /dev/null and b/tilde-0.0b/shot-ms~.mxo/Contents/MacOS/shot-ms~ differ