Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3120) Code (144) Doc (1251) Help (358) Quark (1341) Plugin (26) SCDoc ↗ Forum ↗ Google ↗
  1. README Quark

    ... o` | Pretty-print an Object all on a single line. | | `%s` | String. | | `%d` | Number (both integer and float). | | `%j` | JSON. Replaced with the string '[Circular]' if the argument contains circular references. | | `%%` | Single percent ...

  2. tests Quark

    ... { server.latency }; // seriously...? ~isPlaying = true; addAction = Node.actionNumberFor(~addAction); // compute the control values and generate OSC commands bndl = msgFunc.valueEnvir; ~group = ~group.value; // why? because ~group is (by d ...

  3. AlgaBlock Quark

    ... teNewBlockIfNeeded { | receiver, sender | //This happens when patching a simple number or array in to set a param if((receiver.isAlgaNode.not).or(sender.isAlgaNode.not), { ^nil }); //Can't connect nodes from two different servers together i ...

  4. UChain Quark

    ... eleaseSelf,\defName1,\defName2,...) */ init { |args| var tempDur; if( args[0].isNumber, { startTime = args[0]; args[0] = nil; }); if( args[1].isNumber, { track = args[1]; args[1] = nil; }); if( args[2].isNumber, { tempDur = args[2]; args[2] ...

  5. XiiPolyMachine Quark

    ... eDict, 0]}, {setting[2]}); stateDict = params[2]; stateNum = params[2].size; // number of states in the dictionary lastStateNum = params[3]; win = GUI.window.new("- polymachine -", Rect(point.x, point.y, 760, tracks*62), resizable:false); i ...

  6. default-synths-extra Quark

    ... s from other operators and itself (feedback), virtually // providing an endless number of possible combinations (algorithms). // // Responds to // voice (preset number: [0] is user-defined; [1-5] are randomly generated presets). // lfofreq ...

  7. NB Quark

    ... wer } displayImage { arg dur; var pause; if(dur.notNil and: {dur.isKindOf(SimpleNumber)}, { displayLatency = dur }); // pause so a race condition doesn't upset image display after image rendering pause = Routine({ 1.do({ arg i; displayLaten ...

  8. Event patterns and array args Quark

    ... ).add ) // As array sizes of SynthDefs are fixed you might want to define for a number // of Integers and name the SynthDefs appropriately. // Here's such a "SynthDef factory": // we get SynthDefs of names \array_1b_1, ..., \array_1b_16 wit ...

  9. preprocessor Quark

    ... temp.every(_.isDecDigit)) { ~numToApply = temp.asInteger; } { "%: Invalid apply number".format(test).warn; }; ~phrase = test[ .. i-1].asSymbol; } { ~phrase = test.asSymbol; // really? what about array types? }; }; test = ids.next; // parame ...

  10. CVWidget2D Quark

    ... round_(Color.white) ; nextY = nextY+this.rangeSlider.bounds.height; numVal.lo = NumberBox(parent); numVal.hi = NumberBox(parent); [numVal.lo, [thisXY.x+1, widgetCV.lo], numVal.hi, [thisXY.x+(thisWidth-44/2), widgetCV.hi]].pairsDo({ |k, v| k ...

prev 131 132 133 134 135 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow