-
... onding server-side buffer. s.boot; b = Buffer .alloc(s,44100 * 8.0,2); b.bufnum.postln; b.free; Creation with Immediate Memory Allocation *alloc(server, numFrames, numChannels, completionMessage, bufnum) Create and return a Buffer and immed ...
-
... uments, the item and an integer index. List [1, 2, 3, 4].do({ arg item, i; item.postln }); collect(function) Answer a new collection which consists of the results of function evaluated for each item in the collection. The function is passed ...
-
... 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 ...
-
... sion process easier, EZKnobOld has an instance method called convert which will post the equivallent creation code for the new EZKnob. Bounds: Make certain to choose bounds that are large enough to encompass the knob, the number box, and th ...
-
... currentHost" ); [ \name , a.invoke( "name" ), \address , a.invoke( "address" )].postln; a.release; *newFromRawPointer(ptr) Creates a new SCNSObject from a RawPointer. Might be handy for very special occasion. i = SCImage .new( "/Library/Des ...
-
... b = { 10.rand + 1 }; // another Function c = a + b; // c is a Function. c.value.postln; // evaluate c and print the result ) See AbstractFunction for function composition examples. Because Functions are such an important concept, here some ...
-
... assigned to the interpreter variable s. // execute the following and watch the post window s === Server .default; s === Server .local; Server .default = Server .internal; s === Server .default; Server .default = Server .local; // return it ...
-
... like in a pattern. Associations : (\filter -> func) filter previous input (with post control) (\filterIn -> func) filter previous input (with pre control) (\set -> event pattern) set controls with the event keys of the pattern (\setbus -> e ...