Hi list,
How do I change certain parameter in a running PBind?
This is the synth:
(
SynthDef(\vocal, {|freq = 110, f1 = 1000, f2 = 2300|
var sig, frq, frmt, env;
env = EnvGen.kr(Env.perc, doneAction: 2);
sig = Mix.new(Formant.ar([freq, freq*3], [f1, f2], 800, [0.2, 0.03] * env));
Out.ar(0, sig.dup)
}).add;
)
This is the pattern. I want to change f1 on the fly with a midi controller.
(
~seqArp1 = Pseq(([60, 74, 67, 74, 64, 79, 72, 79]-24).midicps, inf).asStream;
~patArp1 = Pbind(
\instrument, \vocal,
\freq, ~seqArp1,
\f1, HERE I NEED SOMETHING,
\dur, 0.25
).play;
)
Should I use a bus?
Best,
Roberto