Browse Source

max and pd patches update

master
TeZ 2 years ago
parent
commit
ff7d42c533
  1. 201
      max-patch/MicroOSC.maxpat
  2. 30
      pd-patch/MicroOSC.pd

201
max-patch/MicroOSC.maxpat

@ -9,7 +9,7 @@
"modernui" : 1 "modernui" : 1
} }
, ,
"rect" : [ 99.0, 198.0, 696.0, 416.0 ],
"rect" : [ 99.0, 198.0, 651.0, 425.0 ],
"bglocked" : 0, "bglocked" : 0,
"openinpresentation" : 0, "openinpresentation" : 0,
"default_fontsize" : 12.0, "default_fontsize" : 12.0,
@ -37,6 +37,108 @@
"style" : "", "style" : "",
"subpatcher_template" : "Default Max 7", "subpatcher_template" : "Default Max 7",
"boxes" : [ { "boxes" : [ {
"box" : {
"id" : "obj-2",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 530.0, 169.0, 89.0, 22.0 ],
"style" : "",
"text" : "loadmess 100"
}
}
, {
"box" : {
"id" : "obj-28",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 114.0, 316.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-26",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 114.0, 280.0, 124.0, 22.0 ],
"style" : "",
"text" : "expr abs($i2 - $i1) / 5"
}
}
, {
"box" : {
"id" : "obj-25",
"maxclass" : "gain~",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "signal", "int" ],
"parameter_enable" : 0,
"patching_rect" : [ 453.0, 205.0, 46.0, 114.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-23",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 287.0, 312.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 287.0, 280.0, 92.0, 22.0 ],
"style" : "",
"text" : "expr ($i1 * $i2 )"
}
}
, {
"box" : {
"id" : "obj-20",
"maxclass" : "ezdac~",
"numinlets" : 2,
"numoutlets" : 0,
"patching_rect" : [ 453.0, 354.0, 45.0, 45.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-17",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "signal" ],
"patching_rect" : [ 453.0, 169.0, 68.0, 22.0 ],
"style" : "",
"text" : "cycle~ 444"
}
}
, {
"box" : { "box" : {
"id" : "obj-15", "id" : "obj-15",
"maxclass" : "number", "maxclass" : "number",
@ -44,7 +146,7 @@
"numoutlets" : 2, "numoutlets" : 2,
"outlettype" : [ "", "bang" ], "outlettype" : [ "", "bang" ],
"parameter_enable" : 0, "parameter_enable" : 0,
"patching_rect" : [ 311.0, 254.0, 50.0, 22.0 ],
"patching_rect" : [ 360.0, 232.0, 50.0, 22.0 ],
"style" : "" "style" : ""
} }
@ -57,7 +159,7 @@
"numoutlets" : 2, "numoutlets" : 2,
"outlettype" : [ "", "bang" ], "outlettype" : [ "", "bang" ],
"parameter_enable" : 0, "parameter_enable" : 0,
"patching_rect" : [ 255.0, 254.0, 50.0, 22.0 ],
"patching_rect" : [ 287.0, 232.0, 50.0, 22.0 ],
"style" : "" "style" : ""
} }
@ -71,7 +173,7 @@
"numoutlets" : 2, "numoutlets" : 2,
"outlettype" : [ "", "bang" ], "outlettype" : [ "", "bang" ],
"parameter_enable" : 0, "parameter_enable" : 0,
"patching_rect" : [ 166.0, 221.0, 50.0, 22.0 ],
"patching_rect" : [ 219.0, 232.0, 50.0, 22.0 ],
"style" : "" "style" : ""
} }
@ -85,7 +187,7 @@
"numoutlets" : 2, "numoutlets" : 2,
"outlettype" : [ "", "bang" ], "outlettype" : [ "", "bang" ],
"parameter_enable" : 0, "parameter_enable" : 0,
"patching_rect" : [ 114.0, 221.0, 50.0, 22.0 ],
"patching_rect" : [ 114.0, 232.0, 50.0, 22.0 ],
"style" : "" "style" : ""
} }
@ -138,7 +240,7 @@
"outlettype" : [ "" ], "outlettype" : [ "" ],
"patching_rect" : [ 201.0, 89.0, 290.0, 22.0 ], "patching_rect" : [ 201.0, 89.0, 290.0, 22.0 ],
"style" : "", "style" : "",
"text" : "/blobOSC/idxywh 12 33.5 398.5 25 25"
"text" : "/blobOSC/idxywh 4 43. 316. 24 20"
} }
} }
@ -172,6 +274,80 @@
"source" : [ "obj-1", 0 ] "source" : [ "obj-1", 0 ]
} }
}
, {
"patchline" : {
"destination" : [ "obj-26", 1 ],
"source" : [ "obj-10", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-21", 0 ],
"source" : [ "obj-14", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-21", 1 ],
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"source" : [ "obj-17", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-25", 0 ],
"midpoints" : [ 539.5, 197.5, 462.5, 197.5 ],
"source" : [ "obj-2", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-23", 0 ],
"source" : [ "obj-21", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-17", 0 ],
"midpoints" : [ 296.5, 346.0, 425.5, 346.0, 425.5, 137.0, 462.5, 137.0 ],
"source" : [ "obj-23", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 1 ],
"order" : 0,
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-20", 0 ],
"order" : 1,
"source" : [ "obj-25", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-28", 0 ],
"source" : [ "obj-26", 0 ]
}
} }
, { , {
"patchline" : { "patchline" : {
@ -183,7 +359,7 @@
, { , {
"patchline" : { "patchline" : {
"destination" : [ "obj-10", 0 ], "destination" : [ "obj-10", 0 ],
"midpoints" : [ 97.0, 191.5, 175.5, 191.5 ],
"midpoints" : [ 97.0, 191.5, 228.5, 191.5 ],
"source" : [ "obj-5", 2 ] "source" : [ "obj-5", 2 ]
} }
@ -191,7 +367,7 @@
, { , {
"patchline" : { "patchline" : {
"destination" : [ "obj-14", 0 ], "destination" : [ "obj-14", 0 ],
"midpoints" : [ 118.75, 208.0, 264.5, 208.0 ],
"midpoints" : [ 118.75, 208.0, 296.5, 208.0 ],
"source" : [ "obj-5", 3 ] "source" : [ "obj-5", 3 ]
} }
@ -199,7 +375,7 @@
, { , {
"patchline" : { "patchline" : {
"destination" : [ "obj-15", 0 ], "destination" : [ "obj-15", 0 ],
"midpoints" : [ 140.5, 208.0, 320.5, 208.0 ],
"midpoints" : [ 140.5, 208.0, 369.5, 208.0 ],
"source" : [ "obj-5", 4 ] "source" : [ "obj-5", 4 ]
} }
@ -218,6 +394,13 @@
"source" : [ "obj-5", 1 ] "source" : [ "obj-5", 1 ]
} }
}
, {
"patchline" : {
"destination" : [ "obj-26", 0 ],
"source" : [ "obj-9", 0 ]
}
} }
], ],
"dependency_cache" : [ ], "dependency_cache" : [ ],

30
pd-patch/MicroOSC.pd

@ -0,0 +1,30 @@
#N canvas 205 76 256 440 12;
#X obj 44 98 print >>;
#X obj 36 38 udpreceive 8666;
#X obj 36 131 routeOSC /blobOSC/idxywh;
#X obj 35 165 unpack 1 1 1 1;
#X floatatom 34 208 5 0 0 0 - - - 0;
#X floatatom 74 208 5 0 0 0 - - - 0;
#X floatatom 115 208 5 0 0 0 - - - 0;
#X floatatom 155 208 5 0 0 0 - - - 0;
#X obj 36 70 unpackOSC;
#X obj 115 313 osc~ 444;
#X obj 115 337 *~ 0.2;
#X obj 115 386 dac~;
#X floatatom 116 282 5 0 0 0 - - - 0;
#X obj 116 247 expr $i1 + $i2;
#X connect 1 0 8 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
#X connect 3 2 6 0;
#X connect 3 3 7 0;
#X connect 6 0 13 0;
#X connect 7 0 13 1;
#X connect 8 0 2 0;
#X connect 8 0 0 0;
#X connect 9 0 10 0;
#X connect 10 0 11 0;
#X connect 10 0 11 1;
#X connect 12 0 9 0;
#X connect 13 0 12 0;
Loading…
Cancel
Save