Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (556) Code (37) Doc (146) Help (56) Quark (314) Plugin (3) SCDoc ↗ Forum ↗ Google ↗
  1. SystemClock Help

    ... ck is less accurate (uses NSTimers) but can call Cocoa primitives. *sched(delta,task) the float you return specifies the delta to resched the function for SystemClock .sched(0.0,{ arg time; time.postln; rrand(0.1,0.9) }); returning nil will ...

  2. SpatDifLogger Quark

    ... Stamps, spatDifCommands; var deltas; // difference times between timestamps var task; var taskController; var taskPlaying = false; var taskLoop = false; var <>verbose = true; *new { |netAddr| ^super.new.init(netAddr); } init { |myNetAddr| n ...

  3. PHelpSynth Quark

    ... ynthPlayer(this).play(clock, quant.asQuant, true); } } // for use with VarGui asTask { |clock, quant, hsStop = false, hsPlay = true, newEnvir = true, removeCtrWithCmdPeriod = true| var envir, task, player = this, controller; envir = newEnvi ...

  4. UDragBin Quark

    UDragBin { classvar <>current; var <>view; var <>canReceiveDragHandler; var <>task; var <>color; *new { |parent, bounds| ^super.new.view_( UserView( parent, bounds ) ).init; } init { color = Color.blue; view.canFocus_( false ); view.canRece ...

  5. ParameterSpace Quark

    ... Pars; var <weightfactor=2; var <>updateFunc; var <>moveFunc,<>moveScale=1; var <task; var <>dt=0.1; var <>mindist = 0.01; // GUI var <w,<slider,<watcher; var <keysGui; var <guiUpdate; *new{ |rect| ^super.new.rect_(rect).init; } init{ points ...

  6. RecordAddr Quark

    ... Abs { arg beat, item; // no tempo for now. this.sched(beat, item); } play { arg task; var delta=0, beats=0; while { delta.notNil and: { beats.notNil } and: { beats <= lifeTime } } { delta = task.value(this); beats = this.addDelta(delta, tas ...

  7. Renderer Quark

    ... arg time, bundle; this.performList(\sendBundle, [time] ++ bundle); } play { arg task; // quant to do.. var delta=0, beats=0; while { delta.notNil and: { beats.notNil } and: { beats <= lifeTime } } { delta = task.value(this); beats = this.ad ...

  8. RedTapTempoGUI Quark

    ... //RedAbstractMix RedMixGUI RedTapTempoGUI { var <parent, position; var <clock, task, monOn= false, monAmp= 0.5, monBus= 7; var win; var bpmView, bpsView, tapView, monOnView, monBusView; *new {|clock, n= 4, timeout= 3, server, parent, posit ...

  9. QuantTask Quark

    // DEPRECATED. // Retained for the odd backward-compatibility purpose. QuantTask : Task { // works like Task but with more flexible quantizing // starting / stopping etc. can be quantized using a quantize factor AND an offset play { arg qua ...

  10. QuantTask Quark

    // DEPRECATED. // Retained for the odd backward-compatibility purpose. QuantTask : Task { // works like Task but with more flexible quantizing // starting / stopping etc. can be quantized using a quantize factor AND an offset play { arg qua ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow