Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    Mouse { classvar <all, <task, <screenSize, pos, <prevPos; var <name, <>action, <>xspec, <>yspec; *initClass { all = (); screenSize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask ...

  2. Mouse Quark

    Mouse { classvar <all, <task, <screenSize, pos, <prevPos; var <name, <>action, <>xspec, <>yspec; *initClass { all = (); screenSize = Window.screenBounds.extent; } *pos { if (task.isPlaying) { ^pos }; ^pos = QtGUI.cursorPosition; } *initTask ...

  3. Scheduler Doc

    ... rguments: clock A clock, like SystemClock. drift If true , -sched will schedule tasks relative to the current absolute time ( Main.elapsedTime ), otherwise to the current logical time of the scheduler ( -seconds ). recursive Sets -recursive ...

  4. ClearDragSink Quark

    CleanDragSink { classvar <>all; var <view, <>color, <>time = 2, <>task; var <>canReceiveDragHandler, <>receiveDragHandler; var <>onClose; *initClass { all = Set(); } *new { |parent, bounds| ^super.newCopyArgs.init( parent, bounds ); } init ...

  5. ENTimer Quark

    ... class. */ ENTimer { var <delta, <maxTime; var <>action; //Option[Function] var <task, <>t = 0; *new { |delta = 0.1, maxTime = inf| ^super.newCopyArgs(delta, maxTime).init; } init { task = Task({ inf.do{ delta.wait; if( t >= maxTime) { task. ...

  6. Scheduler Help

    ... e to Main.elapsedTime, otherwise to the current seconds of the scheduler. play(aTask) schedules the task to play, with the delta time returned from it. sched(delta, aTask) schedule the task advance(bySeconds) advance time by n seconds. Any ...

  7. ClearDragSink Quark

    CleanDragSink { classvar <>all; var <view, <>color, <>time = 2, <>task; var <>canReceiveDragHandler, <>receiveDragHandler; var <>onClose; *initClass { all = Set(); } *new { |parent, bounds| ^super.newCopyArgs.init( parent, bounds ); } init ...

  8. ActionFunc Quark

    ... >action, <>extra, <>lastVal = 0, <>lastTime; var <>testFunc, <>deltaTime; var <>task; // may be used by some actions *new { |type, action, extra, startVal| // extra can be anything action = action.asActionFunc; // allow nested nodes ^super. ...

  9. extConductor Quark

    ... extend(6, Char.space)) [..100]; } } }; con.action_( { MIDIIn.connectAll }); con.task_( updateFunc.value( \waitControl)); con.task_( updateFunc.value( \waitNoteOn)); con.task_( updateFunc.value( \waitNoteOff)); con.task_( updateFunc.value( \ ...

  10. Clock Doc

    Clock: Filter: Description Scheduling Useful Tasks Scheduling and Threads Class methods Inherited class methods Undocumented class methods bars2beats beats beats2bars beats2secs nextTimeOnGrid play seconds secs2beats timeToNextBeat Instance ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow