Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2366) Code (121) Doc (629) Help (191) Quark (1309) Plugin (116) SCDoc ↗ Forum ↗ Google ↗
  1. deepFind Stuff Quark

    ... ay, replace)\ \\ \\ \ addToSubTree \ |key, branch, subtree, replace=true| \ var index = this .detectIndexInPairs(key, subtree);\ \ ^if(index.isNil) \\ subtree.addAll(branch)\ \ \\ if(replace) \\ subtree[index + 1] = branch;\ subtree[index] ...

  2. WFSRectView Quark

    ... ill; }; }); }); } getPoints { ^object.corners ++ [ object.center ]; } getNearestIndex { |point, scaler| // returns nil if outside radius var radius; radius = scaler.asArray.mean * 5; ^this.getPoints.detectIndex({ |pt, i| pt.asPoint.dist( po ...

  3. GMSwitchButton Doc

    ... o be triggered when the button is pressed down. This Function takes the current index of the button as argument, i.e. pressing it down from its first state to its second state will call the Function passing 1 as argument. Arguments: aFuncti ...

  4. ParaSpace Quark

    ... des.removeAt(nodenr)}); if(refresh == true, {this.refresh}); } setNodeLoc_ {arg index, argX, argY, refresh=true; // var x, y; // x = argX+bounds.left; // y = argY+bounds.top; paraNodes[index].setLoc_(Point(argX+0.5, argY+0.5)); if(refresh = ...

  5. extDict Quark

    ... t(otherKeys, value); } } + SequenceableCollection { // unified method for Array/index, Array of assocs and dicts valuesKeysDo { |func| if (this.isAssociationArray) { this.do { |assoc, i| func.value(assoc.value, assoc.key, i); }; }; this.do( ...

  6. Wavesets2 Quark

    ... fer.sampleRate; ^[startFrame, length, length/buffer.sampleRate] } maximumAmp { |index, length=1| var maxItem = 0; if(length == 1) { ^amps[index] ? 0.0 }; length.do { |i| maxItem = max(maxItem, amps[index + i] ? 0.0) }; ^maxItem } // backwar ...

  7. linear Quark

    ... ut, UAdaptSpec({ |sp| sp.copy.warp_( \lin ) }) ) .prepareArgsFunc_({ |args| var index; index = args.indexOf( \value ); if( index.notNil && { index.even }) { args[index] = \input; }; args; }) .canUseUMapFunc_({ |unit, key, umapdef| var spec; ...

  8. linear Quark

    ... ut, UAdaptSpec({ |sp| sp.copy.warp_( \lin ) }) ) .prepareArgsFunc_({ |args| var index; index = args.indexOf( \value ); if( index.notNil && { index.even }) { args[index] = \input; }; args; }) .canUseUMapFunc_({ |unit, key, umapdef| var spec; ...

  9. TabbedView2 Quark

    ... e defaults ***/ focusFrameColor=Color.clear; font=Font.default; archiveKeys = [\indexes,\followEdges,\tabPosition,\tabFocus]; swingFactor = Point(0.52146, 1.25); stringFocusedColors=[Color.white] ; stringColors=[Color.black] ; labelColors = ...

  10. synthDefAutogui Quark

    ... il){synthDef.allControlNames}{synthDesc.controlNames}; ctrlNames.do({ arg item, index ; var name = item.name.asString ; var defVal = if(synthDef.notNil){synthDef.controls[index]}{item.defaultValue} ; var ctrl ; if (specs[name.asSymbol].isNi ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow