Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... heduler for server '" ++ server.name ++ "'. Has Alga.boot been called on it?" ).error; ^nil; }); //Assign player player = argPlayer; //Create AlgaActionScheduler actionScheduler = AlgaActionScheduler(this, scheduler); //Create AlgaParser pa ...

  2. DOMDocument Quark

    ... est integration into SuperCollider. DOMException Not implemented, in most cases errors will result from SuperCollider's own exception handling, especially in cases of errors resulting from collection classes. Parse errors are handled by met ...

  3. FilterCoef Quark

    ... .0 if(pole.magnitude > 1.0, { "Pole magnitude is larger than 1.0.".warn }) }, { Error("Input is not in required format.\n").throw }) }); poles = poles.insert(0, 0) //Insert dummy pole }, { Error("Input is not in required format.\n").throw } ...

  4. MxUnit Quark

    ... ndlers; classHandlers = this.handlersForClass(class); if(classHandlers.isNil, { Error("No MxUnit driver found for " + class).throw; }); // this is actually a variable space dict, not just handlers ^Environment(32, classHandlers, nil, true); ...

  5. Scala Quark

    ... he .scl file (tuning.size > pitchesPerOctave).if({ // 12.midiratio has rounding error, should be 2, is 1.999etc num = tuning.pop; (num == 12).if ({ // octave octaveRatio = 2; }, { octaveRatio = ratios.pop; }); }, { octaveRatio=2 }); } scale ...

  6. Rational Quark

    ... e| ^super.new.value_(value) } value_ { |v| v.isNumber.if({ value = v }, { MethodError("Value of a Rational must be a number", this).throw }) } // implements all basic math operations composeUnaryOp { arg aSelector; var out; ^(out = value.pe ...

  7. SCMMessageLabelViewFactory Quark

    ... lView(); class = class.asString(); // Type settings if (class.contains("message-error"), { newInstance.stringColor_(Color.red); }); ^newInstance; } }

  8. BufferQueryQueue Quark

    ... pletionFunc fails the queue gets stuck try { completionFunc.value(buffer); } { |error| error.reportError; "Error occurred during buffer load completionFunc. Continuing with next file." .warn; }; queue.removeAt(0); // drop first item from qu ...

  9. SynthBenchmark Quark

    ... ring).flush.close }{ ^"SynthBenchmark.write unable to open path %".format(path).error } } // Output statistics comparing two benchmarks against each other compare { |that| var k1, k2, a1, a2, wsr, wsrN, avgdiff; k1 = this.results.keys.asArr ...

  10. RootFinder Quark

    ... 204e-16,formatMatrix; (func.isNil or: { jacobian.isNil } or: { x0.isNil }).if { Error("please supply a valid func, jacobian and x0 arguments").throw }; // check input func.respondsTo('at').not.if { func = [func] }; jacobian.respondsTo('at') ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow