Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. p_time_humanize Quark

    ... amount = 0| { var logical = 0, actual = 0, qtime = 0; var ttime, aamt, random; loop { ttime = time.next; logical = logical + ttime; aamt = amount.next; random = aamt.rand; qtime = (logical + (random - ((aamt/2).min(ttime) ))) - actual; if( ...

  2. Core_04 Quark

    ... riginalPreview1V67h, { |out = 0, bufnum = 0, amp = 0.9, gate = 1, startPos = 0, loop = 1| var sig, env; sig = PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum), startPos: startPos, loop: loop, doneAction: 2); env = EnvGen.kr(Env.asr(0.005, 1, 0 ...

  3. SplitBufSndFile Quark

    ... startPos = 0| ^[ this.currentBuffer(server, startPos).first, numChannels, rate, loop.binaryValue ] } currentBuffers { |server| // returns all buffers if server == nil if( server.notNil ) { ^this.buffers.select({ |item| item[0].server == ser ...

  4. example with sc by burnishimura (tonetron) Code

    From Kyoto city in Japan. s.boot; /*SynthDef section*/ ( SynthDef(\raintree02, {arg freq,amp,pan; var out, env; env = Env.perc(0.01,0.5); out = SinOsc.ar(freq.midicps,0,1.0) * EnvGen.kr(env, doneAction: 2); out = Pan2.ar(ou ...

  5. PlonkRunner Quark

    ... te = argState; name = argName; clock = TempoClock(dt.reciprocal); task = Task({ loop { // tempo is determined by the clock's tempo, we do something between all beats 0.5.wait; state.log(\runner, "Running %".format(name)); mFunc.value(state, ...

  6. RedLoopDisk Doc

    RedLoopDisk: Filter: Description Class methods new Inherited class methods Instance methods amp channels length buffer free Inherited instance methods Examples Classes (extension) | Red > redSampler'>redSampler RedLoopDisk Extension loop a ...

  7. softVol_ Help

    ... er EZSlider (w, 340@30, \knowLastV , \amp , Routine { |sl| var newVal, lastVal; loop { newVal = sl.value; Ndef ( \test ).softVol_(sl.value, 0.05, lastVal: lastVal); lastVal = newVal; \dummy .yield; } }); )

  8. wiard noise ring variation using a ringbuffer instead of bitshifting, language implementation (task-based) by lfsaw (LFSaw) Code

    ... ); item; // return (altered) item }; ( Tdef(\steppr, { var midinote; loop{ midinote = q.step(q.rbuf, q.chance, q.change, q.min, q.max); // debug output // q.rbuf.asArray.postln; // play the current note, can ...

  9. PV_MagMinus Doc

    ... , chainB, chain; inA = PlayBuf.ar(1, soundBufnum, BufRateScale.kr(soundBufnum), loop: 1); inB = WhiteNoise.ar(LFNoise2.kr(20).max(0)); chainA = FFT(bufnumA, inA); chainB = FFT(bufnumB, inB); chain = PV_MagMinus(chainA, chainB, MouseX.kr(0, ...

  10. p_choose Quark

    ... rr, nn; thisThread.randSeed = seed.next.asControlInput; arr = (..n-1).scramble; loop { index = arr.removeAt( histSize.next.asInt rrand: (n-1).asInt ); arr = arr.addFirst( index ); vals.at( index ).yield; }; }.r }, addToAll: false ) .categor ...

prev 71 72 73 74 75 76 77 78 79 80 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow