Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... ; MKtl.all[\flatcat].device.source.postcs; OSCdef(\detectFlatcat).disable; } }, AppClock); }, \flatcat).enable;

  2. SCLOrkCDTUI Quark

    ... applyAtTime).round(0.1); applyAtBeat.string = diag.at(\applyAtBeat).round(0.1); AppClock.sched(0.1, { this.background = Color.white; beat.stringColor = Color.black; localTime.stringColor = Color.black; serverTime.stringColor = Color.black; ...

  3. SpeedLim Quark

    ... (state == \idle) { // sched(0) here may make a difference for // GUI updates on AppClock if(this.ready) { clock.sched(0, { this.doAction }) }; state = \pending; clock.sched(time, { if(this.ready) { this.doAction }; state = \idle; }); }; } r ...

  4. plusSoundFile-split Quark

    ... inPath, outPath, chunkSize, threaded, action, deleteOriginal ) }.forkIfNeeded( AppClock ) } { sf = this.new; sf.openRead( inPath.standardizePath ); ^sf.uSplit( outPath, chunkSize, threaded, { |files| sf.close; if( deleteOriginal ) { File.d ...

  5. CueTriggerCP Quark

    ... }); } runResources { } cmdPeriodAction { drawList.clear; drawRoutine.reset.play(AppClock); } addToDrawFunc { arg func; if( drawList.size == 0, { drawRoutine.reset.play(AppClock); }); drawList.add(func); } removeFromDrawFunc { arg func; draw ...

  6. Touch Quark

    ... ve been touched have their values updated by the function being // scheduled by AppClock constrain { | val| if (untouchedFlag) { val = super.constrain(val); // constrain value cv.setValue(val); // set the value of the CV this.changed(\synch ...

  7. startup Quark

    ... .. loading took % secs. %\n---\n\n".postf(loadDur, postText); wait.wait; ""; }, AppClock) }; //// and now, redirect to the project startupfile outside this app, //// in the correct Projects folder for this computer: (q.projdir +/+ q.loadfil ...

  8. gui_example_scrolling_fft Quark

    ... do{|m, i| m.value= f.fft[i].dbamp-1*0.1; }; (1/60).wait; //framerate }; }).play(AppClock); CmdPeriod.doOnce({win.close}); ) ~ibva.setSamplingRate(200); ~ibva.setFilterCutoff(0.5); ~ibva.setFilterCutoff(0.25); ~ibva.setFilterCutoff(0.75);

  9. DurationLine Quark

    ... duration = 5, color = Color.white, width = 2; var offset = 0; var penFunction; AppClock.sched(duration+2, { cueTrigger.removeFromDrawFunc(penFunction); }); penFunction = { Pen.use { Pen.width = width; Pen.color_(color); Pen.beginPath; Pen. ...

  10. SPlayFileDiskView Quark

    ... waveView.timeCursorPosition= f; lastFrame= 0; }); }); (1/fps).wait; }; }).play(AppClock); } startPlaying { spf.play( currentFilePath, busNumber.value, volumeSpec.map(volSlider.value).dbamp, startFrame: waveView.timeCursorPosition ); } }

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow