May, 2007 Archives

If you’re building a house that you plan to live in for a few decades, you’d better make sure it has a good framework. Live coding is more like making a fort out of cardboard boxes — it goes up REALLY FAST and you have a hell of a lot of fun playing in it, and when the game’s over, nobody cares if it falls down 2 seconds later.

[ James Harkins, in a mail to the sc users mailinglist on mai, 31 2007 17:27:04 MESZ ]


The Framework for TUIO-based tangible computing with SuperCollider now is called SETO – SuperCollider Environment for Tangible Objects.

You may install it in SuperCollider by evaluating

Quarks.checkoutAll;
Quarks.install("TUIO") // still the old name...

and then restarting the interpreter.
If you have a GUI app (Cocoa or SwingOSC atm.) you may want to use TUIOServer:gui to see the recognized objects and their states.
More information can be found at the SETO home and the TUIO home.
Have fun and feel free to contact me if something isn’t working right.

[SETO home | TUIO home]

New here: Geshi sc Markup:


p = ProxySpace.push(s.boot);

(
SynthDef(\autoTweety,{
|freq= 400, dFreq = 200, out = 0 , amp = 0.1, pan = 0|

var sum, trig, dur;

trig = Lag.kr(Dust.kr(MouseX.kr(0, 30)) > 0, 0.1);
dur = MouseY.kr(1.0, 2);

sum = SinOsc.ar(
((dFreq) * EnvGen.kr(
Env.perc(0.99,0.01),
trig, 1, 0, dur, doneAction: 0
)) + freq,
0,
EnvGen.kr(
Env.perc(0.01, 0.99),
trig,
1,
0,
dur,
doneAction: 0
)
);
Out.ar(out, Pan2.ar(sum, pan, amp));
}).send(s)
)

~autoTweety = \autoTweety;
~autoTweety.play;

~trig.play
~trig = {Saw.ar(400)*(-1)}
~trig.clear
~autoTweety.stop;
~autoTweety.free;
-------------

thanks Dan!

[ sourcecode and example on how to use it ]