-
PostOffice { classvar <lines, <>addLines = false; classvar <>postfunc; *initClass { lines = List[]; } *add { |string| if (addLines) { lines.add(string) }; postfunc.value(string); } *clear { lines.clear } }
-
//spinning lines ( var width= 640, height= 480, w, wgrav, world, n= 50, thetas= 0.dup(n), speeds= {|i| 1/100}.dup(n); var lines; //--world w= RedWindow("3Dlines", Rect(128, 64, width, height)).front; wgrav= RedVector2D[0, 0]; world= RedWorl ...
-
//redFrik //resettable and pausable line RedLine { *ar {|start= 0, end= 1, dur= 1, curve= 0, run= 1, reset= 0, mul= 1, add= 0| var line= Sweep.ar(reset, 1/dur*run).lincurve(0, 1, start, end, curve, \minmax); ^MulAdd(line, mul, add); } *kr { ...
-
/* compatibility with the Steno Quark */ + Strang { stenoStripLineComments { ^this.split(Char.nl).collect { |line| var i = line.find("//"); if(i.notNil) { line[..i-1] } { line } }.join(Char.nl) } }
-
/* ? limit number of lines to show to a maximum ? // tests History.start; 1 + 2; 3 + 4; 12 + 14; h = HistoryRepGui(History.current); History.current.lines h.postDoc(1); h.alignDoc; */ HistoryRepGui : JITGui { classvar <>docTitle = "History ...
-
... out_"]; prepend = ""; StartUp.add { var pipe = Pipe("ps -e | grep jackd", "r"), line; protect { // line.isNil signals EOF // also rule out lines with "grep" (just in case) while { (line = pipe.getLine).notNil and: { line.contains("grep") } ...
-
... out_"]; prepend = ""; StartUp.add { var pipe = Pipe("ps -e | grep jackd", "r"), line; protect { // line.isNil signals EOF // also rule out lines with "grep" (just in case) while { (line = pipe.getLine).notNil and: { line.contains("grep") } ...
-
... t = "int16", options, completionString="", duration = nil; var cmd; //var pipe, line, cmd; this.writeOSCFile(oscFilePath, 0, duration); //verbosity changed flag from small v to big V from 3.7 on cmd = program + if(Main.versionAtLeast(3,7),{ ...
-
... pleScriptCmd { // converts string to applescript via osescript unix command var lines, cmd; lines = this.split( $\n ); cmd = "osascript"; lines.do({ |line| cmd = cmd + "-e" + line.asCompileString; }); ^cmd; } keyStroke { |mod = nil, app = " ...
-
... ical // order by description. var excludeIds = IdentitySet.newFrom([ ]); var docLines = File.readAllString( "~/src/SCLOrkTools/scripts/emoji-test.txt".standardizePath).split($\n); var uniTrie = MultiLevelIdentityDictionary.new; var finalTri ...