-
... sdict).putAll(methdict) // METHODS OVERRIDE CLASSES } *process { | string | var lines = split(string, Char.nl); string.postln; // GLOBOL REPL ^join(collect(lines, { | line | var newline = String.new; line = line.replace(":?", ".playN(%);".f ...
-
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 ...
-
//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) } }
-
... ck code that sounds like an old sci-fi UFO landing. ( { var time = 30; var line = Line.kr(3000, 290, time); var line2 = Line.kr(280, 290, time); var line3 = Line.kr(0.01, 10, time); var sin = Mix.ar(SinOsc.ar([line, line2]) * Sin ...
-
/* ? 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 ...
-
... inutes, and five minutes accompanied by a Haiku poem. Each song represents the line of the poem including title and reflection. Source Haiku: Autumn moonlight— a worm digs silently into the chestnut. - Basho Mats ...
-
... 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") } ...