Bläddra i källkod

update to the latest msg spec

Nikolay Suslov 6 år sedan
förälder
incheckning
f68ea535dc
1 ändrade filer med 151 tillägg och 17 borttagningar
  1. 151 17
      support/mira-osc-controller.maxpat

+ 151 - 17
support/mira-osc-controller.maxpat

@@ -9,7 +9,7 @@
 			"modernui" : 1
 		}
 ,
-		"rect" : [ 1390.0, 671.0, 650.0, 541.0 ],
+		"rect" : [ 256.0, 173.0, 1693.0, 1091.0 ],
 		"bglocked" : 0,
 		"openinpresentation" : 0,
 		"default_fontsize" : 12.0,
@@ -37,15 +37,107 @@
 		"style" : "",
 		"subpatcher_template" : "",
 		"boxes" : [ 			{
+				"box" : 				{
+					"id" : "obj-6",
+					"maxclass" : "newobj",
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "" ],
+					"patching_rect" : [ 691.363464, 355.329987, 163.0, 22.0 ],
+					"presentation_rect" : [ 685.030151, 311.329987, 0.0, 0.0 ],
+					"style" : "",
+					"text" : "prepend /cube/sphere:radius"
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"id" : "obj-5",
+					"maxclass" : "comment",
+					"numinlets" : 1,
+					"numoutlets" : 0,
+					"patching_rect" : [ 678.363464, 84.666672, 50.666668, 20.0 ],
+					"presentation_rect" : [ 692.363464, 77.666672, 0.0, 0.0 ],
+					"style" : "",
+					"text" : "Radius"
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"floatoutput" : 1,
+					"id" : "obj-3",
+					"maxclass" : "slider",
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "" ],
+					"parameter_enable" : 1,
+					"patching_rect" : [ 678.363464, 121.333336, 33.0, 155.0 ],
+					"presentation_rect" : [ 691.363464, 109.0, 0.0, 0.0 ],
+					"saved_attribute_attributes" : 					{
+						"valueof" : 						{
+							"parameter_longname" : "slider[6]",
+							"parameter_shortname" : "slider",
+							"parameter_type" : 3,
+							"parameter_invisible" : 1
+						}
+
+					}
+,
+					"size" : 10.0,
+					"style" : "",
+					"varname" : "slider[1]"
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"id" : "obj-2",
+					"maxclass" : "newobj",
+					"numinlets" : 1,
+					"numoutlets" : 1,
+					"outlettype" : [ "" ],
+					"patching_rect" : [ 502.030151, 355.329987, 148.0, 22.0 ],
+					"style" : "",
+					"text" : "prepend /cube/sphere:rgb"
+				}
+
+			}
+, 			{
+				"box" : 				{
+					"compatibility" : 1,
+					"id" : "obj-1",
+					"maxclass" : "swatch",
+					"numinlets" : 3,
+					"numoutlets" : 2,
+					"outlettype" : [ "", "float" ],
+					"parameter_enable" : 1,
+					"patching_rect" : [ 488.030151, 113.0, 155.0, 165.0 ],
+					"saturation" : 248,
+					"saved_attribute_attributes" : 					{
+						"valueof" : 						{
+							"parameter_longname" : "swatch[1]",
+							"parameter_shortname" : "swatch",
+							"parameter_type" : 3,
+							"parameter_invisible" : 1
+						}
+
+					}
+,
+					"varname" : "swatch[1]"
+				}
+
+			}
+, 			{
 				"box" : 				{
 					"id" : "obj-30",
 					"maxclass" : "newobj",
 					"numinlets" : 1,
 					"numoutlets" : 1,
 					"outlettype" : [ "" ],
-					"patching_rect" : [ 358.363464, 424.66333, 95.0, 22.0 ],
+					"patching_rect" : [ 272.030151, 466.329987, 124.0, 22.0 ],
 					"style" : "",
-					"text" : "prepend /depth/"
+					"text" : "prepend /cube/:depth"
 				}
 
 			}
@@ -70,7 +162,7 @@
 					"numoutlets" : 1,
 					"outlettype" : [ "" ],
 					"parameter_enable" : 1,
-					"patching_rect" : [ 358.363464, 113.0, 33.0, 155.0 ],
+					"patching_rect" : [ 353.363464, 113.0, 33.0, 155.0 ],
 					"saved_attribute_attributes" : 					{
 						"valueof" : 						{
 							"parameter_longname" : "slider[5]",
@@ -94,9 +186,9 @@
 					"numinlets" : 1,
 					"numoutlets" : 1,
 					"outlettype" : [ "" ],
-					"patching_rect" : [ 270.363403, 383.0, 97.0, 22.0 ],
+					"patching_rect" : [ 213.86673, 426.333344, 123.0, 22.0 ],
 					"style" : "",
-					"text" : "prepend /height/"
+					"text" : "prepend /cube:height"
 				}
 
 			}
