Hi there,
I’ve been struggling for a while now to get to sequent fx, for some reason I’m bumping into walls.
I read “Pattern Guide 08: Event Types and Parameters” and a couple of threads here in the forum on sending triggers/values to a Synth with Patterns. I tried different options, e.g. with Routines, but there syncing between the source’s and the fx’s pattern seemed very unprecise, so that’s why I thought patterns would be the solution.
I followed the instructions under “node controls” in the aformentioned tutorial in the Help browser, but didn’t get the result I wanted
Here below is my take on it, where I wanted to change all four 6kHz freqs of the DynKlank randomly with a Pseq, so it makes chords. Instead this below results to me in the original four 6kHz freqs + only one frequency sequencing:
(
s.bind{
~bA.free;
s.newBusAllocators;
s.sync;
~bA = Bus.audio(s,1);
~bA.postln
};
SynthDef(\src,{
x = WhiteNoise.ar;
x = x * Env.asr(0.01,1,0.01,-4).kr(2,\gate.kr(1));
Out.ar(~bA,x*(-39).dbamp);
}).add;
SynthDef(\dk,{
x = In.ar(~bA,1);
x = LPF.ar(x,6e3);
x = DynKlank.ar(`[\freq.kr(6e3!4).poll,nil,1!4],x);
x = Pan2.ar(x);
x = LeakDC.ar(x);
Out.ar(0,x*(-39).dbamp);
}).add;
)
(
Pdef(\pd,
Pbind(
\instrument, \src,
\dur, Pdefn(\dur, 0.5),
\legato, Pdefn(\leg, 0.03),
\addAction, \addToHead,
)).play(quant:1);
~dk = Synth.tail(s,\dk);
p = Pbind(
\type, \set,
\id, ~dk,
\args, #[\freq],
\scale, Scale.minor,
\degree, Pseq({{rrand(0,7)}!4}!4,inf).trace,
\dur, 0.5
).play(quant:1);
)
(
{
Pdef(\pd).remove;
1.wait;
p.stop;
~dk.free;
}.fork;
)
I tried the same with Pmono, with better results, because at least I hear all four frequencies sequencing, but the 4 * 6kHz is still stuck in there somehow. What am I missing here?
Thanks,
cd