Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (2676) Code (536) Doc (989) Help (430) Quark (698) Plugin (23) SCDoc ↗ Forum ↗ Google ↗
  1. README Quark

    ... EaseInOutQuad.(t)}.plot; //--similar in sclang and inside synthdefs s.boot c= {SinOsc.ar(EaseInOutExpo.kr(MouseX.kr)*500+500, 0, 0.1)}.play c.free a.collect{|x| EaseInOutExpo.(x)}.plot //--rates are flexibe when used inside synthdefs c= {S ...

  2. TestNewParserAndLiteralFunctions Quark

    ( Alga.boot({ a = AP(( def: { SinOsc.ar(\freq.kr(440).poll(1)) * EnvPerc.ar }, freq: Pif( Pfunc { 0.5.coin }, AT({ LFNoise0.kr(10) }, scale: [440, 880]), Pseq([ AT { DC.kr(220) }, AT { DC.kr(440) }], inf) ) )).play(chans:2) }) ) ( Alga.boot ...

  3. Filter Quark

    ... ul5, mul6, mul7, mul8]; modDim = [ Select.ar(modWhich1, [LFNoise1.ar(modFreq1), SinOsc.ar(modFreq1), LFTri.ar(modFreq1), LFSaw.ar(modFreq1), LFPulse.ar(modFreq1)]).range(min1, max1), Select.ar(modWhich2, [LFNoise1.ar(modFreq2), SinOsc.ar(mo ...

  4. TXT Quark

    Picture 1.png ¬\ ( Pulse .ar ** Pulse .ar); \ \ Picture 2.png ¬\ SinOsc .ar( Control .names( \ ).kr([440, 550]), 0.5pi, Control .names( \ ).kr(0.2.dup)) * 0.135; \ Picture 3.png ¬\ a = SinOsc .ar([71, LFPulse .kr(2).range(34, 45), 45, 34]). ...

  5. beating Quark

    ... ar env, snd1, snd2; env = EnvGen.ar(Env.perc(0.01, art), doneAction: 2); snd1 = SinOsc.ar(freq); snd2 = SinOsc.ar(Line.kr(freq+15, freq, art)); Out.ar(0, Pan2.ar(Mix([snd1, snd2]), 0, amp*env)) }).add;

  6. PhasorTJ Quark

    ... lector = \ar| LFTri .perform(selector, freq)}, \sine -> {|freq, selector = \ar| SinOsc .perform(selector, freq)}, \sin -> {|freq, selector = \ar| SinOsc .perform(selector, freq)} ]; phaseEngines = IdentityDictionary[ \saw -> {|freq, end, of ...

  7. TestSustain Quark

    //1 ( Alga.boot({ a = AP(( def: { SinOsc.ar * EnvGen.ar(Env.adsr, \gate.kr) }, //user can use \gate sustain: Pseq([1, 2], inf), //reserved keyword dur: 3 )).play }) ) //2 ( Alga.boot({ a = AP(( def: { SinOsc.ar }, amp: AlgaTemp({ EnvGen.ar( ...

  8. TestObjArgs Quark

    ( AlgaScheduler.verbose=true; Alga.boot({ AlgaSynthDef(\something, { SinOsc.ar(\freq.kr(440)) }).add; AlgaSynthDef(\somethingElse, { Saw.ar(\freq.kr(440)) }).add; s.sync; b = AlgaNode({SinOsc.kr(1).range(100, 2000)}); a = AlgaNode(\somethin ...

  9. oneclap_thor Quark

    ... 1, pan=0; var env, signal, attack,Ê noise, hpf1, hpf2; noise = WhiteNoise.ar(1)+SinOsc.ar([filterfreq/2,filterfreq/2+4 ], pi*0.5, XLine.kr(1,0.01,4)); //noise = PinkNoise.ar(1)+SinOsc.ar([(filterfreq)*XLine.kr(1,0.01,3), (filterfreq+4)*XLin ...

  10. Space Quark

    ... .. args ) - xset ( ... args ) - xsetn ( ... args ) Examples s.boot; ( Ndef(\x, {SinOsc.ar(440,0,0.1)}); Ndef(\y, {SinOsc.ar(880,0,0.1)}); ~arr = [Ndef(\x), Ndef(\y)]; ) n = Space(~arr, \pan2, [-1,1], fadeTime: 1); n.numChannels; //number of ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow