-
... ens Control DetectSilence EnvGen Line XLine Linen Free FreeSelf Pause PauseSelf Random Values Rand ExpRand LinRand NRand IRand TIRand TRand TExpRand RandSeed RandID Array Usage Select TWindex to be continued ....
-
... -Structures if ( [ false , true ].choose, // Boolean expression (chooses one at random) { "expression was true".postln }, // true function { "expression was false".postln } // false function ) ( var a = 1, z; z = if (a < 5, { 100 },{ 200 }) ...
-
... rray of integer indices of possible next states. The initial state is chosen at random from the array of entry states. That chosen state's item is returned, and the next state is chosen from its array of possible next states . When the end ...
-
... rse far less efficient than send , but it can make sense; e.g. the synthdef has random elements. UGens like Rand(300, 400) create new random values on every send, while client-side random functions like exprand(1, 1.3) only get built once; ...
-
... the example given in part 1 that uses a Pattern to create two instances of the random melody stream. ( s = Server .local; SynthDef ( \help_SPE2 , { arg i_out=0, sustain=1, freq; var out; out = RLPF .ar( LFSaw .ar( freq ), LFNoise1 .kr(1, 3 ...
-
... te list of available tunings, execute Tuning .directory *choose(size) Creates a random tuning from the library, constrained by size (which defaults to 12). Scale .major( Tuning .choose).tuning.name; *new(tuning, octaveRatio, name) Creates a ...
-
Pbeta random values that follow a Eulerian Beta Distribution superclass: Pattern Pbeta(lo, hi, prob1, prob2, length) lo, hi lower and upper boundary of values (default: 0.0 and 1.0) prob1 The probability that a value will occur near lo. <1, ...
-
... " , { |path| m.path_(path) }) }); m = MovieView (w, Rect (0,20,360, 260)); ) // random-pick a tiff from the Help folder m.path_( "Help/*/*/*.tiff" .pathMatch.choose); // or point it to a movie (you may have that one too): m.path_( "/Library ...
-
... rators Collections FFT Overview GUI Overview GUI Classes Non-Realtime Synthesis Randomness Language Reference Intro To Objects Method Calls Assignment Comments Expression Sequence Functions Scope Control Structures Classes Polymorphism Synt ...
-
... us = 0, effectBus, direct = 0.5, freq = 440; var source; // 1.0.rand2 returns a random number from -1 to 1, used here for a random pan source = Pan2 .ar( Decay2 .ar( Impulse .ar( Rand (0.3, 1), 0, 0.125), 0.3, 1, SinOsc .ar( SinOsc .kr(0.2, ...