Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (285) Code (19) Doc (91) Help (18) Quark (156) Plugin (1) SCDoc ↗ Forum ↗ Google ↗
  1. RedAGrain.help Quark

    ... bufnum - static at ~b1 bufnum \ b= SynthDef ( "buf" , \ Out .ar(r.bufBus.index, DC .ar(~b1.bufnum))\).play;\ //create lfo synth for rate - slowly rising \ c= SynthDef ( "rate" , \ Out .ar(r.rateBus.index, LFSaw .ar(0.1, 0, 0.1, 1))\).play;\ ...

  2. RedKGrain.help Quark

    ... bufnum - static at ~b1 bufnum \ b= SynthDef ( "buf" , \ Out .kr(r.bufBus.index, DC .kr(~b1.bufnum))\).play;\ //create lfo synth for rate - slowly rising \ c= SynthDef ( "rate" , \ Out .kr(r.rateBus.index, LFSaw .kr(0.1, 0, 0.1, 1))\).play;\ ...

  3. OffsetOutBug Quark

    ( s.waitForBoot({ SynthDef(\1, { Out.ar(\out.ir(0), DC.ar([1, 1])) }).add; SynthDef(\2, { \in.ar([0, 0]).poll }).add; s.sync; s.bind { var bus, s1, s2; bus = Bus.audio(s, 2); s1 = Synth(\1, [\out, bus.index]); s2 = Synth(\2, [\in, bus.busAr ...

  4. leakDC Quark

    /* \leakDC Removes DC offset from signal. cutFreq: frequencies below the cutFreq (Hz) will be reduced or removed. A lower cutFreq will make the DC offset removal less effective, a higher cutFreq will result in better offset removal but also ...

  5. leakDC Quark

    /* \leakDC Removes DC offset from signal. cutFreq: frequencies below the cutFreq (Hz) will be reduced or removed. A lower cutFreq will make the DC offset removal less effective, a higher cutFreq will result in better offset removal but also ...

  6. TestMixing Quark

    ... ; ( s.plotTree; a = AlgaNode({SinOsc.ar(\f.kr(440)) * 0.2}).play; b = AlgaNode({DC.kr(220)}); c = AlgaNode({LFNoise1.kr(1).range(200, 1000)}); ) a <<.f b //a <<+.f b would be the same: i don't wanna keep the default when stacking! a <<+.f c ...

  7. RemoveBadValues Quark

    ... od = BinaryOpUGen('==', CheckBadValues.ar(item, i, post), 0); Select.ar(good, [ DC.ar(0), item ]); }); if( res.size > 1 ) { ^res; } { ^res[0]; }; } *kr { |in, post = 2| var res; res = in.asArray.collect({ |item, i| var good; good = BinaryOp ...

  8. TestPattern3 Quark

    ... .ar(\freq.ar([440, 441]).poll) * EnvGen.ar(Env.perc(0.01, 0.1), doneAction:2) * DC.ar(0.5) }).add; AlgaSynthDef(\testImpulse, { //FreeSelf.kr(Impulse.kr(0)); EnvGen.kr(Env.perc(0.01, 0.5), doneAction:2); (Impulse.ar(0) * \amp.kr(1)).poll }) ...

  9. ThreeKicks Quark

    ( SynthDef(\kick1, { var snd; snd = DC.ar(0); snd = snd + (SinOsc.ar(XLine.ar(800, 400, 0.01)) * Env.perc(0.0005, 0.01).ar); snd = snd + (BPF.ar(Hasher.ar(Sweep.ar), XLine.ar(800, 100, 0.01), 0.6) * Env.perc(0.001, 0.02).delay(0.001).ar); s ...

  10. ZeroXBufWr Quark

    ... i); sig = Select.ar( sampleCount.sign, [ // with flag 1 always start with zeroX DC.ar(startWithZeroX.miSC_maybeWrapAt(i)), // slope of signToggle indicates zeroX, if not at start Slope.ar(signToggle.miSC_maybeWrapAt(i)).abs ] ) > 0; (flag = ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow