[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] ping-pong line
ah, i see. then perhaps build something with the demand env ugens?
like this?
(
SynthDef(\pptest2, {|out= 0|
var pingpong;
pingpong= DemandEnvGen.kr(
Dwhite(400, 800), //random freqs
Dwhite(0.3, 1), //random times
Dseq([1, 1, 0], inf) //cycle interpol/interpol/jump
);
Out.ar(out, SinOsc.ar(pingpong*#[1, 1.01], 0, 0.1));
}).send(s);
)
a= Synth(\pptest2);
a.free;
good luck,
_f
On 16.05.2006, at 13:04, Ricardo Guerreiro wrote:
Thank You Fredrik!
Actually, I was thinking in a Line like this one:
Line.kr(x, y, z)
x = destination value
y = ramp time
z = send trig when ramp ends
with something like this, one could just put a TRand as the x value,
and another for the y value, both triggered by z, and our Line would
be always moving.
I think it's pretty "SuperColliderian" isn´t it?
I really need to use this in my Synths to control values. It's
ridiculous having to receive this from Max/Msp via osc...
#|
fredrikolofsson.com klippav.org musicalfieldsforever.com
|#