Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... , b, method = \golden, bracket = true; var coord; if(a.isNil or: { b.isNil }, { Error("Please supply a valid interval in which to search for a minimum.").throw }, { if(bracket.booleanValue, { coord = this.bracket(a, b) }, { coord = [a, 0, b ...

  2. mobile-objects Quark

    ... lue) } } { ~prAction.(msg, time, addr, recvPort); }; ~rdepth = ~rdepth - 1; } { Error("OSC response: Recursion limit reached").throw; }; }); }; ~userprep.(~path, specs); ~setLabels.(); currentEnvironment }; ~free = { |wasReassigned(false)| ...

  3. HoaUGen Quark

    ... rder)| var io, to; to = order; io = AtkHoa.detectOrder(in.size); if(io != to, { Error( "[HoaUGen] In order (%) does not match target order (%).".format(io, to) ).errorString.postln; this.halt }); ^to } // Confirm that the input signal size ...

  4. jitlib_basic_concepts_01 Doc

    ... ironment.postln; // the value is stored in the environment ~y + ~x; // cause an error: ~y is nil. ~y = -90; // set ~y ~y + ~x; // this works. ⧉ ✔ using a Function as a proxy // a function can serve the same purpose y = nil; // empty y first ...

  5. ji-helper Quark

    ... ].isArray } }; ~source_ = { |key| if(~sourceIsValid.(key)) { ~source = key; } { Error("BP(%): BP(%) is not a just-intonation helper".format( ~collIndex.asCompileString, key.asCompileString )).throw; }; currentEnvironment }; ~bestScale = { | ...

  6. SphericalDesign Doc

    ... brary are found, the t argument must be specified to disambiguate, otherwise an error will be thrown. t The desired t parameter. Can be nil but the method will throw an error if multiple design matches are found for numPoints . (Some valid ...

  7. Temperament Quark

    ... se * (2 ^ octave) * (ratio ^ scaleDegree) // 2 ^ octave factor reduces rounding errors from simpler formula ^basefreq * (octaveRatio ** ((noteindex / stepsPerOctave).trunc)) * (ratio ** (noteindex % stepsPerOctave)); } // for compatibility ...

  8. Temperament Quark

    ... se * (2 ^ octave) * (ratio ^ scaleDegree) // 2 ^ octave factor reduces rounding errors from simpler formula ^basefreq * (octaveRatio ** ((noteindex / stepsPerOctave).trunc)) * (ratio ** (noteindex % stepsPerOctave)); } // for compatibility ...

  9. SCLOrkSamples Quark

    ... nels.notNil), { // stop currentRoutine if there is one running (nil won't throw error) currentRoutine.stop; // free currentSynth if one exists if( currentSynth.notNil, { currentSynth.free; currentSynth = nil; currentButton.value = 0; }); // ...

  10. ATKAnalyze Quark

    ... inFac, cosFac + reg) }, { method == \average }, { // Consider re-writing this!! Error(format("FoaGamma.ar argument method = %, INVALID.", method)).throw; } ) } } // FOA Active Admittance Balance Angle: Mu FoaMu : FoaEval { *ar { |in, size = ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow