Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... emolo, mod2, mod3; env = Env.adsr(att, dec, sus, rel).kr(gate: gate); vibrato = SinOsc.kr(vibratoRate).range(freq * (1 - vibratoDepth), freq * (1 + vibratoDepth)); tremolo = LFNoise2.kr(1).range(0.2, 1) * SinOsc.kr(tremoloRate).range((1 - t ...

  2. ProteinBioSynthesis_examples Quark

    ... in=1.0, pan, p, amp=0.1;\ var u;\ u = Line .kr(1, 0, sustain, doneAction:2) * \ SinOsc .ar(freq, \ SinOsc .ar(freq * p, 0, BrownNoise .kr(pi/8))\ );\ Out .ar(out, Pan2 .ar(u, pan, amp));\ \ \).store;\ )\ \ (\ var pat;\ \ pat = AminoacidPatt ...

  3. 03_Conversions Quark

    ... ot Alga Alga.boot //2 sines. \freq has two control rate channels a = AlgaNode({ SinOsc.ar(\freq.kr([220, 440])) }).play //5 LFOs at audio rate b = AlgaNode({ SinOsc.ar([1, 2, 3, 4, 5]) }) //rate conversion ( ar -> kr ) //channels conversion ...

  4. TestInstr Quark

    ... itially be nothing in leaves"); } test_clearAll { var l; Instr("test_clearAll",{SinOsc.ar}); Instr.clearAll; l = Instr.leaves; this.assertEquals( l.size, 0, "should be nothing in leaves after clearAll"); } /*test_noOverwriteSubnode { var q, ...

  5. sos_bell Quark

    ... out=0, amp=0.1, pan=0| var son, strike, hum; // Stretched harmonic series son = SinOsc.ar(#[2, 3, 4.1, 5.43, 6.8, 8.21] * freq, 0, #[1, 0.9, 0.8, 0.7, 0.6, 0.5] * 0.1); son = son * EnvGen.ar(Env.new([0,1,0.3, 0.2, 0], [0, 0.3, 0.3, 0.3])); ...

  6. 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 ...

  7. TestPattern2 Quark

    ( Alga.boot({ AlgaSynthDef(\test, { SinOsc.ar(\freq.ar([440, 441])) * EnvGen.ar(Env.perc(0.01, 1), doneAction:2) }).add; s.sync; b = AlgaNode({SinOsc.kr([1, 2]).range(10, 1000)}); a = AlgaPattern(( def: \test, dur: 1, freq: Pwhite(400, 1000 ...

  8. PrePostView Quark

    ... der: z.sliderView) y.setAmps(exprand(0.1, 1.0), exprand(0.01, 0.4)); Ndef(\x, { SinOsc.ar(0.13).abs * BrownNoise.ar }); x = NdefGui(Ndef(\x)); y = PrePostView.forNdefGui(x); y.setAmps(exprand(0.1, 1.0), exprand(0.01, 0.4)); ProxyMeter.check ...

  9. SynthDefAutogui Quark

    ... ; // a SynthDef a = SynthDef ( \test , { arg out = 3, freq = 100; Out .ar(out, SinOsc .ar(freq))}) ; z = SynthDefAutogui ( \test ) ; // Separate gui call a = SynthDef ( \test , { arg out = 3, freq = 100; Out .ar(out, SinOsc .ar(freq))}) ; ...

  10. Unwrap Quark

    ... kr-ugen for retreiving wrapped signals /* example: ( { var sig, wrapped; sig = SinOsc.kr( Line.kr(5,20,1), 0, 0.5); wrapped = Wrap.kr( sig, -0.1, 0.1 ); [ sig, wrapped, Unwrap.kr( wrapped, -0.1, 0.1 ) ]; }.plot( 1 ); ) ( { var sig, wrapped ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow