Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... i, k, x = Array.newClear(n); k = 0; while({ k < n }, { if(this[k, k] == 0.0, { Error("Singular matrix.").throw }); x[k] = b[k]; i = 0; while({ i < k }, { x[k] = x[k] - (x[i] * this[k, i]); i = i + 1 }); x[k] = x[k] / this[k, k]; k = k + 1 ...

  2. SimpleInputError Quark

    ... nc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ SimpleInputError : Error { var <>methodString; errorString { ^"INPUT ERROR in method " ++ methodString ++ " :" } method_ { |method| methodString = method.miSC_errorString; ...

  3. README Quark

    ... socket.org demo](#echowebsocketorg-demo) + [Other examples](#other-examples) * [Error handling best practices](#error-handling-best-practices) * [FAQ](#faq) + [How to get the IP address of the client?](#how-to-get-the-ip-address-of-the-clie ...

  4. ZZZError Quark

    ZZZError : Error{ }

  5. Resonator2D Quark

    ... psilon } epsilon_ { arg newEpsilon; (epsilon > 0).if { epsilon = newEpsilon } { Error("arg epsilon=% must be a real number greater than 0".format(newEpsilon)).throw } } boundaryCond_ { arg newBoundaryCond; validBoundaryConds.includes(newBou ...

  6. AlgaSequencer Quark

    ... erver | var dur; if(defs.isEvent.not, { "AlgaSequence: 'defs' must be an Event".error; ^this }); monoPatterns = IdentityDictionary(); dur = (defs[\dur] ? defs[\delta]) ? 1; defs[\dur] = nil; defs[\delta] = nil; defs.keysValuesDo({ | key, en ...

  7. AlgaPkr Quark

    ... ithub.com/cappelnord/BenoitLib AlgaPkr : Pfunc { *new { | algaNode, limit, valOnError = 1 | var check; var last = 0.0; var func; if(limit != nil, { func = { if(algaNode.algaInstantiatedAsSender, { var bus = algaNode.synthBus.bus; var val = ...

  8. extensions Quark

    ... escLib.global})[this.defName]; md=sd!?{sd.metadata}; if(list.isNil&&md.isNil){ ^Error("getOuts doesn't find list of keys send from the synth. These should be in the provided SynthDesc or in the provided list").throw; }; l=list??{md[\outs]}; ...

  9. OssiaValues Quark

    ... r m_domain; *new { | min, max, values, type | if (not(values.class == Array)) { Error("values argument should be an array").throw }; ^super.new.domainCtor(min, max, values, type); } domainCtor { | min, max, values, tp | if (tp.superclass == ...

  10. AlgaScheduler Quark

    ... .start }); } //Overwrite this! run { "AlgaThread must be inherited to be used!".error; } //Overwrite this (if needed) clearFunc { } cmdPeriod { this.clear; //stop and clear the previous task this.init(autostart: true); //re-init the task } ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow