Skip to content
Snippets Groups Projects
Commit d1e5b3f3 authored by ataut's avatar ataut
Browse files

max patch w a0 and a1

parent 9f57960c
Branches atau
No related merge requests found
......@@ -65,7 +65,9 @@ public void TEST_ON()
// serial.write("n 1,0,0" + stopChar);
// AnalogSerialAPI trigger read of analogue port A0
serial.write("a" + 0 + stopChar);
// serial.write("a" + 0 + stopChar);
serial.write("/a,0" + stopChar);
}
println("finished");
}
......
......@@ -9,7 +9,9 @@ import oscP5.*;
import netP5.*;
import controlP5.*;
final int OSC_PORT = 6448; // wekinator port for osc messages
//final int OSC_PORT = 6448; // wekinator port for osc messages
final int OSC_PORT = 6969; // AT port for osc messages from P5serialsendreceive
final String OSC_HOST = "127.0.0.1"; // IP address of remote computer to send to
OscP5 oscP5;
......@@ -97,4 +99,4 @@ oscReceivedTxt.append("\n");
oscReceivedTxt.append("\n");
} // end switch
}
}
\ No newline at end of file
}
......@@ -37,6 +37,71 @@
"style" : "",
"subpatcher_template" : "",
"boxes" : [ {
"box" : {
"id" : "obj-12",
"maxclass" : "newobj",
"numinlets" : 1,
"numoutlets" : 0,
"patching_rect" : [ 22.0, 296.0, 34.0, 22.0 ],
"style" : "",
"text" : "print"
}
}
, {
"box" : {
"id" : "obj-1",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "", "" ],
"patching_rect" : [ 308.0, 366.0, 79.0, 22.0 ],
"style" : "",
"text" : "route symbol"
}
}
, {
"box" : {
"id" : "obj-3",
"maxclass" : "newobj",
"numinlets" : 2,
"numoutlets" : 2,
"outlettype" : [ "bang", "" ],
"patching_rect" : [ 284.0, 332.0, 52.0, 22.0 ],
"style" : "",
"text" : "select 0"
}
}
, {
"box" : {
"id" : "obj-6",
"maxclass" : "slider",
"numinlets" : 1,
"numoutlets" : 1,
"outlettype" : [ "" ],
"parameter_enable" : 0,
"patching_rect" : [ 451.0, 366.0, 20.0, 140.0 ],
"size" : 1024.0,
"style" : ""
}
}
, {
"box" : {
"id" : "obj-9",
"maxclass" : "number",
"numinlets" : 1,
"numoutlets" : 2,
"outlettype" : [ "", "bang" ],
"parameter_enable" : 0,
"patching_rect" : [ 343.5, 413.0, 50.0, 22.0 ],
"style" : ""
}
}
, {
"box" : {
"id" : "obj-21",
"maxclass" : "newobj",
......@@ -161,9 +226,9 @@
"numinlets" : 2,
"numoutlets" : 1,
"outlettype" : [ "" ],
"patching_rect" : [ 343.0, 109.0, 64.0, 22.0 ],
"patching_rect" : [ 343.0, 109.0, 91.0, 22.0 ],
"style" : "",
"text" : "/a 0, bang"
"text" : "/a 0, /a 1, bang"
}
}
......@@ -207,6 +272,24 @@
}
],
"lines" : [ {
"patchline" : {
"destination" : [ "obj-6", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-9", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-1", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-8", 0 ],
"disabled" : 0,
......@@ -232,6 +315,15 @@
"source" : [ "obj-15", 0 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-3", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-15", 1 ]
}
}
, {
"patchline" : {
......@@ -277,6 +369,15 @@
"source" : [ "obj-21", 1 ]
}
}
, {
"patchline" : {
"destination" : [ "obj-1", 0 ],
"disabled" : 0,
"hidden" : 0,
"source" : [ "obj-3", 1 ]
}
}
, {
"patchline" : {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment