Hello everyone.
I was wondering is it possible to somehow pass some pre-defined arguments into a Pbind?
I am certain my question becomes clear from the given exampe:
//this is how it is supposed to sounds
(
Pbind(
\amp, Pseq([0.3,0.1,0.1,0.1],inf),
\degree, Pseq([0,1,2,3],inf),
\dur, 0.25,
).play;
)
//this is the way i want to make it sound like the previous one
(
~args = [\amp, Pseq([0.3,0.1,0.1,0.1],inf),\degree, Pseq([0,1,2,3],inf)];
Pbind(
\args, ~args,
\dur, 0.25,
).play
)
So basically I want the Pbind to adapt somehow the \amp and \degree from the ~args argument.
Is that possible somehow?
Thank you very much!