Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2937) Code (123) Doc (1095) Help (322) Quark (1383) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. acos Help

    ... 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 ...

  2. PathActionQMenu Doc

    ... 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 "/*" ...

  3. LazyList Quark

    ... 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 ...

  4. function vars/args as dictionary by vividsnow (vividsnow) Code

    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 ...

  5. wslib-shortcuts Quark

    ... 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. ...

  6. CmdPeriod Doc

    ... 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 ...

  7. IdentityBag Help

    ... 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 ...

  8. deltaStream Quark

    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 ...

  9. SETODictObj Quark

    // 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 ...

  10. JSONlib Doc

    ... 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 ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow