Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2106) Code (553) Doc (473) Help (193) Quark (880) Plugin (7) SCDoc ↗ Forum ↗ Google ↗
  1. hihat_electro Quark

    ... click, clickAmp; var noise, noiseAmp; var snd; // noise -> resonance -> expodec envelope noiseAmp = EnvGen.ar(Env.perc(0.001, 0.3, curve: -8), doneAction: 2); noise = Mix(BPF.ar(ClipNoise.ar, [4010, 4151], [0.15, 0.56], [1.0, 0.6])) * 0.7 * ...

  2. UGenPatterns Overview Quark

    ... s handled differently in the original examples above) ( a= { var dur= 0.25; var env= Decay2 .ar( Impulse .ar(1/dur), 0.01, 0.5); SinOsc .ar( LFPulse .kr(1/(8*dur), 0, 0.5, 400, 400)+ SinOsc .ar(1/(40*dur), 0, 10))*env; }.play ) a.free //--n ...

  3. sStream Quark

    ... SynthDef(\sStream, {|outBus= 0, synBus, atk= 0.1, rel= 1, on= 1, vol= 0| var onEnv= EnvGen.kr(Env.asr(atk, 1, rel), on); var syn= In.ar(synBus, 2)*0.2; var lv= VSTPlugin.ar(nil, 2, id:\lv); var av= VSTPlugin.ar(nil, 2, id:\av); Out.ar(outB ...

  4. ping_mh Quark

    ... an=0,out=0; var sig,freq2; freq=freq*rrand(1,1.01); freq2=freq*rrand(1,1.01); e=EnvGen.ar(Env.perc(attack,dur,curve:-4),doneAction:2); sig=SinOsc.ar([freq,freq2],0,amp*e); sig=Pan2.ar(sig,pan); Out.ar(out,sig) }, metadata: ( credit: "Your b ...

  5. dot.help Quark

    ... dot' method. ( a = SynthDef.new("Example", { arg bus=0, freq=440; var e, o; e = EnvGen.kr(Env.perc, levelScale:0.3, doneAction:2); o = RLPF.ar(LFSaw.ar(freq) * e, LFNoise1.kr(1, 36, 110).midicps, 0.1); 4.do({o = AllpassN.ar(o, 0.05, [0.05.r ...

  6. scpodcast_harp1_synthdef Quark

    ... p, panpos; // Add upwards sweep occasionally sweeptrig = Dust.kr(0.01); sweep = EnvGen.kr(Env.new([1,4,1], [3, 0.0001]), sweeptrig); trig = Dust.kr(pluckratefactor * (LFNoise2.kr(ExpRand(0.1, 0.4)).range(1, LFNoise2.kr(ExpRand(0.02, 0.08)). ...

  7. scpodcast_harp1_synthdef Quark

    ... p, panpos; // Add upwards sweep occasionally sweeptrig = Dust.kr(0.01); sweep = EnvGen.kr(Env.new([1,4,1], [3, 0.0001]), sweeptrig); trig = Dust.kr(pluckratefactor * (LFNoise2.kr(ExpRand(0.1, 0.4)).range(1, LFNoise2.kr(ExpRand(0.02, 0.08)). ...

  8. RedAGrain Quark

    ... r(posBus); inDur= In.ar(durBus); inPan= In.ar(panBus); inAmp= 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) ...

  9. TZeroXBufRd Quark

    ... = 0| var thisX, nextX, baseX, sndBufIndex, phase, phaseTrig, phaseOffset, time, env, sndBufs, zeroXBufs, zeroXDiff, rateSig, dirSig, sndBufIndexSig, bufSize, zeroXBufSize, outSize, args, trigCount, sig; args = [ zeroX, xNum, xRep, power, mu ...

  10. MixerChannelDef Quark

    ... abs > clip)); SendReply.ar(bad, '/mixerChBadValue', [bad, in].flat, 0); badEG = EnvGen.ar(Env(#[1, 0, 1], #[0, 0.05], releaseNode: 1), bad); in = Select.ar(bad > 0, [in * badEG, DC.ar(0)]); // so that mixerchan bus can be used as postsendbu ...

prev 51 52 53 54 55 56 57 58 59 60 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow