Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... wait }; }; } { |exception| file.close; action.value(exception, this); }; }.fork(AppClock); } fromImage { |image, numPos = 128, valueFunc({ |color| color.luminance })| var pix; var cos = Signal.fftCosTable(wtSize); if(image.width != wtSize o ...

  2. sFormant Quark

    ... BalanceElement.update; mainReverbElement.update; fps.reciprocal.wait; } }).play(AppClock); SGUI.report(win); SGUI.adapt(win); win.front; }.defer(1); }; )

  3. SCButton Help

    ... cess fork({ 5.wait; synth.release; update.value(butt, "." ); 1.wait; w.close }, AppClock ); }); CmdPeriod .doOnce({w.close}); w.front; }); ) // complex drag and drop example // try dragging the buttons to white slot, adn then between white ...

  4. Block Quark

    ... pec, modifier); if(aZ.notNil, { {server.sync; aZ.updateSourceWin(ndefKey)}.fork(AppClock) }); }, { Ndef(ndefKey).controlKeys.postln; }); } * unmodBlk {arg blkNum, modArg, value; var ndefKey, modifier; ndefKey = ("block" ++ blkNum).asSymbol; ...

  5. Chucking Quark

    ... uant, argClock, doReset); if(value[\eventStreamPlayer].notNil) { (this.clock == AppClock).if({ // AppClock has no schedAbs method value.eventStreamPlayer.play(this.clock, doReset, 0); value[\isWaiting] = false; }, { this.clock.schedAbs(goTi ...

  6. SNanoKontrol Quark

    ... .do{|e| e.update}; infoTextElementString.update; fps.reciprocal.wait; } }).play(AppClock); SGUI.report(win); SGUI.adapt(win); infoTextElementString.views.do{|view| view.font= fntMono}; win.front; } sendOsc {|arr| var str= ""; arr.do{|a| //[ ...

  7. UScoreView Quark

    ... alledUpdate } { this.prUpdate; calledUpdate = false; updateInterval.wait; }; }, AppClock).start; }; } { this.prUpdate; }; } prUpdate { var zoom, score, dur; score = this.currentScore; dur = score.displayDuration; zoom = dur / 4; if( scoreVi ...

  8. MoscaBase Quark

    ... ne playbackBuffer = Buffer.read(server, latest, action: { | buf | { // defer to AppClock for Synth creation playbackSynth = { | bufnum = 0 | var sig = PlayBuf.ar(2, bufnum, doneAction: 2); Out.ar(0, sig); }.play(args: [\bufnum, buf.bufnum]) ...

  9. AssemblageMixer Quark

    ... Time.yield; this.setSendKnob(trackType, trackNum, slotNum, val); }); }); }.fork(AppClock); }, {funcThis.(setThisVal);}); }, { funcThis.(setThisVal); }); }, { funcThis.(setThisVal); }); if(presetMode.not, { if(dirMaster, { if(outputSettings[ ...

  10. SmoothRangeSlider Quark

    ... called (via valueAction or doAction) it is done immediately instead of with the AppClock delay ( t = Task ({ var pt; pt = PintC ( Pseq ( [b.value, Pwhite ( 0.0 .dup, 1.0 .dup, inf )], 1 ), 1 / Pseries ( 2 , 0.25 , inf ) ).asStream; b.doActi ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow