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