aboutsummaryrefslogtreecommitdiff
path: root/ignore/tuio2_to_midi.sc
diff options
context:
space:
mode:
Diffstat (limited to 'ignore/tuio2_to_midi.sc')
-rwxr-xr-xignore/tuio2_to_midi.sc16
1 files changed, 12 insertions, 4 deletions
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];