Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (447) Code (33) Doc (84) Help (29) Quark (300) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

  2. 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 ...

  3. 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= ...

  4. 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 ...

  5. 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 ...

  6. 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 ...

  7. 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, ...

  8. Grid Quark

    ... useTracker.refresh; }); }.defer; }); } lazyRefresh { if( refreshDeferred.not, { AppClock.sched( 0.02, lazyRefreshFunc ); refreshDeferred = true; }); } // NODES setNodeShape_ {arg row, col, shape; if(col == nil, { shape = row; // 1st argumen ...

  9. ServerLogGui Quark

    ... rollSize) ); scroller = Routine.run({ loop { this.updateNav; 10.wait; } },clock:AppClock); },bounds ?? {Rect(0,0,1200,1300)}) } updateNav { if(nav.notClosed,{ navMax = this.messages.size + scrollSize; pixelsPerEvent = nav.bounds.width / nav ...

  10. PopUpTreeMenu Quark

    ... it; }; this.prValue_(currentLeaf, true); }); }); this.prCloseAll(x, y); }).play(AppClock); } prOpen {|tree, offset, value| var window, userView; var width, height, x, y, wh, scroll; var items; //array of associations var selectedIndex; //in ...

prev 21 22 23 24 25 26 27 28 29 30 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow