Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. openbci_gui_fftplot_with_neurofeedback-8ch+coherence Quark

    ... e, {usr.refresh}); }); (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ~bandEnergyAvg= 0 ! 8; ~phaseCalcArr= 0 ! 4; ~openbci= board; ~loBandEnergy= loBandEnergy; ~hiBandEnergy= hiBandEnergy; ~phaseCalcFuncVal= 0 ! 2; ) ~ ...

  2. TabbedView2 Quark

    ... , it's up to the user what to focus. tab.focus; }; {0.1.wait;this.refresh}.fork(AppClock); ^tab; } tabAt{arg index; ^tabViews[index]} resetColors{ tabViews.do{|tab,index| tab.labelColor=labelColors[ index%labelColors.size ]; tab.background= ...

  3. Server Doc

    ... orBoot(onFailure: { ... custom action...; false }) . clock The default Clock is AppClock . Use SystemClock or TempoClock if time accuracy is important. Discussion: Refer to the discussion of -doWhenBooted . . doWhenBooted ( onComplete , lim ...

  4. ProcMod Quark

    ... s = GUI.window.screenBounds; // } index_ {arg nextIdx; index = nextIdx; gui.if({AppClock.sched(0.01, {window.asView.children[0].value_(nextIdx)})}); } next { gui.if({ eventButton.valueAction_(eventButton.value + 1); }, { this.play(index); i ...

  5. sStream Quark

    ... rameters1.index= 1; lvSynthParameters2.index= 1; }; createStream.value; }).play(AppClock); }; lvSynthAtkNumber.value= 0.01; lvSynthAtkNumber.action= {|view| var val= view.value.max(0); view.value= val; Pdefn(\sStream_lvSynthAtk, val); }; lv ...

  6. QuarkEditor Quark

    ... ved); } validate { |doneAction| if (doneAction.notNil) { // must do this on the AppClock thread before we can validate! SCDoc.documents; fork({ var validator = QuarkValidator.data(quarkData, PathName(quarkFile).parentPath); { doneAction.val ...

  7. MixerChannel4-order Quark

    ... n the server has sent an alive message MixerChannelDef.sendSynthDefs(obj); }, { AppClock.sched(5, { obj.serverRunning.not.if({ // free all channels associated with this server this.servers[obj].tryPerform(\values).do({ |mc| mc.free }); }); ...

  8. MixerChannel4-order Quark

    ... reconstructor) switch(changer) { \serverRunning } { if(obj.serverRunning.not) { AppClock.sched(5, { obj.serverRunning.not.if({ // free all channels associated with this server this.servers[obj].tryPerform(\values).do({ |mc| mc.free }); }); ...

  9. Plotter Doc

    ... Buffer { var b = Buffer.read(s, ExampleFiles.sinedPink); s.sync; b.plot }.fork(AppClock); // Env Env.perc(0.4, 0.6).plot; ⧉ ✔ plotGraph (n, from, to, ...) { |x| sin(x) }.plotGraph(300, 0, 2*pi); { |x| sin(1/x) * x }.plotGraph(from: 0.0001, ...

  10. Core_01 Quark

    ... _9l.scd if(~atsEditorStop.notNil) { ~atsEditorStop.(); ~atsEditorStop = nil; }; AppClock.clear; TempoClock.default.clear; ~atsAnalysisToken = (~atsAnalysisToken ? 0) + 1; ("ATS editor v6.1a export-validation + playsweep fix startup guard do ...

prev 41 42 43 44 45 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow