Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... var snare, filtWhite; filtWhite = LPF.ar(WhiteNoise.ar(1), 7040, 1); snare = ((SinOsc.ar(330,0,0.25) * EnvGen.ar(Env.perc(0.0005,0.055)))+(SinOsc.ar(185,0,0.25) * EnvGen.ar(Env.perc(0.0005,0.075)))+(filtWhite * EnvGen.ar(Env.perc(0.0005,0. ...

  2. subBass1-explanation Quark

    ... ge of it (invert phase) ( { var freq = 100, in, ina, inb; //Input wave - To use SinOsc.ar, replace "iphase: 2" with "phase: 3pi/2" in = LFPar.ar(freq: freq * 2, iphase: 2); //Mirroring the wave around the x-axis ina = in.range(0, 1); inb = ...

  3. TestFunctionAlgaTemp Quark

    ( Alga.boot({ AlgaSynthDef(\test, { LFNoise2.ar(1000) }).add; b = AN({ SinOsc.ar(10) }); a = AN({ SinOsc.ar(\freq.ar(440)) }, [\freq, AlgaTemp({ LFNoise2.ar(1000) }, scale:[450, 1000])], playTime:2 ).play; //a.from(b, \freq, scale:[250, 100 ...

  4. sos_bell Quark

    ... 1); URandSeed.ir(); // always the same sound // 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] * d ...

  5. sos_bell Quark

    ... 1); URandSeed.ir(); // always the same sound // 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] * d ...

  6. Test2 Quark

    ( Alga.boot({ AlgaSynthDef(\sine, {SinOsc.ar(\freq.kr(440))}).add; AlgaSynthDef(\noise, {WhiteNoise.ar.dup * 0.2}).add; 0.3.wait; s.plotTree; }); ) a = AlgaNode(\sine, fadeTime:2).play a = AlgaNode(\sine, fadeTime:2) b = AlgaNode({DC.kr(290 ...

  7. sosBell Quark

    ... 0.3, 0.2, 0], times: [1/3, 1/3, 1/3] * ringRel * rel, curve: curve).kr; ring = SinOsc.ar( freq: ringFreqs * freq, mul: Array.series(6, 1, -0.1) * ringEnv); ring = ring * LFTri.ar( freq: {Rand(wobbleMin, wobbleMax)}.dup(6)).range((1 - wobbl ...

  8. TestNewAlgaBlock1 Quark

    ( Alga.boot({ a = AlgaNode.debug({ SinOsc.ar(\freq.kr(220) + \fm.ar(0)) }, interpTime: 5, playTime:2, name:\a); b = AlgaNode.debug({ SinOsc.ar(\freq.kr(134) + \fm.ar(0)) }, interpTime: 3, name:\b); a.from(b, \fm, scale:[-100, 100]); b.from( ...

  9. TestLatestReplaceAndLatestSender Quark

    ( Alga.boot({ a = AP(( def: { SinOsc.ar(\f.kr(440)) * EnvPerc.ar(release: 0.1) }, dur: 0.5 )).play(chans:2); }) ) //Without latestReplace, this would trigger 5 times ( 5.do { | i | a.replace({ Saw.ar(Rand(220, 440)) * EnvPerc.ar(release: 0. ...

  10. Fb1 Quark

    ... // Writing ar UGens in func that produce a time-varying signal itself // (e.g. SinOsc.ar, in contrast to SinOsc.kr and operator UGens like '+', '*' etc.) - // instead, if such ar UGens aren't applied to data from inside func, // they can b ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow