Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (178) Code (26) Doc (55) Help (20) Quark (71) Plugin (6) SCDoc ↗ Forum ↗ Google ↗
  1. Fb1 Quark

    ... have all in unified nested arrays. // Preparations are a bit lengthy, but core bufrd/wr loop is short. // makeBufs encodes into unified nesting var makeBufs_0 = { |num, bufSize| { LocalBuf(bufSize).clear } ! max(1, num) }; var makeBufs = { ...

  2. WFSPathPlayer Quark

    ... Dseries( startIndex.floor + 1, 1, length-1 )],1), Dseq([ delay.max(0) * ratio, Dbufrd( bufnum, Dseries( startIndex.floor, 1, length ) ) * Dseq([1-startIndex.frac, Dseq([1],length - 1)], 1) ],1), timeScale: 1/ratio, reset: reset, doneAction: ...

  3. wavesets-with-custom-synths Quark

    ... var env = EnvGen.ar(Env([amp, amp, 0], [sustain, 0]), doneAction: 2); var snd = BufRd.ar(1, buf, phasor, 1, interpolation) * env; snd = snd * SinOsc.ar(rate * 200 + (phasor / BufFrames.ir(buf))) + snd; OffsetOut.ar(out, Pan2.ar(snd, pan)); ...

  4. core-synth-hacks-02 Quark

    ... ; phase = phase + scratch; phase = phase.clip(0, BufFrames.ir(bufnum)); sound = BufRd.ar( numChannels: sampleNumChannels, bufnum: bufnum, phase: phase, loop: 0, interpolation: 4 // cubic interpolation ); sound = DirtPan.ar(sound, ~dirt.numC ...

  5. ServerPatternTriggering5 Quark

    ... ), 1); //This is needed in order for 0 in select to choose the right entry from BufRd ~neutralSynth = { Silent.ar(1) }.play; s.sync; ~scheduler = { | synthsIDs, writersIDs, neutralID, freqBusses, ampBusses, trigBusses, durBusses | var trig ...

  6. GFIS Quark

    ... n c = Buffer .loadCollection(s, d) Ex.2a) Time-varying init values // result of BufRd is used as index for the next BufRd // needs Buffer c prepared above ( y = { GFIS .ar( { |x| BufRd .ar(1, c, c.numFrames * x) }, ( LFDNoise3 .ar(3) * [1, ...

  7. blippoo Quark

    ... var pos = Stepper.ar(clock,0,0,7,1); var w = BufWr.ar(sig,buffer,pos); var r1 = BufRd.ar(1,buffer,(pos + 5)%8,0,0)>0; var r2 = BufRd.ar(1,buffer,(pos + 6)%8,0,0)>0; var r3 = BufRd.ar(1,buffer,(pos + 7)%8,0,0)>0; (((r1<<0) + (r2<<1) + (r3<<2 ...

  8. SchrittWechsel Quark

    ... and close doors) minDur = openLength + closeLength + dur; //minDur.poll; open = BufRd.ar( 1, openBufnum, EnvGen.ar(Env([0, BufFrames.ir(openBufnum), 0], [openLength, 0]), gate: Impulse.ar(0)), 0, // no loop interpolation ); steps = BufRd.ar ...

  9. PhasorTJ-test Quark

    ... ew/bounceSaw/aiff24/*.aiff".pathMatch.first); q.buf.play x = { var buf = q.buf; BufRd.ar( numChannels: q.buf.numChannels, bufnum: buf, phase: PhasorTJ.ar(BufDur.ir(buf).reciprocal) * BufFrames.ir(buf), loop: 1, interpolation: 2 ); }.play; x ...

  10. Ampeln Quark

    ... g = DelayN.ar(trig, 1, freq.reciprocal * 0.99, -1); // add gate closing klack = BufRd .ar( 2, klackBufnum, EnvGen .ar( Env ([0, BufFrames .ir(klackBufnum), 0], [ BufSampleRate .kr(klackBufnum).reciprocal * ( BufFrames .ir(klackBufnum)), 0]) ...

prev 1 2 3 4 5 6 7 8 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow