aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2014-12-21 14:14:34 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2014-12-21 14:14:34 +0100
commit1adc33fcbd18bdb74b9cf1a8d8154a3b41c6eadf (patch)
treecc7349c45c629dc70ce76ccd0bc16a5bb2a86d13
parentf06d17ea57935a8c8c036cd02a43bd7316a36956 (diff)
downloadchimaera_sc-1adc33fcbd18bdb74b9cf1a8d8154a3b41c6eadf.tar.xz
remove opening UDP port 4444 for new chimaera config
-rw-r--r--classes/ChimaeraInTuio2.sc2
-rwxr-xr-xignore/cal_gui.sc1
-rwxr-xr-xignore/custom.sc1
-rwxr-xr-xignore/custom_to_midi.sc1
-rwxr-xr-xignore/dummy_to_midi.sc1
-rwxr-xr-xignore/dummy_to_scsynth2F.sc1
-rwxr-xr-xignore/dump_gui.sc1
-rwxr-xr-xignore/group_gui.sc1
-rwxr-xr-xignore/introspect.sc2
-rwxr-xr-xignore/oscmidi_to_midi.sc1
-rwxr-xr-xignore/scsynth_to_scsynth2F.sc2
-rwxr-xr-xignore/scsynth_to_scsynth4F.sc2
-rwxr-xr-xignore/tuio2_to_midi.sc1
-rwxr-xr-xignore/tuio2_to_scsynth2F.sc1
-rwxr-xr-xignore/tuio2_to_scsynth4F.sc1
15 files changed, 2 insertions, 17 deletions
diff --git a/classes/ChimaeraInTuio2.sc b/classes/ChimaeraInTuio2.sc
index a571c9d..e0b3df3 100644
--- a/classes/ChimaeraInTuio2.sc
+++ b/classes/ChimaeraInTuio2.sc
@@ -41,6 +41,8 @@ ChimaeraInTuio2 : ChimaeraIn {
fid = msg[1];
timestamp = time; //msg[2]; // TODO sclang does not support the OSC timestamp as argument
+ // dim = msg[3];
+ // src = msg[4];
if( (fid < lastFid) || (timestamp < lastTime), {
["TUIO2 packet missing or late"].postln;
diff --git a/ignore/cal_gui.sc b/ignore/cal_gui.sc
index 34bcd53..6fea817 100755
--- a/ignore/cal_gui.sc
+++ b/ignore/cal_gui.sc
@@ -28,7 +28,6 @@
hostname = "hostname".unixCmdGetStdOutLines[0]++".local";
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
tx = NetAddr("chimaera.local", 4444);
thisProcess.openUDPPort(3333); // open port 3333 to listen for dump messages
diff --git a/ignore/custom.sc b/ignore/custom.sc
index 9d0b97c..eb0214b 100755
--- a/ignore/custom.sc
+++ b/ignore/custom.sc
@@ -28,7 +28,6 @@
hostname = "hostname".unixCmdGetStdOutLines[0]++".local";
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
tx = NetAddr ("chimaera.local", 4444);
chimconf = ChimaeraConf(s, tx, tx);
diff --git a/ignore/custom_to_midi.sc b/ignore/custom_to_midi.sc
index f81011e..80eb912 100755
--- a/ignore/custom_to_midi.sc
+++ b/ignore/custom_to_midi.sc
@@ -27,7 +27,6 @@
var rx, tx, rate, chimconf, chimin, chimout, midio, on , off, bend, control;
thisProcess.openUDPPort(3333); // open port 3333 to listen for Tuio messages
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
rx = NetAddr ("chimaera.local", 3333);
tx = NetAddr ("chimaera.local", 4444);
diff --git a/ignore/dummy_to_midi.sc b/ignore/dummy_to_midi.sc
index addcdfa..28a2a9d 100755
--- a/ignore/dummy_to_midi.sc
+++ b/ignore/dummy_to_midi.sc
@@ -27,7 +27,6 @@
var rx, tx, rate, chimconf, chimin, chimout;
thisProcess.openUDPPort(3333); // open port 3333 to listen for Tuio messages
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
rx = NetAddr ("chimaera.local", 3333);
tx = NetAddr ("chimaera.local", 4444);
diff --git a/ignore/dummy_to_scsynth2F.sc b/ignore/dummy_to_scsynth2F.sc
index 9024917..25fcf74 100755
--- a/ignore/dummy_to_scsynth2F.sc
+++ b/ignore/dummy_to_scsynth2F.sc
@@ -32,7 +32,6 @@ s.doWhenBooted({
var rx, tx, rate, chimconf, chimin, chimout;
thisProcess.openUDPPort(3333); // open port 3333 to listen for Tuio messages
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
rx = NetAddr ("chimaera.local", 3333);
tx = NetAddr ("chimaera.local", 4444);
diff --git a/ignore/dump_gui.sc b/ignore/dump_gui.sc
index cff1f50..7c6ec18 100755
--- a/ignore/dump_gui.sc
+++ b/ignore/dump_gui.sc
@@ -28,7 +28,6 @@
hostname = "hostname".unixCmdGetStdOutLines[0]++".local";
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
tx = NetAddr("chimaera.local", 4444);
thisProcess.openUDPPort(3333); // open port 3333 to listen for dump messages
diff --git a/ignore/group_gui.sc b/ignore/group_gui.sc
index c06df1a..826a2b0 100755
--- a/ignore/group_gui.sc
+++ b/ignore/group_gui.sc
@@ -26,7 +26,6 @@
{
var tx, chimconf, chimgroup;
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
tx = NetAddr("chimaera.local", 4444);
chimconf = ChimaeraConf(s, tx, tx);
diff --git a/ignore/introspect.sc b/ignore/introspect.sc
index 1462c6d..b77e1ee 100755
--- a/ignore/introspect.sc
+++ b/ignore/introspect.sc
@@ -33,8 +33,6 @@
hostname = "hostname".unixCmdGetStdOutLines[0]++".local";
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
-
tx = NetAddr ("chimaera.local", 4444);
chimconf = ChimaeraConf(s, tx, tx);
diff --git a/ignore/oscmidi_to_midi.sc b/ignore/oscmidi_to_midi.sc
index b85b0d6..8795ea1 100755
--- a/ignore/oscmidi_to_midi.sc
+++ b/ignore/oscmidi_to_midi.sc
@@ -28,7 +28,6 @@
immediate = 2085978496;
thisProcess.openUDPPort(3333); // open port 3333 to listen for Tuio messages
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
rx = NetAddr ("chimaera.local", 3333);
tx = NetAddr ("chimaera.local", 4444);
diff --git a/ignore/scsynth_to_scsynth2F.sc b/ignore/scsynth_to_scsynth2F.sc
index 635f1d2..2a9fdf5 100755
--- a/ignore/scsynth_to_scsynth2F.sc
+++ b/ignore/scsynth_to_scsynth2F.sc
@@ -42,8 +42,6 @@ s.doWhenBooted({
gidOffset = 100;
sidOffset = 200;
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
-
tx = NetAddr ("chimaera.local", 4444);
chimconf = ChimaeraConf(s, tx, tx);
diff --git a/ignore/scsynth_to_scsynth4F.sc b/ignore/scsynth_to_scsynth4F.sc
index 8c26250..354a840 100755
--- a/ignore/scsynth_to_scsynth4F.sc
+++ b/ignore/scsynth_to_scsynth4F.sc
@@ -43,8 +43,6 @@ s.doWhenBooted({
sidOffset = 200;
grp = 0+gidOffset;
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
-
tx = NetAddr ("chimaera.local", 4444);
chimconf = ChimaeraConf(s, tx, tx);
diff --git a/ignore/tuio2_to_midi.sc b/ignore/tuio2_to_midi.sc
index c2bc236..8be0818 100755
--- a/ignore/tuio2_to_midi.sc
+++ b/ignore/tuio2_to_midi.sc
@@ -29,7 +29,6 @@
hostname = "hostname".unixCmdGetStdOutLines[0]++".local";
thisProcess.openUDPPort(3333); // open port 3333 to listen for Tuio messages
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
rx = NetAddr("chimaera.local", 3333);
tx = NetAddr("chimaera.local", 4444);
diff --git a/ignore/tuio2_to_scsynth2F.sc b/ignore/tuio2_to_scsynth2F.sc
index 301c0dd..5c0beca 100755
--- a/ignore/tuio2_to_scsynth2F.sc
+++ b/ignore/tuio2_to_scsynth2F.sc
@@ -34,7 +34,6 @@ s.doWhenBooted({
hostname = "hostname".unixCmdGetStdOutLines[0]++".local";
thisProcess.openUDPPort(3333); // open port 3333 to listen for Tuio messages
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
rx = NetAddr ("chimaera.local", 3333);
tx = NetAddr ("chimaera.local", 4444);
diff --git a/ignore/tuio2_to_scsynth4F.sc b/ignore/tuio2_to_scsynth4F.sc
index a34ac84..636dbd4 100755
--- a/ignore/tuio2_to_scsynth4F.sc
+++ b/ignore/tuio2_to_scsynth4F.sc
@@ -34,7 +34,6 @@ s.doWhenBooted({
hostname = "hostname".unixCmdGetStdOutLines[0]++".local";
thisProcess.openUDPPort(3333); // open port 3333 to listen for Tuio messages
- thisProcess.openUDPPort(4444); // open port 4444 for listening to chimaera configuration replies
rx = NetAddr ("chimaera.local", 3333);
tx = NetAddr ("chimaera.local", 4444);