Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1669) Code (209) Doc (505) Help (220) Quark (722) Plugin (13) SCDoc ↗ Forum ↗ Google ↗
  1. GLOBOL Quark

    ... 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 ...

  2. PostOffice Quark

    PostOffice { classvar <lines, <>addLines = false; classvar <>postfunc; *initClass { lines = List[]; } *add { |string| if (addLines) { lines.add(string) }; postfunc.value(string); } *clear { lines.clear } }

  3. 233-3Dlines Doc

    //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 ...

  4. 233-3Dlines Quark

    //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 ...

  5. RedLine Quark

    //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 { ...

  6. strangExt Quark

    /* 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) } }

  7. UFO Landing by schemawound (Schemawound) Code

    ... 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 ...

  8. HistoryRepGui Quark

    /* ? 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 ...

  9. Autumn moonlight - a worm digs silently into the chestnut by schemawound (Schemawound) Code

    ... 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 ...

  10. SCJConnection Quark

    ... 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") } ...

prev 1 2 3 4 5 6 7 8 9 10 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow