-
... the key value pair already exists in the Dictionary, the key's value will be replaced. ( d = Dictionary .new; d.add( \monkey -> 0).postln; // Add robot as a key with a value of 1 d.add( \robot -> 1).postln; // Replaces the value for the ke ...
-
... or window. If the parent is nil, then EZNumber will create its own Window , and place it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of R ...
-
... |a, b ... c| define function/method arguments; arguments after a and b will be placed into c as an array #a, b, c = myArray assign consecutive elements of myArray to multiple variables #a, b ... c = myArray assign first two elements to a a ...
-
... to do this. The advantage here is that you can store the phrases in a separate place, while the pattern that you actually play is much simpler and describes the musical intent at a much higher level. // Uses the bass SynthDef above ( ~phra ...
-
... erver Inherits from: Object : AbstractFunction : BusPlug Generally a proxy is a placeholder for something. A node proxy is a placeholder for something playing on a server that writes to a limited number of busses (e.g. a synth or an event s ...
-
... = 128/60; // Pmul does only one thing here: take ~amp from each event // and replace it with ~amp * 0.4 p = Pmul ( \amp , 0.4, Pfsm ([ #[0, 3, 1], // starting places PmonoArtic ( \sawpulse , \midinote , Pseq ([78, 81, 78, 76, 78, 76, 72, 7 ...
-
... or window. If the parent is nil, then EZRanger will create its own Window , and place it conveniently on the screen if the bounds are a Point . If the bounds are a Rect , then the Rect determines the window bounds. bounds - An instance of R ...
-
... ning is a compiler optimization that takes the operations inside a function and places them in the main line of the containing function. For instance, // inlined { while { 0.9.coin } { 10.rand.postln } }.def.dumpByteCodes; BYTECODES: (16) 0 ...
-
... he last element of the collection. [3, 4, 5].last; putFirst(item) putLast(item) Place item at the first / last index in the collection. Note that if the collection is empty (and therefore has no indexed slots) the item will not be added. [3 ...
-
... Pbind, value patterns can easily read from other values that have already been placed into the event. The Pkey pattern looks up the key in the event currently being processed and returns its value. From there, you can do any other pattern- ...