Hiho,
I have this in a ProxySpace:
~bufplay2 = { |rate=0.1, freq= 100, trig=1, dur = 1, amp=5 | amp*EnvGen.kr(
Env.asr, trig, timeScale: dur ) * RLPF.ar( PlayBuf.ar( 2, b.bufnum, rate,
loop: 1 ), freq, 0.3 )};
~bufplay2.play;
// triggers the envelope as expected:
~bufplay2.set( \trig, 1 )
~bufplay2.set( \trig, 0 )
// but attempting to set trig from a pattern does not seem to work:
Pbindef( \p4, \type, \set );
Pbindef( \p4 ).play;
Pbindef( \p4, \id, ~bufplay2.group.nodeID );
Pbindef( \p4, \rate, 0.8 );
Pbindef( \p4, \dur, Pseq( [ 1, 3, 2 ]*0.4, inf ) );
Pbindef( \p4, \freq, Pseq( [ 200, 100, 150 ]*4, inf ) );
Pbindef( \p4, \trig, Pseq( [1,0], inf) );
What am I missing here?
sincerely,
Marije
_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/