Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... }; }; ~uv.refresh; ) ( Tdef(\refresh, { loop { ~uv.refresh; 1.wait; }; }).play(AppClock); ) // the Pen help file has a lot of examples! Pen.help; ///////////////////////////////////////// //////////// Connecting to the world: ///// 1 - Mic ...

  2. VBAP Doc

    ... * 0.5) * atorad + 0.5pi, e.value * atorad); Pen.fill; if((actRotate.abs > 0), {AppClock.sched(frameInterval, {w.refresh})}, {count = 0;}); if(count%4 == 0, {panBus.set((actPoint.theta + (0.5pi)).wrap2(pi) * rtoang)}); }; c.mouseMoveAction_ ...

  3. XiiWaveScope Quark

    ... "running cmdfunc".postln; if(onOffButt.value == 1, { onOffButt.valueAction_(0); AppClock.sched(0.5, { onOffButt.valueAction_(1); }); }); }; CmdPeriod.add(cmdPeriodFunc); win.onClose_({ var t; CmdPeriod.remove(cmdPeriodFunc); XQ.globalWidget ...

  4. UScoreEditorGUI_TopBar Quark

    ... t| act.string == "Add Multiple..." }).menu.front; plusButtonTask = nil; }.fork( AppClock ); } { plusButtonTask = nil; } }) .action_({ if(scoreView.selectedEvents.notNil) { scoreView.duplicateSelected; } { if( true ) { plusButtonTask !? _.st ...

  5. dacTest Quark

    ... lf.changed(\activateButtons, channels); self.taskRunning = true; self.task.play(AppClock); }; ~stopTask = { |self| self.selected.clear; self.taskRunning = false; self.resetTask(true); self.watcher.remove; }; ~resetTask = { |self, hardReset= ...

  6. openbci_gui_fftplot Quark

    ... ze, { usr.refresh; }); (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); ~channels= channels; ~openbci= board; ) ~openbci.softReset; ~openbci.start; ~openbci.stop; SerialPort.listDevices; //check the micro volt root mean s ...

  7. RedGIF Quark

    ... ol.duration*0.01/rate).max(0.01).wait; index= index+1; win.refresh; }); }).play(AppClock); }); win.onClose_({img.free}); win.front; ^win; } //--private prRead {|path| var file= File(path, "rb"); var separator; this.prReadHeader(file); if(ty ...

  8. openbci_gui_accelerometer Quark

    ... raw); usr.refresh; }); (nextTime-Main.elapsedTime).max(0.001).wait; }); }).play(AppClock); //--menus pw= win.bounds.width*0.125; po= win.bounds.width-((pw+2)*2); StaticText(win, Rect(po, 1, pw, 20)).align_(\center).string_("Vert Scale"); St ...

  9. Main Doc

    ... n: This calls the superclass' startup, which among other things initializes the AppClock and the top-level Environment . Main's startup then stores Server.default in the interpreter variable s, sets the platform default's GUI kit, calls a P ...

  10. GAPmatch Quark

    ... ervers.do ({ |srv| srv.boot; 1.wait; }); ~servers.do( _ .makeWindow); }, clock: AppClock); ) ( ~sDef = SynthDef ( \dSynth , { //an electronic drum synthesizer arg outBus, bodyIFreq = 100, bodyEFreq = 45, sweepTime = 0.1, bodyAttack = 0.001, ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow