Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (996) Code (19) Doc (190) Help (49) Quark (724) Plugin (14) SCDoc ↗ Forum ↗ Google ↗
  1. PhasorTJ Quark

    ... ; name.isKindOf(Symbol).if{ engine = jitterEngines.at(name); if(engine.isNil) { Error("%: jitterType % not defined.").format(this, name).throw }; ^engine.value(freq, selector); }; // default case engine = Select.perform(selector, name, [ LF ...

  2. HrCodeSequencer Quark

    ... top Func."]]) .action_ ({ var funcString; if(stopFunc == nil, //if there was an error in last func compilation { funcString = stopCodeDoc.lastFuncString; //return to last document contents }, {//if all was good last time funcString = stopFu ...

  3. extFixNdefDefault Quark

    ... sKindOf(Association)) { server = Server.named.at(key.value); if(server.isNil) { Error("Ndef(%): no server found with this name.".format(key)).throw }; key = key.key; } { server = defaultServer ? Server.default; }; dict = this.dictFor(server ...

  4. Strang Quark

    ... var i0 = 0; string = string.asStrang; last = string.size - 1; if(ignoreCase) { Error("ignoreCase not yet implemented").throw }; while { index < this.size } { if(this.at(index + i0) == string.at(i0)) { if(i0 < last) { i0 = i0 + 1; } { ^inde ...

  5. Fomus Quark

    ... ventList.add(thisEvent)}, { "At least one element of the Array is not an Event".error} ); } } {that.class == Routine} { that.nextN(n,()).do { |thisEvent| eventList = eventList.add(thisEvent) }; } {(that.class == Event or: that.class == Arra ...

  6. RedSamp Quark

    ... es| if(server.serverRunning.not, {(this.class.asString++": server not running").error; this.halt}); keys.put(key, { //associate key with array of voice objects this.prCreateVoice(buffer, startFrame, numFrames); }.dup(overlaps)); } prCreateV ...

  7. ilisp Quark

    ... Array(arguments); }); // operator is symbol if(operator.isKindOf(Symbol).not, { Error("Operator is not a symbol:" + operator + "in form:" + this).throw }); subject = arguments.removeAt(0); subject = subject.ilisp; // resolve sexp ^subject.p ...

  8. ilisp Quark

    ... Array(arguments); }); // operator is symbol if(operator.isKindOf(Symbol).not, { Error("Operator is not a symbol:" + operator + "in form:" + this).throw }); subject = arguments.removeAt(0); subject = subject.ilisp; // resolve sexp ^subject.p ...

  9. CHANGELOG Quark

    ... division by zero, reciprocal of zero, and terms that are not numbers now throw `Error`. 3. Use `.asInteger` before passing exact results to primitive APIs that need an integer. 4. Removed the old `Event` and `Pseq` core overwrites.

  10. extVGMulTree Quark

    ... alues } } } + KeyBus { values_ { |vals| if(vals.flat.size != bus.numChannels) { Error("values do not have the right shape.").throw; }; values = vals; bus.setn(values.flat); } }

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow