Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. RedTempoClockGUI Quark

    ... s= TempoClock.all.collect{|x, i| "TempoClock["++i++"]"}; }); 1.wait; }; }).play(AppClock); num.action_({|view| sld.value= spec.unmap(view.value); bpm.string= "(bpm:"++(view.value*60)++")"; TempoClock.all[index].tempo= view.value; }); sld.ac ...

  2. red05 Quark

    ... e+(1/60); usr.refresh; (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ) //click and drag //press cmd+period to stop

  3. HistoryMeter Quark

    ... = true; value = latestValue; this.refresh; interval.max(0.05).wait; }; }).play( AppClock ); active = true; } stop { active = false } }

  4. Collapse Quark

    ... lts to 0.0 * @param clock the clock to execute the function within, defaults to AppClock */ *new { arg func, delta = 0.0, clock; ^super.new.prInit( func, delta, clock ); } prInit { arg argFunc, argDelta, argClock; func = argFunc; delta = ar ...

  5. SCStatusBox Quark

    ... to make sure lines post in the right order startPostThread { notScheduled.if({ AppClock.sched(0, { try { view.notClosed.if({ view.string_(view.string ++ strToPost); view.select(view.string.size - 2, 0); strToPost = ""; }); } { |error| erro ...

  6. SCStatusBox Quark

    ... to make sure lines post in the right order startPostThread { notScheduled.if({ AppClock.sched(0, { try { view.notClosed.if({ view.string_(view.string ++ strToPost); view.select(view.string.size - 2, 0); strToPost = ""; }); } { |error| erro ...

  7. ndef-menu-choice Quark

    ... defs_storePath, "w", { |file| file.write(q.ndefs.collect(_.key).cs) } ); }.play(AppClock); [ slotIndex, choiceIndex, key].postcln; }; Window.allWindows.do({|c|c.name.postcln})

  8. MPadView Quark

    ... oUpTime < inf ) { upTimeTask = Task({ autoUpTime.wait; this.upValue = value; }, AppClock).start; }; } valueAction_ { |newValue = 0| this.value = newValue; this.doAction; } upValue_ { |newValue = 0| this.stopTasks; moveValue = 0; if( useUpVa ...

  9. HrSimpleModulator Quark

    ... s_([["Start"],["Stop"]]) .action_ ({|btn| if(btn.value == 1, { pollRoutine.play(AppClock); }, { fork{ pollRoutine.stop; 0.1.wait; pollRoutine.reset; } }); }); pollRoutine = Routine ({ loop { prOutBus.get({|val| { modControl.modulateWithValu ...

  10. Client Quark

    ... == Char .tab) { string = n + ":" + e.currentLine; b.send( \chat , string.copy); AppClock .sched(0.1, { e.string = "" }); // time is the original crime. remove the tab. } }); e.onClose_({ AppClock .sched(0.1, { a.remove; d.close; nil }) }); ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow