-
... (s, \audio, 2); a.source = Pbind(\degree, Pwhite(-14, 14, inf), \dur, 1, \test, Pfunc { |ev| ev[\abc].debug("abc in proto"); 0 }).trace; a.nodeMap a.source = Pbind(\degree, Pwhite(-14, 14, inf), \dur, 1, \play, { ~finish.value; currentEnvir ...
-
... , Pexprand(5,10), \c0, Pexprand(1,2), \c1, Pexprand(1,2).neg, \detune, Pfunc({rrand(0.15,0.4)}!3), \buf, Prand(~wt_buf[0..3], inf), \scale, Scale.minorPentatonic, \degree, Pfunc({ (-12,-10..12).scramble[0..rrand(1,3)] ...
-
... x=0;Pbind(*[type:\set,id:{|freq=10|LFTri.ar(freq.lag(0.1))!2}.play.nodeID,freq:Pfunc{x=x+32%355;x%12+1*40},dur:1/6]).play// #supercollider x=0;Pbind(*[type:\set,id:{|freq=10|f=freq;LPF.ar(Saw.ar(f),f.lag(1)*3)!2}.play.nodeID,freq:Pfunc{x= ...
-
... es. On the contrary repeated evaluation of an interpreter variable, e.g. from a Pfunc, is unsafe - variable's value could change while gui has not yet been closed - so in concerned examples values are passed to the event definition, in Ex.2 ...
-
... nf ), \delta , 1, \legato , 0.01, \instrument , \default ); p = Pbind ( \freq , Pfunc ({ rrand(200, 800) }), \delta , 0.25, \legato , 0.6, \instrument , \default ); c.play(quant: 4); // start a metronome e = p.play(quant: nil ); // not sync ...
-
... nf ), \delta , 1, \legato , 0.01, \instrument , \default ); p = Pbind ( \freq , Pfunc ({ rrand(200, 800) }), \delta , 0.25, \legato , 0.6, \instrument , \default ); c.play(quant: 4); // start a metronome e = p.play(quant: nil ); // not sync ...
-
... ), // some important conversions // identify the buffer numbers to read \freq , Pfunc { |ev| ev.use(ev[ \freq ]) }, \bufnum , Pfunc ({ |ev| ~midinotes.indexInBetween(ev[ \freq ].cpsmidi) }) .clip(0, ~midinotes.size - 1.001) ).play; ) p.stop ...
-
... t, 1.0) * EnvGen.kr(envadsr, gate,amp,doneAction: 2 ) },[ sample, // dur uses a Pfunc to ask the delta till the next event Pfunc({ arg igs; (igs.delta * 0.9) }), // get an .ir input into the synth function ~pchRatio = IrNumberEditor(1.0,[-2 ...
-
... do { |x| x.play } while({ a < b }, { a = a * 2 }) while { a < b } { a = a * 2 } Pfunc({ rrand(3, 6) }) Pfunc { rrand(3, 6) } NOTE: Trailing arguments must be literal blocks. No other expression may be used as a trailing argument, even if it ...
-
... e, Pwhite(0.5,1.0), \buffer, Pdefn(\polySelected, Pseq(b.selected, inf)), \dur, Pfunc{|ev| ev[\buffer].duration * ev[\rate].abs.reciprocal } ).play; ) ⧉ ✔ Inherited instance methods Examples b = BufFolders(s, "path/to/808/sample/pack"); b[\ ...