@@ -144,9 +236,9 @@
 					"maxclass" : "newobj",
 					"numinlets" : 1,
 					"numoutlets" : 0,
-					"patching_rect" : [ 75.0, 495.0, 133.0, 22.0 ],
+					"patching_rect" : [ 338.863464, 587.0, 160.0, 22.0 ],
 					"style" : "",
-					"text" : "udpsend 10.0.1.4 7400"
+					"text" : "udpsend 192.168.1.35 7400"
 				}
 
 			}
@@ -157,9 +249,9 @@
 					"numinlets" : 1,
 					"numoutlets" : 1,
 					"outlettype" : [ "" ],
-					"patching_rect" : [ 80.0, 339.66333, 82.0, 22.0 ],
+					"patching_rect" : [ 28.0, 335.66333, 108.0, 22.0 ],
 					"style" : "",
-					"text" : "prepend /rgb/"
+					"text" : "prepend /cube:rgb"
 				}
 
 			}
@@ -172,8 +264,8 @@
 					"numoutlets" : 2,
 					"outlettype" : [ "", "float" ],
 					"parameter_enable" : 1,
-					"patching_rect" : [ 84.0, 113.0, 155.0, 165.0 ],
-					"saturation" : 250,
+					"patching_rect" : [ 80.0, 116.333336, 155.0, 165.0 ],
+					"saturation" : 251,
 					"saved_attribute_attributes" : 					{
 						"valueof" : 						{
 							"parameter_longname" : "swatch",
@@ -195,9 +287,9 @@
 					"numinlets" : 1,
 					"numoutlets" : 1,
 					"outlettype" : [ "" ],
-					"patching_rect" : [ 223.033386, 339.66333, 93.0, 22.0 ],
+					"patching_rect" : [ 140.033386, 388.66333, 119.0, 22.0 ],
 					"style" : "",
-					"text" : "prepend /width/"
+					"text" : "prepend /cube:width"
 				}
 
 			}
@@ -222,7 +314,7 @@
 					"numoutlets" : 1,
 					"outlettype" : [ "" ],
 					"parameter_enable" : 1,
-					"patching_rect" : [ 253.033386, 113.0, 33.0, 155.0 ],
+					"patching_rect" : [ 258.86673, 113.0, 33.0, 155.0 ],
 					"saved_attribute_attributes" : 					{
 						"valueof" : 						{
 							"parameter_longname" : "slider[3]",
@@ -238,6 +330,18 @@
 					"varname" : "slider[3]"
 				}
 
+			}
+, 			{
+				"box" : 				{
+					"background" : 1,
+					"id" : "obj-7",
+					"ignoreclick" : 1,
+					"maxclass" : "mira.frame",
+					"numinlets" : 0,
+					"numoutlets" : 0,
+					"patching_rect" : [ 463.0, 55.600006, 364.771851, 259.329987 ]
+				}
+
 			}
 , 			{
 				"box" : 				{
@@ -253,6 +357,13 @@
 			}
  ],
 		"lines" : [ 			{
+				"patchline" : 				{
+					"destination" : [ "obj-2", 0 ],
+					"source" : [ "obj-1", 0 ]
+				}
+
+			}
+, 			{
 				"patchline" : 				{
 					"destination" : [ "obj-18", 0 ],
 					"source" : [ "obj-17", 0 ]
@@ -265,6 +376,13 @@
 					"source" : [ "obj-18", 0 ]
 				}
 
+			}
+, 			{
+				"patchline" : 				{
+					"destination" : [ "obj-25", 0 ],
+					"source" : [ "obj-2", 0 ]
+				}
+
 			}
 , 			{
 				"patchline" : 				{
@@ -293,6 +411,13 @@
 					"source" : [ "obj-29", 0 ]
 				}
 
+			}
+, 			{
+				"patchline" : 				{
+					"destination" : [ "obj-6", 0 ],
+					"source" : [ "obj-3", 0 ]
+				}
+
 			}
 , 			{
 				"patchline" : 				{
@@ -307,13 +432,22 @@
 					"source" : [ "obj-32", 0 ]
 				}
 
+			}
+, 			{
+				"patchline" : 				{
+					"destination" : [ "obj-25", 0 ],
+					"source" : [ "obj-6", 0 ]
+				}
+
 			}
  ],
 		"parameters" : 		{
+			"obj-3" : [ "slider[6]", "slider", 0 ],
 			"obj-32" : [ "slider[5]", "slider", 0 ],
+			"obj-1" : [ "swatch[1]", "swatch", 0 ],
+			"obj-17" : [ "slider[3]", "slider", 0 ],
 			"obj-27" : [ "slider[4]", "slider", 0 ],
-			"obj-22" : [ "swatch", "swatch", 0 ],
-			"obj-17" : [ "slider[3]", "slider", 0 ]
+			"obj-22" : [ "swatch", "swatch", 0 ]
 		}
 ,
 		"dependency_cache" : [  ],