Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... a = Extendable.new; // responds to nothing // correctly throws "not understood" errors: a.play a.free a.asArray // add a new method, the first argument is the object itself a.kuchen = { |self, x, y, z| [x, y, z].postln; 999 }; a.kuchen(1, 2 ...

  2. 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 ...

  3. 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; ...

  4. 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 ...

  5. ZZZError Quark

    ZZZError : Error{ }

  6. 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 ...

  7. 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 ...

  8. 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 = ...

  9. 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]}; ...

  10. 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 == ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow