Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1702) Code (152) Doc (537) Help (191) Quark (806) Plugin (16) SCDoc ↗ Forum ↗ Google ↗
  1. Molecular music box by 0-2U (grirgz) Code

    ... nf).asStream; // note length var buf = Array.fill(16,{List.new}); // record loop buffer var deg, len; len = lenstr.next; inf.do { var i = ev[\index]; var n = buf[i]; if(n.size != 0) { // previou ...

  2. Sound file chunks: Workaround for single-precision buffer indexing by jamshark70 (jamshark70) Code

    ... fset = PulseCount.ar(phaseTrig), sig = BufRd.ar(2, bufnum + bufOffset, phase, loop: 0); FreeSelf.kr(bufOffset >= numbufs); LocalOut.ar(phaseTrig); Out.ar(out, sig * amp); }).add; ) a = Synth(\playchunks, [bufnum: b.first, numbu ...

  3. Granular electromaton by willammoxdrossard (William Mox Drossard) Code

    ... r.alloc(s, 512, 1); z.sine1(1.0 / [1, 2, 3, 4], true, true, true); fork( { loop { SynthDef("g1",{ arg out=0,bufnum=0,dur=1,rate=1,pos=0,sdens=1,edens=1; var dens = Line.kr(sdens,edens,dur); var trig = [LFNoise0,SinOsc,Imp ...

  4. ambient01 by workworkworks01 (workworks) Code

    This is our first work and posting. Please give us advice. From Japan. ( SynthDef("pulse",{ arg freq,delayTime,amp = 1.0,attack = 0.01; var out,out2,env; env = EnvGen.kr(Env.perc(attack, 1, 5, 10),doneAction: 2); z = SinOsc.ar(fr ...

  5. wiard noise ring, language implementation (task-based) by lfsaw (LFSaw) Code

    ... >>".postln; }; rbuf; // return (altered) item }; ( Tdef(\steppr, { loop{ q.rbuf = q.step(q.rbuf, q.change, q.chance); // debug output // q.rbuf.asArray.postln; // play the current note, can be basically eve ...

  6. more tweets (pitchshift feedback + sinoscfb) by shouhei (xffff) Code

    ... LocalOut.ar(s);s}.play; // few more I was mucking around with (remove tanh loop for < 140c) {l = LocalIn.ar(2);k=LFSaw.ar(l,0,l,1);j=k.range(0.25,4.0);s=PitchShift.ar(SinOscFB.ar(j**l,k),[0.05,0.03],j);5.do{s=s.tanh+(s*0.1)};LocalOut. ...

  7. Re: Granular electromaton variation by bruno (Bruno Ruviaro) Code

    ... lloc(s, 512, 1); z.sine1(1.0 / [1, 2, 3, 4], true, true, true); { loop { SynthDef("g1",{ arg out=0, bufnum=0, dur=1, rate=1, pos=0, sdens=1, edens=1; var env, trig, dens, snd; dens = Line.kr(sden ...

  8. Micro-Rythms and micro-melodies with granular synthesis. by jeromelapuyadelahorgue (jerome.lapuyade.lahorgue) Code

    ... ssaiSupercollider/SamplesPiecesMonnaie/sample3.wav",channels:0); ~sample2.play(loop:true) ( SynthDef(\essai,{ arg gate=1,amp=0.1,pan=0,freq=440,out; var sig,env,trig; trig=Impulse.ar(freq); sig=PlayBuf.ar(1,~sample2,freq,trig,l ...

  9. Eternal sunrise by 0-2U (grirgz) Code

    ... ,0.5,Pseq([0.8,0.5],inf)].choose * 0.5, ) }), ].flat)) }).loop, Plazy({ Pfindur([64,32,16,8].choose, Ppar([ rrand(1,8).collect({ arg idx; PmonoArtic(( \babass++rrand(0,32) ).asSymbol, \degr ...

  10. A simple bus routing matrix with GUI by 0-2U (grirgz) Code

    ... use \freq.kr(440) // here we use this system to generate argument names in a loop ins = ~matrix_in_count.collect { arg in_idx; InFeedback.ar(( \in++in_idx ).asSymbol.kr(100), 2); }; // for each output, sum the inputs with a di ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow