-
... or setting default values or loading server objects. Pfset(func, pattern, cleanupFunc) func: Use environment variable syntax (e.g., ~x = 0) to store values in the internal environment. These values are copied into the event prototype before ...
-
... r values, but also Patterns itself. So Patterns including functional code (e.g. Pfunc, Plazy, Pcollect) can, thanks to dynamic scoping, turn into different Streams, depending on the environment where streamifying happens ( Event patterns an ...
-
... = Pbind( \instrument, \live_gran_2a, \inBus, ~audioBus_ex_2a, \envBuf, e, \dur, Pfunc { ~trigRate.reciprocal }, \grainDelta, Pkey(\dur), \overlap, Pfunc { ~overlap }, \amp, Pfunc { ~amp }, \pan, Pfunc { ~panMax } * PLseq([1, -1]), \addActio ...
-
... ], inf ), \dur , Pseq ([1, 1, 1, 1, 0.25, 0.25, 0.5, 1, 1, 1], inf ), \legato , Pfunc ({a.beatDur})).play(a, quant:4) a.shift= -3; //latency compenstation. 3 ticks early //now try changing tempo in AudioMulch b.stop a.clear //--show manual ...
-
Pfuncn: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Undocumented instance methods embedInStream func repeats Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Pat ...
-
... ~atmosphere = Pbind( \instrument, "granny2", \rate, 2, \amp, 0.8 * Pfunc({~atmosphereAmp}), \startPos, 0, \attack, 0.5, \release, 10, \ffreq, 10000, \rq, 0.05, \buffer, a, \dur, 1, ); ~atmosph ...
-
more fun with patternproxies, feat. a hack to access internals of the EventStreamPlayer by alln4tural (alln4tural) Code
... \amp, PatternProxy(Pseq({(1..3).choose}!n,inf)), \instrument,PatternProxy(Pfunc({ |ev| ("bufRdperc" ++ ev[\bufnum].numChannels) })) ); }; ~make1smooth = { |durs, lib| var n = durs.size; Pbind( \bufnum, PatternPr ...
-
... I, the best approach is to save an incoming value into a variable, and then use Pfunc to access the variable for each event. ( ~legato = 1; c = CCResponder ({ |src, chan, num, value| ~legato = value.linlin(0, 127, 0.1, 2.5) }, num: 1); // n ...
-
... r values, but also Patterns itself. So Patterns including functional code (e.g. Pfunc, Plazy, Pcollect) can, thanks to dynamic scoping, turn into different Streams, depending on the environment where streamifying happens ( Event patterns an ...
-
... eam; ) x.next; x.next; x.next; // post time in a playing event stream ( Pbind( \pfunc, Ptime.new.trace, \dur, Pseries(0.5, 0.5, 5) ).play; ) // change degree independant of number of events that have been playing ( var a, b; a = Pbind( \deg ...