Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (889) Code (79) Doc (285) Help (132) Quark (392) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. openbci_gui_accelerometer Quark

    ... n.lineTo(Point(img.width-x, y)); lastIndex= index; }); }; Pen.stroke; }; }); }; Routine({ var numPointsToDraw; var nextTime; while({win.isClosed.not}, { nextTime= Main.elapsedTime+(1/fps); if(buffer.accelBuffer.size>0, { //skip frame if no ...

  2. Proto Quark

    ... n.stream // stream is a "soft" method "defined" in the environment (a getter) a Routine Mimicking object-oriented behavior using Proto ( a = Proto ({ // class/instance variables are defined dynamically, here and at run time // distinction b ...

  3. Proto Quark

    ... n.stream // stream is a "soft" method "defined" in the environment (a getter) a Routine Mimicking object-oriented behavior using Proto ( a = Proto ({ // class/instance variables are defined dynamically, here and at run time // distinction b ...

  4. MixerSend Quark

    ... vert time into level timeSpec = ControlSpec.new(start, end, warp); guiUpdater = Routine({ startTime = thisThread.clock.beats; { (thisThread.clock.beats - startTime) <= dur }.while({ this.level_(timeSpec.map( (thisThread.clock.beats - startT ...

  5. VoicerProcess Quark

    ... , use: // [["Stopped", { arg proc, group; proc.play }, { arg v; { /* the player routine */ } }], // ["Playing", { arg proc, group; proc.stop }, nil]] var <voicer, <processes, // array of VoicerProcess <view, <value = 0; // current process t ...

  6. VoicerProcess Quark

    ... , use: // [["Stopped", { arg proc, group; proc.play }, { arg v; { /* the player routine */ } }], // ["Playing", { arg proc, group; proc.stop }, nil]] var <voicer, <processes, // array of VoicerProcess <view, <value = 0; // current process t ...

  7. MixerSend Quark

    ... vert time into level timeSpec = ControlSpec.new(start, end, warp); guiUpdater = Routine({ startTime = thisThread.clock.beats; { (thisThread.clock.beats - startTime) <= dur }.while({ this.level_(timeSpec.map( (thisThread.clock.beats - startT ...

  8. ddwFilterPatterns Quark

    ... m; Pwhile1 embeds stream values singly Pwhile1 : Pwhile { asStream { |cleanup| ^Routine({ arg inval; this.embedInStream(inval, cleanup) }) } embedInStream { |event, cleanup| var stream = pattern.asStream, next; cleanup ?? { cleanup = EventS ...

  9. ServerLogGui Quark

    ... rEvent = max(this.messages.size - scrollSize,0).round(scrollSize) ); scroller = Routine.run({ loop { this.updateNav; 10.wait; } },clock:AppClock); },bounds ?? {Rect(0,0,1200,1300)}) } updateNav { if(nav.notClosed,{ navMax = this.messages.si ...

  10. PopUpTreeMenu Quark

    ... empty }); if(Main.elapsedTime-timer<0.5, { //single click stay open? ^nil; }); Routine({ var val; if(currentLeaf.size>0, { //mouse released on leaf? if(allowsReselection or:{currentLeaf!=value}, { val= lst[xIndex].selectedIndex; numFlashes ...

prev 31 32 33 34 35 36 37 38 39 40 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow