Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (3519) Code (203) Doc (848) Help (193) Quark (2225) Plugin (50) SCDoc ↗ Forum ↗ Google ↗
  1. CollidingControl Quark

    ... iew.string.findAll("\n"); lineStart = breaks[lineNum - 2]; if (lineNum > breaks.size){ lineEnd = view.string.size - lineStart; }{ lineEnd = breaks[lineNum-1] - lineStart; }; view.setStringColor(Color.new255(255, 140, 0), lineStart, lineEnd) ...

  2. AlgaServerOptions Doc

    ... g rate. If not determined, it will use Server.default.options.sampleRate . blockSize Set block size. If not determined, it will use Server.default.options.blockSize . numInputBusChannels Set number of inputs. If not determined, it will use ...

  3. helper-funcs Quark

    ... ; doc = PR(\clPatternToDoc).currentDoc; pos = doc.selectionStart + doc.selectionSize; method = if(doc.isKindOfByName('Document')) { 'string_' } { 'setString' }; if(stepForward.not and: { doc.isKindOfByName('Document') }) { pos = pos + 1 }; ...

  4. PeakMonitorGui Quark

    ... tFlow, rightFlow; var multiSl, clipButtons, maxRecentView; var maxRecent, recentSize, maxClip; // workaround for crucial gui issue // closing a Swing window executes viewDidClose before calling remove on me // so the model variable is alrea ...

  5. TestFilterUGens Quark

    ... Nil); var delay_times = [1,64]; // in samples var testsIncomplete = delay_times.size * filters.size; this.bootServer; filters.do { arg filter; delay_times.do { arg delay_samples; var message = filter.asString ++ ".ar is time invariant when ...

  6. MultiSpline Quark

    ... }); } createPoint { var i, p, time; if(focusedPoint.isNil, { i = spline.points.size; // extend time time = spline.points.last[0] + (spline.points.last[0] - spline.points.clipAt(spline.points.size-1)[0]); }, { i = focusedPoint.ceil.asIntege ...

  7. SSObject Quark

    ... rea; // for extended objects var <present; *new {|world, loc, vel, accel, mass, size, shape, gravity, friction, name, channel,registerInWorld=true| //almost same method as in RedObject ^super.newCopyArgs( world ?? {SSWorld.new}, loc !? {if ...

  8. install_quarks Quark

    var args = thisProcess.argv; var path; if(args.size !== 1) { 1.exit; "\n\nERROR: Incorrect number of arguments. Expected a path to a Quark folder.\n\nexample:\n\t$ sclang install_quarks.scd /home/user/myQuark\n\n".postln } { path = args[0]; ...

  9. Osc1 Doc

    ... bles to zero. // this ensures that the waveform ends precisely on time. t.put(t.size-1, 0); v.put(v.size-1, 0); a = Buffer.sendCollection(s, t, 1); b = Buffer.sendCollection(s, v, 1); ) // play them { LFSaw.ar([110, 164], 0.3) * Osc1.ar([a, ...

  10. SphericalDesign Quark

    ... llect({ |pnt, i| methodOrFunc.value(pnt, i, *args) }) ) } } numPoints { ^points.size } size { ^points.size } // reset points to position when first created, e.g. after applying rotation reset { this.points_(initPoints.deepCopy); this.resetT ...

prev 151 152 153 154 155 156 157 158 159 160 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow