Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Interface Doc

    ... / action button now remembers the environment ! ~freq.setUnmappedValue( x = 1.0.rand ); ~syncFreq.setUnmappedValue( y = 1.0.rand ); joy.x_(x).y_(y).changed; }); joy = GUI.slider2D.new(layout, 100 @ 100) .action_({ arg sl; // at this time no ...

  2. MView Quark

    ... var currVals = this.getUni, jump; if (currVals.size < 1) { this.setUni(nil, 1.0.rand); } { jump = rrand(currVals.minItem.neg, 1-currVals.maxItem); this.shiftRange(jump, \stop) }; this.doAction }, $R: { |uv, mod| this.setUni(nil, this.makeVa ...

  3. SCView Help

    ... front; v= SCCompositeView .new(w,w.view.bounds.insetBy(10)).background_( Color .rand); v.decorator= FlowLayout (v.bounds); t= Array .fill(9,{ arg i; var n,r,q; n= SCCompositeView .new(v, Rect (20,20,121,121)).background_( Color .rand); q= S ...

  4. Semaphore Doc

    ... t; c.signal; "thread 1> ok, done. Release the semaphore.".postln; }; fork { 3.0.rand.wait; "thread 2> I would like to go on, if I may.".postln; c.wait; // may I? "thread 2> this took until the other thread has released the semaphore. " "Blo ...

  5. BoxGrid Quark

    ... ostln;}) .nodeUpAction_({ arg nodeloc; nodeloc.postln}); 30.do({ a.setState_(24.rand, 8.rand, 1); // column, row, state }); }); ) b = a.getNodeStates // clear the grid a.clearGrid // set it back to previous state a.setNodeStates_(b) // draw ...

  6. InfluxKtlGui Quark

    ... angle",{ object.disentangle(0.3); }], ["entangle",{ object.entangle(0.3); }], ["RANDOM",{ object.rand(1.0); }] ].collect { |labFunc| Button(leftButtonV, Rect(0, 0, butWid, butH)) .states_([[labFunc[0]]]).action_(labFunc[1]); }; StaticText(l ...

  7. InfluxKtlGui Quark

    ... angle",{ object.disentangle(0.3); }], ["entangle",{ object.entangle(0.3); }], ["RANDOM",{ object.rand(1.0); }] ].collect { |labFunc| Button(leftButtonV, Rect(0, 0, butWid, butH)) .states_([[labFunc[0]]]).action_(labFunc[1]); }; StaticText(l ...

  8. Accurate Yamaha DX-7 Emulation Using Supercollider by egegonul (egegonul) Code

    ... r2, eg_r3, eg_r4, eg_L1, eg_L2, eg_L3, eg_L4; // var lfo, pitchenv, output, randomlfo, multiPitch, lfoAmp; // FreeSelf.kr(gate); lfo = Osc.ar(lfo_wave,lfo_speed, lfo_phase, 0.5 * lfoGet2, 0.5 * lfoGet2) + LFNoise0.ar(lfo_speed, 0. ...

  9. Part-Aleatoric Sample Machine by nathan (nathan) Code

    ... vGen.kr(Env.adsr(10,6,1,6),gate,doneAction:2); synth = SinOsc.ar([freq,1700],Rand(0,0.3),0.1) * env; Out.ar(outBus,synth!2) }).add; // Create effect busses k = Bus.audio(s,2); l = Bus.audio(s,2); m = Bus.audio(s,2); ) ...

  10. CutTrig1 Doc

    ... ck.wav","sounds/snare.wav","sounds/hat.wav"]); s.sync; BBCut2(CutTrig1(bufs, {3.rand},[0.0,0.2,1.0],1.0,1.0), WarpCutProc1.new).play(clock); }); ) ( var bufs, clock; clock= ExternalClock(TempoClock(2.1)); clock.play; Routine.run({ bufs=BBCu ...

prev 131 132 133 134 135 136 137 138 139 140 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow