This commit is contained in:
Sam Perry
2016-11-16 06:41:06 +00:00
parent ff153a24ad
commit 3d5ff3ed03
4 changed files with 1729 additions and 36 deletions
+14 -1
View File
@@ -2,7 +2,7 @@
"name" : "Press-a-Sketch",
"version" : 1,
"creationdate" : -732900327,
"modificationdate" : -732898132,
"modificationdate" : -732892248,
"viewrect" : [ 25.0, 69.0, 300.0, 500.0 ],
"autoorganize" : 1,
"hideprojectwindow" : 0,
@@ -24,6 +24,19 @@
"kind" : "patcher",
"local" : 1
}
,
"GrainSynth.maxpat" : {
"kind" : "patcher",
"local" : 1
}
}
,
"code" : {
"delaynoint.gendsp" : {
"kind" : "gendsp",
"local" : 1
}
}
,
+117
View File
@@ -0,0 +1,117 @@
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 6,
"minor" : 1,
"revision" : 10,
"architecture" : "x86"
}
,
"rect" : [ 50.0, 95.0, 600.0, 450.0 ],
"bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.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" : 12.0,
"id" : "obj-5",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 150.75, 169.0, 158.0, 20.0 ],
"text" : "delay 441000 @interp none"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 50.0, 14.0, 30.0, 20.0 ],
"text" : "in 1"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 0,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 305.0, 14.0, 30.0, 20.0 ],
"text" : "in 2"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-4",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 176.0, 418.0, 37.0, 20.0 ],
"text" : "out 1"
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-5", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-1", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-5", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-4", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-5", 0 ]
}
}
]
}
}
+398
View File
@@ -0,0 +1,398 @@
{
"patcher" : {
"fileversion" : 1,
"appversion" : {
"major" : 6,
"minor" : 1,
"revision" : 10,
"architecture" : "x86"
}
,
"rect" : [ 372.0, 143.0, 640.0, 480.0 ],
"bglocked" : 0,
"openinpresentation" : 0,
"default_fontsize" : 12.0,
"default_fontface" : 0,
"default_fontname" : "Arial",
"gridonopen" : 0,
"gridsize" : [ 15.0, 15.0 ],
"gridsnaponopen" : 0,
"statusbarvisible" : 0,
"toolbarvisible" : 1,
"boxanimatetime" : 200,
"imprint" : 0,
"enablehscroll" : 1,
"enablevscroll" : 1,
"devicewidth" : 0.0,
"description" : "",
"digest" : "",
"tags" : "",
"boxes" : [ {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : 0.0,
"id" : "obj-19",
"linecount" : 5,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 519.0, 219.571533, 150.0, 74.0 ],
"text" : "Calculate the delay in samples for this instance based on the instance number, overlap factor and grain size."
}
}
, {
"box" : {
"annotation" : "Sample delay without the interpolation of the standard delay MSP object.",
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-39",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 309.0, 278.571533, 96.0, 20.0 ],
"text" : "gen~ delaynoint"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-13",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "int", "bang" ],
"patching_rect" : [ 514.5, 98.571533, 32.5, 20.0 ],
"text" : "t i b"
}
}
, {
"box" : {
"annotation" : "Unpack the grain size and overlap factor",
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-8",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 433.75, 53.571533, 59.0, 20.0 ],
"text" : "depack 2"
}
}
, {
"box" : {
"id" : "obj-14",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 603.0, 167.571533, 20.0, 20.0 ]
}
}
, {
"box" : {
"id" : "obj-12",
"maxclass" : "toggle",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 565.5, 167.571533, 20.0, 20.0 ]
}
}
, {
"box" : {
"annotation" : "Multiply the hop size by the instance to give the delay offset",
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-35",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 433.75, 209.571533, 32.5, 20.0 ],
"text" : "* 0."
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-34",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "int" ],
"patching_rect" : [ 528.0, 167.571533, 32.5, 20.0 ],
"text" : "- 1"
}
}
, {
"box" : {
"annotation" : "Convert the offset from milliseconds to samples.",
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-33",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "signal", "float" ],
"patching_rect" : [ 433.75, 246.571533, 79.0, 20.0 ],
"text" : "mstosamps~"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : 0.0,
"id" : "obj-32",
"linecount" : 2,
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 467.375, 14.571533, 126.75, 33.0 ],
"text" : "Grain Size and overlap"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-31",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 433.75, 14.571533, 30.0, 20.0 ],
"saved_object_attributes" : {
"attr_comment" : ""
}
,
"text" : "in 1"
}
}
, {
"box" : {
"annotation" : "Get the instance number of this instance",
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-24",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 3,
"outlettype" : [ "int", "int", "int" ],
"patching_rect" : [ 528.0, 132.571533, 94.0, 20.0 ],
"text" : "dynamic.this~ 1"
}
}
, {
"box" : {
"annotation" : "Calculate the hop size",
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-23",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "float" ],
"patching_rect" : [ 433.75, 139.571533, 32.5, 20.0 ],
"text" : "/ 0."
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"frgb" : 0.0,
"id" : "obj-11",
"maxclass" : "comment",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 309.0, 177.071533, 85.0, 20.0 ],
"text" : "Phasor in"
}
}
, {
"box" : {
"fontname" : "Arial",
"fontsize" : 12.0,
"id" : "obj-9",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 309.0, 197.071533, 85.0, 20.0 ],
"text" : "dynamic.in~ 3"
}
}
, {
"box" : {
"background" : 1,
"bgcolor" : [ 1.0, 1.0, 1.0, 0.0 ],
"border" : 1,
"id" : "obj-180",
"maxclass" : "panel",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 414.0, 0.0, 255.0, 293.571533 ]
}
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-23", 1 ],
"disabled" : 0,
"hidden" : 0,
"midpoints" : [ 524.0, 129.071533, 456.75, 129.071533 ],
"source" : [ "obj-13", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-24", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-13", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-12", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-24", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-14", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-24", 2 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-34", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-24", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-31", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-39", 1 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-33", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-35", 1 ],
"disabled" : 0,
"hidden" : 0,
"midpoints" : [ 537.5, 198.071533, 456.75, 198.071533 ],
"source" : [ "obj-34", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-33", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-35", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-13", 0 ],
"disabled" : 0,
"hidden" : 0,
"midpoints" : [ 483.25, 86.071533, 524.0, 86.071533 ],
"source" : [ "obj-8", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-23", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-8", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-39", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-9", 0 ]
}
}
],
"dependency_cache" : [ {
"name" : "dynamic.in~.mxo",
"type" : "iLaX"
}
, {
"name" : "dynamic.this~.mxo",
"type" : "iLaX"
}
, {
"name" : "depack.mxo",
"type" : "iLaX"
}
]
}
}
File diff suppressed because it is too large Load Diff