Minor fixes to max patch and now fully commented
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
"name" : "Press-a-Sketch",
|
||||
"version" : 1,
|
||||
"creationdate" : -732900327,
|
||||
"modificationdate" : -732830694,
|
||||
"modificationdate" : -732713434,
|
||||
"viewrect" : [ 25.0, 69.0, 300.0, 500.0 ],
|
||||
"autoorganize" : 1,
|
||||
"hideprojectwindow" : 0,
|
||||
@@ -14,6 +14,11 @@
|
||||
"kind" : "patcher",
|
||||
"local" : 1
|
||||
}
|
||||
,
|
||||
"GUI_GrainDisplay.maxpat" : {
|
||||
"kind" : "patcher",
|
||||
"local" : 1
|
||||
}
|
||||
,
|
||||
"main.maxpat" : {
|
||||
"kind" : "patcher",
|
||||
@@ -46,9 +51,33 @@
|
||||
}
|
||||
,
|
||||
"externals" : {
|
||||
"dynamic.in~.mxo" : {
|
||||
"kind" : "object"
|
||||
}
|
||||
,
|
||||
"dynamic.this~.mxo" : {
|
||||
"kind" : "object"
|
||||
}
|
||||
,
|
||||
"depack.mxo" : {
|
||||
"kind" : "object"
|
||||
}
|
||||
,
|
||||
"dynamic.out~.mxo" : {
|
||||
"kind" : "object"
|
||||
}
|
||||
,
|
||||
"ibufconcatedrive~.mxo" : {
|
||||
"kind" : "object"
|
||||
}
|
||||
,
|
||||
"randomvals~.mxo" : {
|
||||
"kind" : "object"
|
||||
}
|
||||
,
|
||||
"dynamicdsp~.mxo" : {
|
||||
"kind" : "object"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
"architecture" : "x86"
|
||||
}
|
||||
,
|
||||
"rect" : [ 0.0, 45.0, 1155.0, 693.0 ],
|
||||
"rect" : [ 0.0, 44.0, 922.0, 693.0 ],
|
||||
"bgcolor" : [ 0.9, 0.9, 0.9, 1.0 ],
|
||||
"bglocked" : 0,
|
||||
"openinpresentation" : 0,
|
||||
@@ -29,6 +29,34 @@
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-9",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 86.0, 27.0, 30.0, 20.0 ],
|
||||
"text" : "in 4"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-11",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 23.5, 138.0, 40.0, 20.0 ],
|
||||
"text" : "sah 0"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
@@ -37,7 +65,7 @@
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 171.0, 177.0, 30.0, 20.0 ],
|
||||
"patching_rect" : [ 23.5, 26.0, 30.0, 20.0 ],
|
||||
"text" : "in 3"
|
||||
}
|
||||
|
||||
@@ -55,20 +83,6 @@
|
||||
"text" : "phasor"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-9",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 23.5, 63.0, 105.0, 20.0 ],
|
||||
"text" : "param window 20"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
@@ -980,7 +994,7 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 56.333328, 147.0, 45.0, 20.0 ],
|
||||
"patching_rect" : [ 101.0, 115.0, 45.0, 20.0 ],
|
||||
"text" : "* 1000"
|
||||
}
|
||||
|
||||
@@ -994,7 +1008,7 @@
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 56.333328, 120.0, 31.0, 20.0 ],
|
||||
"patching_rect" : [ 101.0, 88.0, 31.0, 20.0 ],
|
||||
"text" : "!- 1."
|
||||
}
|
||||
|
||||
@@ -1008,7 +1022,7 @@
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 56.333328, 90.0, 172.0, 20.0 ],
|
||||
"patching_rect" : [ 101.0, 58.0, 172.0, 20.0 ],
|
||||
"text" : "in 2 @comment \"shift amount\""
|
||||
}
|
||||
|
||||
@@ -1064,8 +1078,8 @@
|
||||
"numinlets" : 5,
|
||||
"numoutlets" : 4,
|
||||
"outlettype" : [ "", "", "", "" ],
|
||||
"patching_rect" : [ 23.5, 540.0, 622.333313, 20.0 ],
|
||||
"text" : "delay 88200 4"
|
||||
"patching_rect" : [ 23.5, 540.0, 93.0, 20.0 ],
|
||||
"text" : "delay 188200 4"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1287,6 +1301,24 @@
|
||||
"source" : [ "obj-10", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-10", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-11", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-32", 1 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-11", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
@@ -1426,7 +1458,7 @@
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-75", 1 ],
|
||||
"destination" : [ "obj-11", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-2", 0 ]
|
||||
@@ -2212,16 +2244,7 @@
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-10", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-9", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-32", 1 ],
|
||||
"destination" : [ "obj-11", 1 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-9", 0 ]
|
||||
|
||||
@@ -29,6 +29,92 @@
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-24",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 238.333328, 286.0, 37.0, 20.0 ],
|
||||
"text" : "delta"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"frgb" : 0.0,
|
||||
"id" : "obj-60",
|
||||
"linecount" : 3,
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 99.333328, 235.0, 120.0, 47.0 ],
|
||||
"text" : "update delay at phasor loop to prevent clicks"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-23",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 217.333328, 314.0, 40.0, 20.0 ],
|
||||
"text" : "sah 0"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-10",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 217.333328, 249.0, 72.0, 20.0 ],
|
||||
"text" : "mstosamps"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"id" : "obj-3",
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 288.0, 249.0, 31.0, 20.0 ],
|
||||
"text" : "% 1"
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"frgb" : 0.0,
|
||||
"id" : "obj-6",
|
||||
"linecount" : 6,
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 319.75, 136.0, 150.0, 87.0 ],
|
||||
"text" : "Interpolation free delay to allow sample accurate delaying of a phasor. Couldn't find a max object that did this without interpolation..."
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
@@ -37,7 +123,7 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 150.75, 169.0, 158.0, 20.0 ],
|
||||
"patching_rect" : [ 150.75, 362.0, 158.0, 20.0 ],
|
||||
"text" : "delay 441000 @interp none"
|
||||
}
|
||||
|
||||
@@ -51,7 +137,7 @@
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 50.0, 14.0, 30.0, 20.0 ],
|
||||
"patching_rect" : [ 150.75, 136.0, 30.0, 20.0 ],
|
||||
"text" : "in 1"
|
||||
}
|
||||
|
||||
@@ -65,7 +151,7 @@
|
||||
"numinlets" : 0,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "" ],
|
||||
"patching_rect" : [ 305.0, 14.0, 30.0, 20.0 ],
|
||||
"patching_rect" : [ 289.75, 136.0, 30.0, 20.0 ],
|
||||
"text" : "in 2"
|
||||
}
|
||||
|
||||
@@ -78,13 +164,22 @@
|
||||
"maxclass" : "newobj",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 176.0, 418.0, 37.0, 20.0 ],
|
||||
"patching_rect" : [ 150.75, 399.0, 37.0, 20.0 ],
|
||||
"text" : "out 1"
|
||||
}
|
||||
|
||||
}
|
||||
],
|
||||
"lines" : [ {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-3", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-1", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-5", 0 ],
|
||||
"disabled" : 0,
|
||||
@@ -95,12 +190,49 @@
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-5", 1 ],
|
||||
"color" : [ 0.0, 0.501961, 0.501961, 1.0 ],
|
||||
"destination" : [ "obj-23", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-10", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-10", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-2", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-5", 1 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-23", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-23", 1 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-24", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
"destination" : [ "obj-24", 0 ],
|
||||
"disabled" : 0,
|
||||
"hidden" : 0,
|
||||
"source" : [ "obj-3", 0 ]
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"patchline" : {
|
||||
|
||||
@@ -28,6 +28,21 @@
|
||||
"digest" : "",
|
||||
"tags" : "",
|
||||
"boxes" : [ {
|
||||
"box" : {
|
||||
"fontname" : "Arial",
|
||||
"fontsize" : 12.0,
|
||||
"frgb" : 0.0,
|
||||
"id" : "obj-8",
|
||||
"linecount" : 5,
|
||||
"maxclass" : "comment",
|
||||
"numinlets" : 1,
|
||||
"numoutlets" : 0,
|
||||
"patching_rect" : [ 112.0, 71.03968, 150.0, 74.0 ],
|
||||
"text" : "Read values from the arduino into a list.\n\nCode adapted from the max serial tutorial."
|
||||
}
|
||||
|
||||
}
|
||||
, {
|
||||
"box" : {
|
||||
"comment" : "Toggle to begin",
|
||||
"id" : "obj-5",
|
||||
@@ -141,8 +156,8 @@
|
||||
"numinlets" : 2,
|
||||
"numoutlets" : 1,
|
||||
"outlettype" : [ "bang" ],
|
||||
"patching_rect" : [ 15.0, 97.079361, 65.0, 20.0 ],
|
||||
"text" : "metro 100"
|
||||
"patching_rect" : [ 15.0, 97.079361, 58.0, 20.0 ],
|
||||
"text" : "metro 50"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+2156
-1335
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user