New directory tree, with preprocessor/ inside interpretor/.
[Faustine.git] / interpretor / preprocessor / faust-0.9.47mr3 / examples / osc.maxpat
diff --git a/interpretor/preprocessor/faust-0.9.47mr3/examples/osc.maxpat b/interpretor/preprocessor/faust-0.9.47mr3/examples/osc.maxpat
new file mode 100644 (file)
index 0000000..714327b
--- /dev/null
@@ -0,0 +1,263 @@
+{
+       "patcher" :     {
+               "fileversion" : 1,
+               "rect" : [ 88.0, 64.0, 371.0, 253.0 ],
+               "bglocked" : 0,
+               "defrect" : [ 88.0, 64.0, 371.0, 253.0 ],
+               "openrect" : [ 88.0, 64.0, 371.0, 253.0 ],
+               "openinpresentation" : 0,
+               "default_fontsize" : 12.0,
+               "default_fontface" : 0,
+               "default_fontname" : "Arial",
+               "gridonopen" : 0,
+               "gridsize" : [ 15.0, 15.0 ],
+               "gridsnaponopen" : 0,
+               "toolbarvisible" : 1,
+               "boxanimatetime" : 200,
+               "imprint" : 0,
+               "enablehscroll" : 1,
+               "enablevscroll" : 1,
+               "devicewidth" : 0.0,
+               "boxes" : [                     {
+                               "box" :                                 {
+                                       "maxclass" : "message",
+                                       "text" : "/* get",
+                                       "outlettype" : [ "" ],
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 2,
+                                       "patching_rect" : [ 33.0, 16.0, 39.0, 18.0 ],
+                                       "numoutlets" : 1,
+                                       "id" : "obj-20"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "newobj",
+                                       "text" : "s osc",
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 33.0, 42.0, 39.0, 20.0 ],
+                                       "numoutlets" : 0,
+                                       "id" : "obj-24"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "message",
+                                       "text" : "/* hello",
+                                       "outlettype" : [ "" ],
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 2,
+                                       "patching_rect" : [ 78.0, 16.0, 47.0, 18.0 ],
+                                       "numoutlets" : 1,
+                                       "id" : "obj-11"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "message",
+                                       "text" : "host 194.5.49.255",
+                                       "outlettype" : [ "" ],
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 2,
+                                       "patching_rect" : [ 34.0, 136.0, 107.0, 18.0 ],
+                                       "numoutlets" : 1,
+                                       "id" : "obj-18"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "message",
+                                       "text" : "host 127.0.0.1",
+                                       "outlettype" : [ "" ],
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 2,
+                                       "patching_rect" : [ 55.0, 159.0, 87.0, 18.0 ],
+                                       "numoutlets" : 1,
+                                       "id" : "obj-17"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "comment",
+                                       "text" : "OSC communication",
+                                       "fontname" : "Arial",
+                                       "fontface" : 1,
+                                       "fontsize" : 14.0,
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 33.0, 93.0, 189.0, 23.0 ],
+                                       "numoutlets" : 0,
+                                       "id" : "obj-9"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "newobj",
+                                       "text" : "print Error",
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 240.0, 201.0, 64.0, 20.0 ],
+                                       "numoutlets" : 0,
+                                       "id" : "obj-14"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "newobj",
+                                       "text" : "print FAUST",
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 240.0, 143.0, 76.0, 20.0 ],
+                                       "numoutlets" : 0,
+                                       "id" : "obj-15"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "newobj",
+                                       "text" : "udpreceive 5512",
+                                       "outlettype" : [ "" ],
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 240.0, 173.0, 99.0, 20.0 ],
+                                       "numoutlets" : 1,
+                                       "id" : "obj-28"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "newobj",
+                                       "text" : "udpreceive 5511",
+                                       "outlettype" : [ "" ],
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 239.0, 116.0, 98.0, 20.0 ],
+                                       "numoutlets" : 1,
+                                       "id" : "obj-34"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "newobj",
+                                       "text" : "r osc",
+                                       "outlettype" : [ "" ],
+                                       "fontname" : "Arial",
+                                       "fontsize" : 12.0,
+                                       "numinlets" : 0,
+                                       "patching_rect" : [ 162.0, 135.0, 37.0, 20.0 ],
+                                       "numoutlets" : 1,
+                                       "id" : "obj-37"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "newobj",
+                                       "text" : "udpsend 127.0.0.1 5510",
+                                       "fontname" : "Arial",
+                                       "fontsize" : 11.595187,
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 92.0, 201.0, 136.0, 20.0 ],
+                                       "numoutlets" : 0,
+                                       "id" : "obj-38"
+                               }
+
+                       }
+,                      {
+                               "box" :                                 {
+                                       "maxclass" : "panel",
+                                       "bgcolor" : [ 0.878431, 0.94902, 0.839216, 1.0 ],
+                                       "numinlets" : 1,
+                                       "patching_rect" : [ 18.0, 83.0, 334.0, 155.0 ],
+                                       "numoutlets" : 0,
+                                       "id" : "obj-47"
+                               }
+
+                       }
+ ],
+               "lines" : [                     {
+                               "patchline" :                           {
+                                       "source" : [ "obj-11", 0 ],
+                                       "destination" : [ "obj-24", 0 ],
+                                       "hidden" : 0,
+                                       "midpoints" : [ 87.5, 37.5, 42.5, 37.5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "source" : [ "obj-17", 0 ],
+                                       "destination" : [ "obj-38", 0 ],
+                                       "hidden" : 0,
+                                       "midpoints" : [ 64.5, 190.5, 101.5, 190.5 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "source" : [ "obj-18", 0 ],
+                                       "destination" : [ "obj-38", 0 ],
+                                       "hidden" : 0,
+                                       "midpoints" : [ 43.5, 185.0, 101.5, 185.0 ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "source" : [ "obj-20", 0 ],
+                                       "destination" : [ "obj-24", 0 ],
+                                       "hidden" : 0,
+                                       "midpoints" : [  ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "source" : [ "obj-28", 0 ],
+                                       "destination" : [ "obj-14", 0 ],
+                                       "hidden" : 0,
+                                       "midpoints" : [  ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "source" : [ "obj-34", 0 ],
+                                       "destination" : [ "obj-15", 0 ],
+                                       "hidden" : 0,
+                                       "midpoints" : [  ]
+                               }
+
+                       }
+,                      {
+                               "patchline" :                           {
+                                       "source" : [ "obj-37", 0 ],
+                                       "destination" : [ "obj-38", 0 ],
+                                       "hidden" : 0,
+                                       "midpoints" : [ 171.5, 184.0, 101.5, 184.0 ]
+                               }
+
+                       }
+ ]
+       }
+
+}