Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. truthTable Quark

    ... b, c| a and: b xor: c }.truthTable truthTable { var numArgs = this.def.argNames.size; var res = "", fstr = "%\t".dup(numArgs + 1).join ++ "\n"; [true, false].dup(numArgs).allTuples.do { |tup| tup = tup ++ this.(*tup); tup = tup.collect( if( ...

  2. ColPen Quark

    ... ring ++ "".extend( indent, $\t ) ++ penClass ++ "." ++ cmd[0] ++ ( if( cmd[1..].size > 0 ) { "( " ++ cmd[1..].collect(_.asShortCS ).join( ", " ) ++ " );\n" } { ";\n" }); if( [\fill, \stroke, \clip].includes( cmd[0] ) ) { outstring = outstri ...

  3. OssiaNode Quark

    ... ndex var index, splitedName = n.name.split($.); index = splitedName[splitedName.size - 1].asInteger; // returns 0 if no index is found if ((index == 0)) { name = n.name ++ ".1"; } { splitedName.removeAt(splitedName.size - 1); name = splited ...

  4. Instr Quark

    ... al application : // dict[key=>value, ... ] or [ args1, nil, arg3 , ...] if(args.size == 1 and: { args.first.isKindOf(Dictionary) }, { args = args.first }); ^PappliedInstr(this, args) } // set the directory where your library of Instr is to ...

  5. Image Quark

    ... URL, bad or nonexistant url may lead also to unknown behaviour. Image.newClear (size) - new empty Image with an initial size of size size might be a Rect (it will take only the with and height values) or a Size or a Point (wich allows you t ...

  6. SCImage Doc

    ... ted class methods Instance methods commons / general attributes width height setSize bounds free scalesWhenResized url accelerated interpolation saving and archiving write rendering plot lockFocus unlockFocus draw drawStringAtPoint drawAtPo ...

  7. SCScrollView Help

    ... . Please see its helpfile for more information. Setting the Internal Bounds The size of the contained 'canvas' is determined by the bounds of the views which it encloses. Resize settings are thus ignored for contained views. To set it to a ...

  8. SCLOrkAsset Quark

    ... ass === Int8Array, { if (type === \snippet, { var chars = Array.fill(inlineData.size, { |i| inlineData[i].asAscii }); inlineData = String.newFrom(chars); }); }); } }

  9. OnsetsDS Plugin

    ... a generally decent balance. The onset detector requires two buffers of the same size ( fftbuf and trackbuf ) to be passed in. It uses them internally for its FFT-based processing. Recommended size for these buffers is 512, although you may ...

  10. GMButton Quark

    ... ton : GMUserView { var thisString = ""; var thisFontRatio = 0.8; var thisMaxFontSize = 64; var thisOrientation = \right; var thisSVG; var thisSVGPath = ""; var thisSVGRatio = 0.8; var thisSVGSize; *new { ^super.new.init; } init { super.init ...

prev 141 142 143 144 145 146 147 148 149 150 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow