Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2094) Code (114) Doc (526) Help (153) Quark (1294) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. XiiFreqScope Quark

    ... -1) * 22.05; },{ kfreq = i * factor * 22.05; }); if(kfreq > 1.0, { freqLabel[i].string_( kfreq.asString.keep(4) ++ "k" ) },{ freqLabel[i].string_( (kfreq*1000).asInteger.asString) }); }); }; setDBLabelVals = { arg db; dbLabel.size.do({ arg ...

  2. CactusGUI Quark

    ... .newCopyArgs(path, options).init; } init { if (path.isNil, { this.popUpWarning( string: "Would you like to open or create a project?", action1: { this.initDialog(0) }, action2: { this.initDialog(1) }, text1: "Open", text2: "Create") }, { ca ...

  3. JSONlib Quark

    ... il, useEvent=true, postWarnings=true| if(json.isKindOf(Symbol)) { json = json.asString; }; if(json.isKindOf(String).not) { Error("Can only parse a String to JSON but received %".format(json.class)).throw }; ^this.new( postWarnings, customDe ...

  4. OpenObject Quark

    ... jectName, key; ^objects.at(name) ?? { if(lookup) { #objectName ... key = name.asString.split($_); object = objects.at(objectName.asSymbol); if(object.isNil) { ^nil }; object.at(key.join($_).asSymbol); } } } // name, selector, args ... *oscP ...

  5. Block Quark

    ... cond.wait; }; action.(ndefArr); }.fork; } *remove {arg block=1; var blockIndex, string; blockIndex = block - 1; if((block >= 1).and(block <= blocks.size), { string = (ndefs[blockIndex].cs ++ ".clear;"); string.radcode; ndefs.removeAt(blockI ...

  6. XiiGrainBox Quark

    ... ue.at(0).at(box)); synthsList.at(i).set(\trigRate, myvar, \dur, myvar2); xfield.string_("grainDur"); yfield.string_("trigRate"); if(i == 0, { paraDict1.add(\trigRate -> myvar); paraDict1.add(\dur -> myvar2); }, { paraDict2.add(\trigRate -> ...

  7. CactusTemplateManager Quark

    ... gs(cactus).init; } init { templatesDir = CactusTemplateManager.filenameSymbol.asString.dirname; templatesDir = templatesDir ++ "/templates/" } runTemplate { arg templateName, options = (); var path; path = PathName.new(templatesDir ++ templ ...

  8. SGME_TooltipHandler Quark

    ... wBounds.top) { y = windowBounds.top; }; //value = funcParam.value(view.value).asString("%.2f"); this.showTooltip(x, y); } makeText { if (makeTextFunc.notNil) {^makeTextFunc.()} { var value = funcParam.value(view.value).asString("%.2f"); ^(p ...

  9. SGUI Quark

    ... themes[theme] ?? {themes.default}; } *fixDec {|val, numDecimals= 2| //float to string with fixed number of decimals var str= val.round(0.1**numDecimals).asString; var num= str.size-str.indexOf($.)-1; ^str.extend(str.size+numDecimals-num, $ ...

  10. README Quark

    ... (e.g. [nodejs]) and in a web browser. ipaddr.js allows you to verify and parse string representation of an IP address, match it against a CIDR range or range list, determine if it falls into some reserved ranges (examples include loopback ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow