|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319 |
- {
- "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
- }
-
- }
|