Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (36) Code (4) Doc (11) Help (2) Quark (19) SCDoc ↗ Forum ↗ Google ↗
  1. MemoRoutine Quark

    ... h Floor, Boston, MA 02110-1301, USA. */ MemoRoutine : Stream { var <>routine, <>lastValues, <>count, <>copyItems, <>copySets; *new { |func, stackSize = (512), bufSize = 1, copyItems = 0, copySets = 1| ^super.new.routine_(Routine(func, stack ...

  2. MxFrameRateDevice Quark

    MxFrameRateDevice { var <>func, <>forUnit, <lastValue; *new { arg func, forUnit; ^super.newCopyArgs(func, forUnit) } tick { arg time; lastValue = func.value(time); this.changed(lastValue); ^lastValue } }

  3. PS Quark

    ... copySets) }) }; ^func.value(inval).embedInStream(inval) } at { |i| ^memoRoutine.lastValues[i] } lastValues { ^memoRoutine.lastValues } lastValue { ^memoRoutine.lastValues[0] } count { ^memoRoutine.count } bufSeq { |dropNils = true| var seq ...

  4. WSPopUpMenu Quark

    ... nable lines and disabled items in latest git version WSPopUpMenu { var <popup, <lastValue = 0, <items, <>action, <>mouseDownAction, wasClicked = false; *new { |parent, bounds| ^super.new.init( parent, bounds ); } init { |parent, bounds| pop ...

  5. MemoRoutine Quark

    ... ue (inval) Same as next. resume (inval) Same as next. run (inval) Same as next. lastValue Last value. lastValues Instance variable getter method for array of stored last values. at (i) Returns i th item of array of last values (keep in mind ...

  6. gui_example_simple Quark

    ... xample just displaying data using sliders and numberboxes ( var numChan= 4; var lastValues= -1.dup(numChan); var lastTime= 0; var win, sliders, numbers, updateFunc; win= Window("gui example simple", Rect(100, 100, 320, 240)).front; sliders= ...

  7. BusDriver Quark

    ... StreamKrDur : AbstractBusDriver { var <>values,<>durations; var valst,deltast,<lastValue,<delta,<beat; *new { arg values=0.0,durations=0.25,lag=0.0; // make refs of arrays into Pseq if(values.isKindOf(Ref),{ values = Pseq(values.value,inf) ...

  8. BusDriver Quark

    ... reamKrDur : AbstractBusDriver { var <>values, <>durations; var valst, deltast, <lastValue, <delta, <beat; *new { arg values=0.0, durations=0.25, lag=0.0; // make refs of arrays into Pseq if(values.isKindOf(Ref), { values = Pseq(values.value ...

  9. SGUIelement Quark

    ... 2019 SGUIelement { //TODO optional smoothing, rounding subclasses? var <value, lastValue; var viewsSpecs, defaultSpec, lastViewValue; var >action; var softSetLastTime; *new { ^super.new.initSGUIelement; } initSGUIelement { value= 0; lastVi ...

  10. gui_example_simple Quark

    ... //file data //var recorder= DataRecord(board).start; //uncomment to record var lastValues= -1.dup(board.numChannels); var lastTime= 0; var win, sliders, numbers; ~maxuV= 1000; win= Window("gui example simple", Rect(100, 100, 80*board.numCh ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow