-
Pwhile while a condition holds, repeatedly embed stream superclass: FuncFilterPattern Pwhile(func, pattern) ( z = true ; a = Pwhile ({ z }, Pseq (#[1, 2, 3])); x = a.asStream; ); 7.do({ x.next.postln; }); // while z == true, the values are ...
-
... Sequencing Scheduling Events Sequencing with Routines and Tasks Sequencing with Patterns
-
... ulate values directly but instead compose structures for calculating. Function, Pattern, Stream and UGen are subclasses of AbstractFunction. For example, if you multiply two UGens together the receiver responds by answering a new instance o ...
-
... ne second ( z.play; SystemClock .sched(1.0, {z.stop;}); ) creating Score from a pattern SynthDescLib .read; // new pattern ( p = Pbind ( \dur , Prand ([0.3, 0.5], inf ), \freq , Prand ([200, 300, 500], inf ) ); ) // make a score from the pa ...
-
... long enough and complicated enough to seem "random" for human beings. (i.e. the patterns are too complex for us to detect.) If you start a random number generator algorithm with the same "seed" number several times, you get the same sequenc ...
-
PdegreeToKey superclass: FilterPattern PdegreeToKey(keypattern, scale, stepsPerOctave) returns a series of notes derived from an index into a scale. if the scale is a pattern, it streams the scales accordingly keypattern integer index into ...
-
... add an effect synth to the synths of a given event stream superclass: Pfx Pfxb(pattern, fxname, name, value, name, value, ...) Puts an effect node on the tail of the current group and releases it when the contained pattern finishes. Name v ...
-
... Refs are most commonly used to prevent multi-channel expansion in SynthDefs and Patterns (see Klank for an example). Refs can also be used to simplify the coding of co-routines used in EventStreams (see Proutine for an example). example: x ...
-
Pexprand random values that follow a Exponential Distribution superclass: Pattern Pexprand(lo, hi, length) lo, hi lower and upper boundary of values (default: 0.0001 and 1.0) lo and hi should both be positive or negative (their range should ...
-
... // variables can be exchanged later ( ~b = { 1000.rand }; ~c.value; ) // making pattern space using LazyEnvir a = LazyEnvir .new; a.proxyClass= \PatternProxy ; a.push; ~x = Pseq ([1, 2, 30], 1); ~y = Pseq ([~x], inf ); z = ~y.asStream; z.ne ...