I’ve been going through the tutorials at:
http://www.dewdrop-world.net/sc3/tutorials/index.php?id=1
I can’t seem to get the channels to work…
Also when I use
~chan = MixerChannel(\blippy, s, 2, 2, postSendReady:true);
…from the tutorial, I get an error: WARNING: keyword arg ‘postSendReady’ not found in call to Meta_MixerChannel:new
// Load these two simple SynthDefs
((
SynthDef(\reverb, {
|in, predelay=1, revtime=10, lpf=4500,mix=0.5,amp=1,out=0|
var dry,wet,temp,sig;
dry = In.ar(in, 2);
temp = In.ar(in, 2);
wet=0;
temp=DelayN.ar(temp, 0.2, predelay);
32.do {temp=AllpassN.ar(temp, 0.05, {Rand(0.001,0.05)}!2,revtime);
temp=LPF.ar(temp,lpf);
wet=wet+temp;
};
sig=XFade2.ar(dry,wet,mix*2-1,amp);
Out.ar(out,sig);
}).add;
);
)
(
SynthDef("snare", {
arg outBus=0, amp=0.8;
var env0, env1, env2, env1m, oscs, noise, out;
env0 = EnvGen.ar(Env.new([0.5, 1, 0.5, 0], [0.005, 0.03, 0.10], [-4, -2, -4]));
env1 = EnvGen.ar(Env.new([110, 60, 49], [0.005, 0.1], [-4, -5]));
env1m = env1.midicps;
env2 = EnvGen.ar(Env.new([1, 0.4, 0], [0.05, 0.13], [-2, -2]), doneAction:2);
oscs = LFPulse.ar(env1m, 0, 0.5, 1, -0.5) + LFPulse.ar(env1m * 1.6, 0, 0.5, 0.5, -0.25);
oscs = LPF.ar(oscs, env1m*1.2, env0);
oscs = oscs + SinOsc.ar(env1m, 0.8, env0);
noise = WhiteNoise.ar(0.2);
noise = HPF.ar(noise, 200, 2);
noise = BPF.ar(noise, 6900, 0.6, 3) + noise;
noise = noise * env2;
out = oscs + noise;
out = out.clip2(1) * amp;
Out.ar(outBus, out.dup);
}).send;
)
// Create a MixerChannel
~keltest = MixerChannel(\test, s, 2, 2); //Make a MixerChannel
// Create a reverb on it
~refchan = ~keltest.playfx(\reverb);
(
~keltest.play(
Pbind(
\instrument, \snare,
\degree, Pseq([0,3,7,9], inf),
\dur, 1
)
)
)
It’s probably something simple I’m doing wrong, but I’ve been trying for a few hours to get it to work to no avail.
What’s frustrating, is I can get the tutorial example to work, but not my own.
I think maybe I’m doing the MixerChannel.play with the PBind wrong, but I’ve been trying various ways, including using an outBus key in the pbind, but it wont work…
Also getting “FAILURE IN SERVER /n_set Node 1090 not found” alot when trying