320 lines
6.4 KiB
Plaintext
320 lines
6.4 KiB
Plaintext
{
|
|
"patcher" : {
|
|
"fileversion" : 1,
|
|
"appversion" : {
|
|
"major" : 7,
|
|
"minor" : 0,
|
|
"revision" : 4,
|
|
"architecture" : "x86",
|
|
"modernui" : 1
|
|
}
|
|
,
|
|
"rect" : [ 334.0, 78.0, 1072.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" : "",
|
|
"boxes" : [ {
|
|
"box" : {
|
|
"fontface" : 0,
|
|
"fontsize" : 12.0,
|
|
"id" : "obj-5",
|
|
"maxclass" : "o.display",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 183.5, 341.0, 150.0, 34.0 ],
|
|
"textcolor" : [ 1.0, 1.0, 1.0, 1.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontname" : "Arial",
|
|
"fontsize" : 12.0,
|
|
"id" : "obj-18",
|
|
"linecount" : 2,
|
|
"maxclass" : "comment",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 498.0, 91.0, 150.0, 33.0 ],
|
|
"style" : "",
|
|
"text" : "control Arduino square wave tone on pin 3"
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontface" : 0,
|
|
"fontname" : "Andale Mono",
|
|
"fontsize" : 14.0,
|
|
"id" : "obj-15",
|
|
"maxclass" : "o.message",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 406.0, 168.0, 150.0, 22.0 ],
|
|
"text" : "/tone/3",
|
|
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontname" : "Arial",
|
|
"fontsize" : 12.0,
|
|
"id" : "obj-12",
|
|
"maxclass" : "newobj",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 134.0, 127.0, 34.0, 22.0 ],
|
|
"style" : "",
|
|
"text" : "mtof"
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"id" : "obj-11",
|
|
"maxclass" : "kslider",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 2,
|
|
"outlettype" : [ "int", "int" ],
|
|
"parameter_enable" : 0,
|
|
"patching_rect" : [ 132.0, 65.0, 336.0, 53.0 ],
|
|
"presentation_rect" : [ 0.0, 0.0, 336.0, 53.0 ],
|
|
"style" : "",
|
|
"varname" : "kslider"
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontname" : "Arial",
|
|
"fontsize" : 12.0,
|
|
"id" : "obj-9",
|
|
"maxclass" : "message",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 242.0, 140.0, 32.5, 22.0 ],
|
|
"style" : "",
|
|
"text" : "220"
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontname" : "Arial",
|
|
"fontsize" : 12.0,
|
|
"id" : "obj-8",
|
|
"maxclass" : "message",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 184.0, 137.0, 34.0, 22.0 ],
|
|
"style" : "",
|
|
"text" : "440."
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"id" : "obj-4",
|
|
"maxclass" : "button",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "bang" ],
|
|
"patching_rect" : [ 402.0, 137.0, 20.0, 20.0 ],
|
|
"style" : ""
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontname" : "Arial",
|
|
"fontsize" : 12.0,
|
|
"id" : "obj-3",
|
|
"linecount" : 3,
|
|
"maxclass" : "comment",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 0,
|
|
"patching_rect" : [ 489.0, 279.0, 154.0, 47.0 ],
|
|
"style" : "",
|
|
"text" : "8888 is the port sent to on the Arduino node 128.32.122.252"
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontface" : 0,
|
|
"fontname" : "Andale Mono",
|
|
"fontsize" : 14.0,
|
|
"id" : "obj-20",
|
|
"maxclass" : "o.message",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 235.0, 234.0, 150.0, 22.0 ],
|
|
"text" : "/tone/3 130.813 \n",
|
|
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontface" : 0,
|
|
"fontname" : "Andale Mono",
|
|
"fontsize" : 14.0,
|
|
"id" : "obj-6",
|
|
"maxclass" : "o.message",
|
|
"numinlets" : 2,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 185.0, 191.0, 150.0, 22.0 ],
|
|
"text" : "/tone/3 \"$1\" ",
|
|
"textcolor" : [ 0.0, 0.0, 0.0, 1.0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"box" : {
|
|
"fontname" : "Andale Mono",
|
|
"fontsize" : 14.0,
|
|
"id" : "obj-26",
|
|
"maxclass" : "newobj",
|
|
"numinlets" : 1,
|
|
"numoutlets" : 1,
|
|
"outlettype" : [ "" ],
|
|
"patching_rect" : [ 183.5, 290.0, 288.0, 24.0 ],
|
|
"style" : "",
|
|
"text" : "o.io.udp 128.32.122.252 8888 9999"
|
|
}
|
|
|
|
}
|
|
],
|
|
"lines" : [ {
|
|
"patchline" : {
|
|
"destination" : [ "obj-12", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-11", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-6", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-12", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-26", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-15", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-5", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-26", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-15", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-4", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-20", 1 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-6", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-26", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-6", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-6", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-8", 0 ]
|
|
}
|
|
|
|
}
|
|
, {
|
|
"patchline" : {
|
|
"destination" : [ "obj-6", 0 ],
|
|
"disabled" : 0,
|
|
"hidden" : 0,
|
|
"source" : [ "obj-9", 0 ]
|
|
}
|
|
|
|
}
|
|
],
|
|
"dependency_cache" : [ {
|
|
"name" : "o.io.udp.maxpat",
|
|
"bootpath" : "~/Documents/Max/Packages/o.io/experimental/Protocols/udp",
|
|
"type" : "JSON",
|
|
"implicit" : 1
|
|
}
|
|
, {
|
|
"name" : "o.message.mxo",
|
|
"type" : "iLaX"
|
|
}
|
|
, {
|
|
"name" : "o.display.mxo",
|
|
"type" : "iLaX"
|
|
}
|
|
],
|
|
"embedsnapshot" : 0
|
|
}
|
|
|
|
}
|