aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-10-13 15:32:44 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-10-13 15:46:06 +0200
commit6cf1034118be9c3fe2c6e1d0045c034a57f3c2b8 (patch)
tree1465c63843ad476e620c25a7e45de7f7f4bb21d5
parent3cd00fc1aaee6124bb19b71ff21ea178a405927f (diff)
downloadchimaera_sc-6cf1034118be9c3fe2c6e1d0045c034a57f3c2b8.tar.xz
update to chimaera API 0.7.0.
-rwxr-xr-xignore/custom.sc59
-rwxr-xr-xignore/custom_to_midi.sc38
-rwxr-xr-xignore/dummy_to_midi.sc16
-rwxr-xr-xignore/dummy_to_scsynth2F.sc16
-rwxr-xr-xignore/oscmidi_to_midi.sc30
-rwxr-xr-xignore/scsynth_to_scsynth2F.sc41
-rwxr-xr-xignore/scsynth_to_scsynth4F.sc41
-rwxr-xr-xignore/tuio2_to_midi.sc16
-rwxr-xr-xignore/tuio2_to_scsynth2F.sc16
-rwxr-xr-xignore/tuio2_to_scsynth4F.sc16
10 files changed, 207 insertions, 82 deletions
diff --git a/ignore/custom.sc b/ignore/custom.sc
index 032ade3..1e50463 100755
--- a/ignore/custom.sc
+++ b/ignore/custom.sc
@@ -24,35 +24,46 @@
addr:"chimaera.local");
chimconf.sendMsg("/engines/custom/reset");
- chimconf.sendMsg("/engines/custom/append", "frame", "/frm", "i($f)");
- chimconf.sendMsg("/engines/custom/append", "idle", "/idl", "i($f)");
- chimconf.sendMsg("/engines/custom/append", "end", "/end", "");
-
- chimconf.sendMsg("/engines/custom/append",
- "on", "/gate", "i($g 8* $b 8%+) i(1)");
- chimconf.sendMsg("/engines/custom/append",
- "off", "/gate", "i($g 8* $b 8%+) i(0)");
- chimconf.sendMsg("/engines/custom/append",
- "set", "/cv1", "i($g 8* $b 8%+) f($x 2* 1-)");
- chimconf.sendMsg("/engines/custom/append",
- "set", "/cv2", "i($g 8* $b 8%+) f($z 0.5* 0.5+)");
+ chimconf.sendMsg("/engines/custom/append/frame",
+ "/frm i($f)");
+ chimconf.sendMsg("/engines/custom/append/idle",
+ "/idl i($f)");
+ chimconf.sendMsg("/engines/custom/append/end",
+ "/end");
+
+ chimconf.sendMsg("/engines/custom/append/on",
+ "/gate i($g 8* $b 8%+) i(1)");
+ chimconf.sendMsg("/engines/custom/append/off",
+ "/gate i($g 8* $b 8%+) i(0)");
+ chimconf.sendMsg("/engines/custom/append/set",
+ "/cv1 i($g 8* $b 8%+) f($x 2* 1-)");
+ chimconf.sendMsg("/engines/custom/append/set",
+ "/cv2 i($g 8* $b 8%+) f($z 0.5* 0.5+)");
/*
- chimconf.sendMsg("/engines/custom/append",
- "on", "/midi", "m($g 8* $b 8%+ 0x90 $b 0x7f& 0x7f)");
- chimconf.sendMsg("/engines/custom/append",
- "off", "/midi", "m($g 8* $b 8%+ 0x80 $b 0x7f& 0x7f)");
- chimconf.sendMsg("/engines/custom/append",
- "set", "/midi", "m($g 8* $b 8%+ 0xc0 0x27 $z 0x3fff* 0x7f&)");
- chimconf.sendMsg("/engines/custom/append",
- "set", "/midi", "m($g 8* $b 8%+ 0xc0 0x07 $z 0x3fff* 7<<)");
+ chimconf.sendMsg("/engines/custom/append/on",
+ "/midi m($g 8* $b 8%+ 0x90 $b 0x7f& 0x7f)");
+ chimconf.sendMsg("/engines/custom/append/off",
+ "/midi m($g 8* $b 8%+ 0x80 $b 0x7f& 0x7f)");
+ chimconf.sendMsg("/engines/custom/append/set",
+ "/midi m($g 8* $b 8%+ 0xc0 0x27 $z 0x3fff* 0x7f&)");
+ chimconf.sendMsg("/engines/custom/append/set",
+ "/midi m($g 8* $b 8%+ 0xc0 0x07 $z 0x3fff* 7<<)");
*/
chimconf.sendMsg("/engines/custom/enabled", true);
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
}.value;
diff --git a/ignore/custom_to_midi.sc b/ignore/custom_to_midi.sc
index 727b1eb..b7d7a92 100755
--- a/ignore/custom_to_midi.sc
+++ b/ignore/custom_to_midi.sc
@@ -24,23 +24,33 @@
addr:"chimaera.local", prot:\tcp, target:\lang);
chimconf.sendMsg("/engines/custom/reset");
- chimconf.sendMsg("/engines/custom/append",
- "on", "/noteOn", "i($g) i(35.5 $n 18% 6/- $n 3/ $x @@ $g[*+) i(0x7f)");
- chimconf.sendMsg("/engines/custom/append",
- "off", "/noteOff", "i($g) i(35.5 $n 18% 6/- $n 3/ $g]*+) i(0x7f)");
- chimconf.sendMsg("/engines/custom/append",
- "set", "/bend", "i($g) i($x $g]- 0x2000* 0x1fff+)");
- chimconf.sendMsg("/engines/custom/append",
- "set", "/control", "i($g) i(0x27) i($z 0x3fff* 0x7f&)");
- chimconf.sendMsg("/engines/custom/append",
- "set", "/control", "i($g) i(0x07) i($z 0x3fff* 7>>)");
+
+ chimconf.sendMsg("/engines/custom/append/on",
+ "/noteOn i($g) i(35.5 $n 18% 6/- $n 3/ $x @@ $g[*+) i(0x7f)");
+ chimconf.sendMsg("/engines/custom/append/off",
+ "/noteOff i($g) i(35.5 $n 18% 6/- $n 3/ $g]*+) i(0x7f)");
+ chimconf.sendMsg("/engines/custom/append/set",
+ "/bend i($g) i($x $g]- 0x2000* 0x1fff+)");
+ chimconf.sendMsg("/engines/custom/append/set",
+ "/control i($g) i(0x27) i($z 0x3fff* 0x7f&)");
+ chimconf.sendMsg("/engines/custom/append/set",
+ "/control i($g) i(0x07) i($z 0x3fff* 7>>)");
+
chimconf.sendMsg("/engines/custom/enabled", true);
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
MIDIClient.init;
//midio = MIDIOut(0, MIDIClient.destinations[0].uid); // use this on Windows
diff --git a/ignore/dummy_to_midi.sc b/ignore/dummy_to_midi.sc
index 2e7594f..3f0ee22 100755
--- a/ignore/dummy_to_midi.sc
+++ b/ignore/dummy_to_midi.sc
@@ -24,10 +24,18 @@
addr:"chimaera.local", prot:\tcp);
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/sensors/number", {|msg|
var n = msg[0];
diff --git a/ignore/dummy_to_scsynth2F.sc b/ignore/dummy_to_scsynth2F.sc
index 7e08693..5e0e8af 100755
--- a/ignore/dummy_to_scsynth2F.sc
+++ b/ignore/dummy_to_scsynth2F.sc
@@ -29,10 +29,18 @@ s.doWhenBooted({
addr:"chimaera.local", prot:\tcp);
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/sensors/number", {|msg|
var n = msg[0];
diff --git a/ignore/oscmidi_to_midi.sc b/ignore/oscmidi_to_midi.sc
index 26f689f..971b60e 100755
--- a/ignore/oscmidi_to_midi.sc
+++ b/ignore/oscmidi_to_midi.sc
@@ -24,10 +24,18 @@
addr:"chimaera.local", prot:\tcp);
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/engines/oscmidi/enabled", true);
chimconf.sendMsg("/engines/oscmidi/multi", true);
@@ -40,10 +48,16 @@
var bot = 3*12 - 0.5 - (n % 18 / 6);
var ran = n/3;
chimconf.sendMsg("/engines/oscmidi/reset");
- chimconf.sendMsg("/engines/oscmidi/attributes/0",
- "control_change", bot, ran, 0x07);
- chimconf.sendMsg("/engines/oscmidi/attributes/1",
- "control_change", bot, ran, 0x07);
+
+ chimconf.sendMsg("/engines/oscmidi/attributes/0/mapping", "control_change");
+ chimconf.sendMsg("/engines/oscmidi/attributes/0/offset", bot);
+ chimconf.sendMsg("/engines/oscmidi/attributes/0/range", ran);
+ chimconf.sendMsg("/engines/oscmidi/attributes/0/controller", 0x07);
+
+ chimconf.sendMsg("/engines/oscmidi/attributes/1/mapping", "control_change");
+ chimconf.sendMsg("/engines/oscmidi/attributes/1/offset", bot);
+ chimconf.sendMsg("/engines/oscmidi/attributes/1/range", ran);
+ chimconf.sendMsg("/engines/oscmidi/attributes/1/controller", 0x07);
}, clock:AppClock);
});
diff --git a/ignore/scsynth_to_scsynth2F.sc b/ignore/scsynth_to_scsynth2F.sc
index 83fbfd0..19081c4 100755
--- a/ignore/scsynth_to_scsynth2F.sc
+++ b/ignore/scsynth_to_scsynth2F.sc
@@ -42,17 +42,42 @@ s.doWhenBooted({
addr:"chimaera.local", prot:\tcp, target:\serv);
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/engines/scsynth/enabled", true);
+ chimconf.sendMsg("/engines/scsynth/reset");
chimconf.sendMsg("/engines/scsynth/derivatives", true);
- chimconf.sendMsg("/engines/scsynth/attributes/0",
- \base, sidOffset, 0+gidOffset, 0, 0, true, true, \addToHead.asInt, false);
- chimconf.sendMsg("/engines/scsynth/attributes/1",
- \lead, sidOffset, 1+gidOffset, 1, 0, true, true, \addToHead.asInt, false);
+
+ chimconf.sendMsg("/engines/scsynth/attributes/0/name", \base);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/sid_offset", sidOffset);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/gid_offset", 0+gidOffset);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/out", 0);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/arg_offset", 0);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/allocate", true);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/gate", true);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/tail", \addToHead.asInt);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/group", false);
+
+ chimconf.sendMsg("/engines/scsynth/attributes/1/name", \lead);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/sid_offset", sidOffset);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/gid_offset", 1+gidOffset);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/out", 1);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/arg_offset", 0);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/allocate", true);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/gate", true);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/tail", \addToHead.asInt);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/group", false);
chimconf.sendMsg("/sensors/number", {|msg|
var n=msg[0];
diff --git a/ignore/scsynth_to_scsynth4F.sc b/ignore/scsynth_to_scsynth4F.sc
index b604183..ae2e9e5 100755
--- a/ignore/scsynth_to_scsynth4F.sc
+++ b/ignore/scsynth_to_scsynth4F.sc
@@ -42,17 +42,42 @@ s.doWhenBooted({
addr:"chimaera.local", prot:\tcp, target:\serv);
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/engines/scsynth/enabled", true);
+ chimconf.sendMsg("/engines/scsynth/reset");
chimconf.sendMsg("/engines/scsynth/derivatives", true);
- chimconf.sendMsg("/engines/scsynth/attributes/0",
- \base, sidOffset, grp, 0, 0, true, true, \addToHead.asInt, false);
- chimconf.sendMsg("/engines/scsynth/attributes/1",
- \lead, sidOffset, grp, 0, 5, false, false, \addToHead.asInt, true);
+
+ chimconf.sendMsg("/engines/scsynth/attributes/0/name", \base);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/sid_offset", sidOffset);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/gid_offset", grp);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/out", 0);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/arg_offset", 0);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/allocate", true);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/gate", true);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/tail", \addToHead.asInt);
+ chimconf.sendMsg("/engines/scsynth/attributes/0/group", false);
+
+ chimconf.sendMsg("/engines/scsynth/attributes/1/name", \lead);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/sid_offset", sidOffset);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/gid_offset", grp);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/out", 0);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/arg_offset", 5);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/allocate", false);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/gate", false);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/tail", \addToHead.asInt);
+ chimconf.sendMsg("/engines/scsynth/attributes/1/group", true);
chimconf.sendMsg("/sensors/number", {|msg|
var n=msg[0];
diff --git a/ignore/tuio2_to_midi.sc b/ignore/tuio2_to_midi.sc
index a4b4c5d..b4be042 100755
--- a/ignore/tuio2_to_midi.sc
+++ b/ignore/tuio2_to_midi.sc
@@ -24,10 +24,18 @@
addr:"chimaera.local");
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/sensors/number", {|msg|
var n = msg[0];
diff --git a/ignore/tuio2_to_scsynth2F.sc b/ignore/tuio2_to_scsynth2F.sc
index 92f4585..9fd89c0 100755
--- a/ignore/tuio2_to_scsynth2F.sc
+++ b/ignore/tuio2_to_scsynth2F.sc
@@ -29,10 +29,18 @@ s.doWhenBooted({
addr:"chimaera.local");
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/sensors/number", {|msg|
var n = msg[0];
diff --git a/ignore/tuio2_to_scsynth4F.sc b/ignore/tuio2_to_scsynth4F.sc
index 23ea06e..b186a64 100755
--- a/ignore/tuio2_to_scsynth4F.sc
+++ b/ignore/tuio2_to_scsynth4F.sc
@@ -29,10 +29,18 @@ s.doWhenBooted({
addr:"chimaera.local");
chimconf.sendMsg("/sensors/group/reset");
- chimconf.sendMsg("/sensors/group/attributes/0",
- 0.0, 1.0, false, true, false);
- chimconf.sendMsg("/sensors/group/attributes/1",
- 0.0, 1.0, true, false, false);
+
+ chimconf.sendMsg("/sensors/group/attributes/0/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/0/north", false);
+ chimconf.sendMsg("/sensors/group/attributes/0/south", true);
+ chimconf.sendMsg("/sensors/group/attributes/0/scale", false);
+
+ chimconf.sendMsg("/sensors/group/attributes/1/min", 0.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/max", 1.0);
+ chimconf.sendMsg("/sensors/group/attributes/1/north", true);
+ chimconf.sendMsg("/sensors/group/attributes/1/south", false);
+ chimconf.sendMsg("/sensors/group/attributes/1/scale", false);
chimconf.sendMsg("/sensors/number", {|msg|
var n = msg[0];