Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (39) Code (11) Doc (14) Help (3) Quark (11) SCDoc ↗ Forum ↗ Google ↗
  1. RedAGrain Quark

    ... nAmp= In.ar(ampBus); e= EnvGen.ar(Env.asr(attackTime), gate, doneAction: 2); z= TGrains.ar( 2, inTrig, inBus, inRate, inPos*BufDur.kr(inBus), inDur, inPan, inAmp, 2 ); Out.ar(out, z*e); }).add; }); } start {|out= 0, attackTime= 0.01| //expe ...

  2. 3_Republic_tandems Quark

    ... = 1, freq = 2500, reso = 10| var lfo = SinOsc.kr(orate).range(0, 1); var son = TGrains.ar(2, Impulse.ar(trate), q.buffer1, rate, BufDur.kr(q.buffer1) * lfo * pos, 2 / trate ) * 80; BPF.ar(son * reso.sqrt, freq.lag(0.2), 1/reso) ; //son }). ...

  3. Buffer Granulation Quark

    ... buffer granulation specifically this task can e.g. be taken over by ugens like TGrains and GrainBuf, the latter additionally accepting a grain envelope arg. The SC plugin distribution contains further variations (see BhobUGens, JoshUGens). ...

  4. RedAGrain.help Quark

    ... t \ \ Server side granulator that is controlled with audiorate busses. Based on TGrains. \ \ Class Methods \ \ RedAGrain .new(server) - create granulator (stereo only for now) \ \ \ Instance Methods\ \ start(out, attackTime) - starts the gr ...

  5. _SampleLib Quark

    ... etch, doneAction: 2) + TRand.ar(jitter.neg, jitter, trig).madd(bdur); var snd = TGrains.ar(2, trig, buf, rate, pos, trigrate.reciprocal*ovlp, pan, amp ); OffsetOut.ar(out, snd); }).add; ); /* (instrument: \sampGrain, buf: 134, amp: 1, rate: ...

  6. RedKGrain.help Quark

    ... \ \ Server side granulator that is controlled with controlrate busses. Based on TGrains. Same as RedAGrain. Less cpu intensive but you can not modulate fast without getting artefacts. \ \ Class Methods \ \ RedKGrain .new(server) - create gr ...

  7. XiiSoundScratcher Quark

    ... ((x-6)/680)*(myTempBuffer.numFrames/s.sampleRate)); // for warp synth (if using TGrains (which is better)) // synth.set(\pointer, (x-6)/680); // for warp synth (if using Warp1) synth.set(\pos, ((x-6)/680) * myTempBuffer.numFrames);// scratc ...

  8. DIdev Quark

    ... .ar(0.02, pi/5 * i).range(0.1, 0.8) } ! 10; var sig; sig = pos.collect { |p, i| TGrains .ar( 2, trigger: Impulse .ar(i * 10 + 30), bufnum: b, rate: LFDNoise3 .ar(0.1).range(0.3, 1.5), centerPos: p * BufDur .ir(b), dur: 0.1, pan: Dseq ([-1, ...

  9. XiiSynthDefs Quark

    ... ), 4), 1) * env * vol; Out.ar(outbus, signal!2); }); /* // old synth for warp - TGrains proved to sound better SynthDef(\xiiWarp, {arg outbus=0, bufnum = 0, freq=1, pointer=0, vol=0, gate=1; var signal, env; env = EnvGen.kr(Env.adsr(0.2, 0. ...

  10. JMDecompiler-ext Quark

    ... m << ", "; item.streamAsInputUGen(key, stream, decomp); }; stream << ")"; } } + TGrains { streamCode { |key, stream, decomp| this.streamNameAndRate(stream); stream << "(" << channels.size; inputs.do { |item, i| stream << ", "; item.streamAs ...

1 2 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow