Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1703) Code (71) Doc (521) Help (167) Quark (932) Plugin (12) SCDoc ↗ Forum ↗ Google ↗
  1. satieNRT Quark

    ... escLib.synthDescs[postProcName].def.store; // Satie is no longer needed at this point // we have a configured Server and stored SynthDefs to work with satie.quit; bundle = server.makeBundle( false, { buffers = path.files.size.collect { |ind ...

  2. Opus Quark

    ... Encapsulates everything for an entire piece. We want to see 'Opus(path)' which points to a folder of OpusInput, OpusProcess and OpusEvent objects. This should allow fixed pieces, GUI and improv like interfaces. Uses Ctk as the main driver. ...

  3. CollapseView Quark

    ... p_(0@0); // no extra space for the outer container buttonBounds=argButtonBounds?Point(16,16); ^this; } flow { arg func, bounds; view.flow({|w| // we need an inner flow view for the CollapseButton to work correctly button=CollapseButton(w, b ...

  4. BoidsND Quark

    ... alizedPos[1], 5, 5)); }; makeLabel = {|label, normalizedPos, color| Pen.stringAtPoint(label.asString, Point(window.bounds.width*normalizedPos[0] + 3, window.bounds.height*normalizedPos[1] + 3), color: color); }; // draw the boids window.dra ...

  5. WFSPathTransformer Quark

    ... ?? { this.def }; if( polar ) { copy.positions = copy.positions.collect({ |item| Point( item.rho, item.theta ); }); result = def.func.value( this, copy, copy.positions.size ); result.positions = copy.positions.collect({ |item| Polar( item.x, ...

  6. Solver Quark

    ... ng,bounds: Rect (0,200*j,600,200),minval:min,maxval:max)}); ) //Gui // drag the points ( var w, time = 40, dt = 0.1, t0 = 0, min= 2.5.neg,max=2.5, task,zoom; var y1_0 = 1, dy1_0 = 0, k1=3, mass1=0.5, bcoef1 = 0.2, r1 = 1, w1 =0; var y2_0 = ...

  7. IntervalTable Quark

    ... e interval table files are located elsewhere, the optional path argument should point to this directory. This is provided for non-standard cases. Examples: IntervalTable .loadTable( \huygens ); // load the Huygens table IntervalTable .loadT ...

  8. preprocessor-generators Quark

    ... key '%'".format(~bpKey, ~args[0])).throw; }; currentEnvironment }; // The whole point of a "reference" generator is: // Every instance should share the same stream. // Pdefn(key).asStream follows SC convention and makes // independent strea ...

  9. defPerc Quark

    ... ion) // takes place before synthdef creation // thus, ~buf is populated by this point "\nCreating synthdefs." .postln; // forward with ringmod { |amp = 1, rate = 1, pan| var dur = BufDur .ir(~buf), sig = PlayBuf .ar(1, ~buf, rate * BufRateS ...

  10. SQWERTYKeyboard Quark

    ... board", position, keys, mods| ^super.new.initSQWERTYKeyboard(name, position ?? {Point(16, 60)}, keys, mods); } initSQWERTYKeyboard {|name, position, keys, mods| //--settings var prefName= "%.json".format(name); var winRect= Rect(position.x, ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow