[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sc-users] wii



Hi how can I do for use the wiimote with that(macbook-leopard)?it's the first time I use supercollider;

//example


s = Server.local.boot;

// start the wii device - hold down 1 and 2 first!
s.sendMsg(\cmd, \wiimoteStart);

// start a simple test of accelerometer and A button
{ SinOsc.ar(WiimoteX.kr(100, 1000), 0, 0.9) * WiimoteA.kr() }.play;


// shut down the wii device
s.sendMsg(\cmd, \wiimoteStop);
s.quit