Hi,
a brief introduction as I guess I will be posting regularly. I'm a viola player based in Mexico City. I have had the kbow for a while but only recently I updated to an intel computer, so now I'm actually able to use it. I will be using the bow for both improvised music and collaborations with composers.
The first project I'm working on is a piece by composer Iván Naranjo, for viola and Supercollider. What we are trying to do is quite simple (or so it seemed in the beginning) - use the grip triggers to activate processes in SC, and the hair sensor and accelerometers to modulate parameters of delays and pitch-shifts (in SC, too). The second part seems to be working fine, but the thing with the grip-triggers (double and long grip) we don't really know how to go about. Does anyone know how to get the triggers to send 0's and 1's through OSC, instead of the raw grip data from 0 to 4096 (and what commands these arguments are sent to)? Any help will be greatly appreciated!
Apparently (i know this belongs to the feature wishlist) there should be OSC outputs for the triggers in the midi/osc routing window. Or is there another solution?
Greets!
Alexander Bruck
Appendix: in case anyone is familiar with SC, here are two samples of code, stripped down to the relevant information - the first one (example A), that doesn't work, is the code using the Long_Grip command route as indicated in the OSC-monitor. The second one (example B) is the code we were using for test purposes ,to print out the x_accel values to SC, and this works just fine, provided OSC dump is on.
//example A
~respGrip = OSCresponder(nil,
"/KBow/Long_Grip",
{| time, responder, message |
var oscCommand, trg;
message.postln;
oscCommand = message[0];
trg = message[1];
}).add;
//example B
~respX = OSCresponder(nil,
"/KBow/X_Accel",
{| time, responder, message |
var oscCommand, trate;
message.postln;
oscCommand = message[0];
trate = message[1];
}).add;