-
... 0.8, [-1, 1]].acos; // acos is the reverse of cos: c = sin( _ + 0.5pi); // cos function c.([-1, -0.5, 0, 0.5, 1]).acos; Symbol \foo .acos; // returns itself. this is used in Envelopes see Env . Function f = acos({ |x| sin(x) }); f.value((0 ...
-
... A Rect name The Menu Button Title items An Array of String , Association (\key->function), MenuAction , or ActionQSubMenu . NOTE: items A String is interpreted as file or folder paths (except if they start with "-"); A String ending in "/*" ...
-
... www.gnu.org/licenses/>. It is possible to add more type instances by adding the functions directly to the dict from the initClass function of the class that one wants to make an instance of some type class. Memory tests: ~consume = { |xs| 0 ...
-
shortcuts to get function variables/arguments state as dictionary // variables ({ var aa = 3, bb = aa + 1, cc = 5; { |d v| d.inject((), { |a i k| a[i] = v[k] }) }.(thisFunctionDef.varNames, this.getBackTrace.vars); }.()) // argumen ...
-
... er of syntax shortcuts featured in wslib shortcuts documented here: Synth:sched Function:render SCWindow:decorate ( margin, gap ) Env:kr ( doneAction, gate, mul, add, timeScale ) Array:fft ( imag ), Array:ifft ( imag ) String:spth / String. ...
-
... sary tasks. (You can add such a method in your custom classes.) Note that since Function implements -cmdPeriod as a synonym for -value , it is possible to register any function (and thus any arbitrary code) for evaluation when Cmd-. is pres ...
-
... j -> numberOfObjects) IdentityBag [ \a , \b , \c , \c ].contents; Iteration: do(function) Evaluates function for each item in the IdentityBag. The function is passed two arguments, the item and an integer index. IdentityBag [1, 2, 3, 300].d ...
-
deltaStream a small collection of Instr functions that create Patterns for beat deltas. ( Pbind ( \dur , Instr ( "deltaStream.geomHesitate" ).value([ -4 , 6, 0, 3 , 2 ]) ).play; ) ( p = Instr ( "deltaStream.geomHesitateAndWander" ); // retu ...
-
// SETODictObj is an object where you can set custom functions for each classID: SETODictObj.setAction(1, {|me| "%: Hello, I'm a first class object\n".postf(me)} ); // It is also possible to set the same function for a range of classIDs SET ...
-
... JSON string to an Event Save to file Using null Use custom en/decoders to store functions Transfer nested objects via OSC Classes (extension) | Files | Utilities | External Control JSONlib Extension A JSON en- and decoder Location: NOT INST ...