-
... ID 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 = MIDIFunc.cc({ |value, num, chan, src| ~legato = value.linlin(0, 127, 0.1, 2.5) }, 1); // 1 means ...
-
... nc, Pseq([ Pn(1, 7), Pn(-1, 7)], inf), \n, 1, // first ask r.value by hand in a Pfunc: \degree, Pfunc({ |ev| (r.value(ev[\inc], ev[\n] ? 1) * 7).round(1) }), \dur, Pseq([0.5, Pn(0.25, 6)], inf) ).play; // try using number of notes: Pbindef( ...
-
... Source: Ppatmod.sc Subclasses: PlazyEnvir See also: PlazyEnvir , PlazyEnvirN , Pfunc Description Plazy evaluates a function that returns a pattern and embeds it in a stream. Class Methods Plazy. new ( func ) Arguments: func A Function that ...
-
... ((1..7))), // use Function ~seti (2d) for SC versions without method seti: \do, Pfunc { |e| s.makeBundle(s.latency, { ~seti.(x, \otAmps, e.i, e.otAmp) }) } // for newer SC versions with method seti you can use this line instead: // \do, Pfu ...
-
... value pattern). Access to the environment depends on function-driven patterns: Pfunc , Pfuncn , Prout , .collect , .select , .reject , and similar. The independent flag specifies whether the environment will be kept separate for each strea ...
-
... 4)).sum * 0.2 }; ( a[0] = \setbus -> Pbind( \dur, Prand([1, 0.5], inf), \value, Pfunc { var z = rrand(300, 4000); [300, 400, z, z + 30.rand2] } ) ); // modify the other source in the meanwhile: b[0] = { Pulse.ar(a.ar(4)).sum * 0.2 }; a.clea ...
-
... Instance methods Inherited instance methods Undocumented instance methods cleanupFunc embedInStream Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Patterns>Data Sharing'>Data Sharing Pfset : FuncFilterPattern : FilterPatt ...
-
... ate newly generated Environment, where variables are being set and Streams from Pfuncs and PLx patterns are reading from. See Event patterns and Functions , PLx suite and VarGui . For certain live replacements though, environmental variable ...
-
... inop , Pbrown , Pcauchy , Pchain , Pdict , Penvir , Pevent , Peventmod , Pfhn , Pfunc , Pfuncn , Pgauss , Pgbman , Pgeom , Pget , Phenon , Pif , Pindex , Pkey , Platoo , Plazy , Plet , PlinCong , Plorenz , Pmono , Pnaryop , Ppatmod , Ppoiss ...
-
... tion Source: Ppatmod.sc Subclasses: PlazyEnvirN See also: Plazy , PlazyEnvirN , Pfunc Description Evaluates a function that returns a pattern and embeds it in a stream. In difference to Plazy , the function is evaluated using the environmen ...