-
... ction. For example ( a = Environment.make({ ~a = 100; ~b = 200; ~c = 300; }); a.postln; ) ⧉ ✔ creates an environment, while a.use({ ~a + ~b + ~c }).postln; ⧉ ✔ evaluates the function within that environment. valueEnvir and valueArrayEnvir W ...
-
... dency cond.unhang; // continue }); cond.hang; "doing the rest of the init here".postln; } ) ⧉ ✔ (In this case, init will not happen if it can't find a lead clock.) Class Methods . new Create a follower clock instance. Arguments: tempo Retai ...
-
... ew convertToSC parseFile convertToJSON Inherited class methods Instance methods postWarnings customEncoder useEvent customDecoder Inherited instance methods Examples Convert an Event to a JSON string Convert a Dictionary to a JSON string Co ...
-
... lse appropriate to the type of indexable slots in the object. Array.newClear(4).postln; ⧉ ✔ ArrayedCollection. with ( ... args ) From superclass: Collection Create a new ArrayedCollection whose slots are filled with the given arguments. Arr ...
-
... nd the index. ( a = Signal.newClear(16); a.waveFill({ |x, prev, i| [x, prev, i].postln; sin(x).max(0) }, 0, 3pi); a.plot; ) ⧉ ✔ start the starting value of the interval. end the ending value of the interval. . asWavetable Convert the Signal ...
-
... w: JITLib First Example Tdef(\x, { loop { 0.5.wait; "aaaaaaaaaaaaaazz".scramble.postln } }).play; Tdef(\x, { loop { 0.125.wait; "aazz".scramble.postln } }); Tdef(\x, { loop { 0.5.wait; (note: 14.rand).play } }); Tdef(\x, { loop { 0.5.wait; ...
-
... to help locate the error. Routine({ var a; a = 5; loop { var b; b = 20.rand; b.postln.ecky_ecky_phtang; // "NI!!!!" a.wait; } }).play; ERROR: Message 'ecky_ecky_phtang' not understood. RECEIVER: Integer 6 ARGS: Instance of Array { (0220756 ...
-
... lue Examples // Get the default server's options o = Server.default.options; // Post the number of output channels o.numOutputBusChannels.postln; // Set them to a new number o.numOutputBusChannels = 6; // The next time it boots, this will t ...
-
... tUp freqscope get handleError isFunction makeFlopFunc numArgs numVars plotAudio postString prTry prepareForProxySynthDef scopeResponse set shallowCopy transformEvent update varArgs Examples Exception Handling Examples Classes | Core > Kerne ...
-
... the following example will redraw them differently. See interpreter output for posted information that you can use in the mouse actions. // drag some circles ( var w, r, u; var clicked, relativeWhere; r = { Rect(300.rand, 300.rand, 110, 11 ...