[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] proxyspace args to synth
thanx julian,
what does sleep mode actually do?
It means that you take care for the spawning of new synths yourself,
so that the changing of the source does not update the server side
synth.
i tried the example but it didn't work.
the following works for me:
(
SynthDef(\prc3, {|freq=1000, amp=1, gate=1, out=0|
Out.ar(out,
{
Lag.ar(
Pulse.ar(
ExpRand(1, freq)
).bitOr(
Pulse.ar(
ExpRand(1, freq)
)
),
0.005
)
*
SinOsc.ar(
Lag.ar(
Pulse.ar(
ExpRand(1, freq)
).bitAnd(
Pulse.ar(
ExpRand(1, freq)
)
),
0.01
)
*
1000
)}.dup
*
EnvGen.ar(
Env.perc(0.0,0.4,1,6),
gate,
doneAction:2
)
*
amp
)
}).store;
)
p.know = true;
p.out.play;
p.out.put(0, \prc3, 0, [\freq, 900]);
p.out.awake = false;
p.out = \prc3; p.out.spawn([\freq, 900]);
p.out.spawn([\freq, 900]);
p.out.spawn([\freq, 1900]);
p.out.awake = true;
--
.