-
Pif: Filter: Class methods new Inherited class methods Instance methods Inherited instance methods Undocumented instance methods asStream condition default iffalse iftrue Examples Classes | Streams-Patterns-Events > Patterns'>Patterns > Pat ...
-
Pif Pattern-based conditional expression. superclass: Pattern Pif(condition, iftrue, iffalse, default) condition : A pattern or stream returning a Boolean value. iftrue : This stream is evaluated if the Boolean is true. iffalse : This strea ...
-
... a.boot({ a = AP(( def: { SinOsc.ar(\freq.kr(440).poll(1)) * EnvPerc.ar }, freq: Pif( Pfunc { 0.5.coin }, AT({ LFNoise0.kr(10) }, scale: [440, 880]), Pseq([ AT { DC.kr(220) }, AT { DC.kr(440) }], inf) ) )).play(chans:2) }) ) ( Alga.boot({ a ...
-
Pif : Pattern Pattern-based conditional expression. *new(condition, iftrue, iffalse, default) condition: A pattern or stream returning a Boolean value. iftrue: This stream is evaluated if the Boolean is true. iffalse: This stream is evaluat ...
-
Pif : Pattern Pattern-based conditional expression. *new(condition, iftrue, iffalse, default) condition: A pattern or stream returning a Boolean value. iftrue: This stream is evaluated if the Boolean is true. iffalse: This stream is evaluat ...
-
... pattern is to stop a value stream/pattern after a certain amount of time. This Pif pattern uses Ptime to get values from the true branch for exactly 4 beats after the first value is requested. After that, the condition will be false and Pi ...
-
... pattern is to stop a value stream/pattern after a certain amount of time. This Pif pattern uses Ptime to get values from the true branch for exactly 4 beats after the first value is requested. After that, the condition will be false and Pi ...
-
... trol methods Some patterns mimic language-style control methods: conditionals ( Pif ), loops ( Pwhile ) and error cleanup ( Pprotect ). Pif(condition, iftrue, iffalse, default): Evaluates a pattern 'condition' that returns true or false. Th ...
-
... as a "player" to trigger custom sequences and have //interpolation working with Pif, etc... ( Alga.boot({ ~freqStream = Pseq([440, 880], inf).asStream; ~pattern = AP(( def: { SinOsc.ar(\freq.kr + \freq2.kr) * EnvPerc.ar }, dur: \manual, fre ...
-
... trol methods Some patterns mimic language-style control methods: conditionals ( Pif ), loops ( Pwhile ) and error cleanup ( Pprotect ). Pif(condition, iftrue, iffalse, default) Evaluates a pattern condition that returns true or false. Then, ...