-
... for. This ugen is used where sample accurate output is needed. *ar(bus, channelsArray) - write a signal to an audio bus. *kr(bus, channelsArray) - write a signal to a control bus. bus - the index, or array of indexes, of busses to write to. ...
-
... t of a different class. [1, 2, 3].as( Set ); Pwhite (0.0, 1.0, 10).as( Set ); asArray Returns an Array with the receiver, unless it is an Array already. [1, 2, 3].asArray; 5.asArray; asCompileString Returns a String that can be interpreted ...
-
... form by the compiler. The two syntaxes are equivalent. Series Assignment to an ArrayedCollection or List There is a special syntax for doing assignments to a range of values in an ArrayedCollection or List. a = (0,10..200); a[5..10] = 1; / ...
-
... , add) bufnum - index of the buffer in - the input signal. ( var max = 300; t = Array .series(max, 0, 1).curdle(0.06).scramble.flat; b = Buffer (s, t.size, 1); // alloc and set the values s.listSendMsg( b.allocMsg( b.setnMsg(0, t) ) ); { va ...
-
... set of all parts a.isSubsetOf(b); // false: no set is ever part of itself. b.asArray.reduce( \union ) == a; // true parts may not contain other elements that original b.asArray.reduce( \difference ).isEmpty; // true. // you can use Set to ...
-
... streams the scales accordingly keypattern integer index into the scale scale an array stepsPerOctave the number of steps per octave in the scale. The default is 12. ( Pbind ( \note , PdegreeToKey ( Pseq ([1, 2, 3, 2, 5, 4, 3, 4, 2, 1], 2), ...
-
... vent for an event stream superclass: Pattern *new(makeFunction, patternOrPatternArray, cleanupFunction) Pproto uses the makeFunction to allocate resources (buffers, buses, groups) and create a protoEvent that makes those resources available ...
-
... hiteNoise .ar, 0.0); left.source.postln; ) The source method is also defined in Array, so that the source can be obtained this way as well: ( var out; // Pan2 uses an OutputProxy for each of its two outputs. out = Pan2 .ar( WhiteNoise .ar, ...
-
... you could have a separate set of response functions for each channel. ~noteOn = Array .fill(16, IdentityDictionary .new); MIDIIn .noteOn = { |port, chan, num, vel| ~noteOn[chan].do( _ .value(port, chan, num, vel)) }; // this function will r ...
-
... b; (a * b).postln }.value(3, 10); // different way of expressing the same valueArray(... args) Evaluates the FunctionDef referred to by the Function. If the last argument is an Array or List, then it is unpacked and appended to the other a ...