Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1070) Code (249) Doc (326) Help (124) Quark (363) Plugin (8) SCDoc ↗ Forum ↗ Google ↗
  1. SpatioScope Doc

    ... z.busOffset_(8); s.scope(4, 8); // play something on these to check { Decay.ar(Impulse.ar(1, [1, 2, 3, 4] / 4), 0.01) }.play(outbus: 8); // try changing the decayTime z.set(\decayTime, 0.4); z.set(\decayTime, 1); ~lfo = { SinOsc.kr([1, 2, ...

  2. 13 Help

    ... rains" , { arg centerFreq = 777, freqDev = 200, grainFreq = 2; var gate; gate = Impulse .kr(grainFreq); Out .ar( 0, SinOsc .ar( LFNoise0 .kr(4, freqDev, centerFreq), 0, EnvGen .kr( Env.sine(0.1) , gate, 0.1) ) ) }).load(s); SynthDef ( "aDel ...

  3. GUI: Time-domain continuous vs sampled signals, and FFT representation by 0-cM (jamshark70) Code

    ... led curve change. (Set only one point, all others 0, and you see a band-limited impulse AKA sinc function. Or, you can programmatically put in a geometrically perfect sawtooth or pulse wave, and see the Gibbs effect.) Or you can adjust t ...

  4. SGliss Quark

    ... (1)); var pos= \pos.kr(0)%1*BufFrames.ir(buf); var loop= \loop.kr(1); var rand= Impulse.kr(1/BufDur.ir(buf)*rate*LFNoise1.kr(0.1, 0.2, 0.6), 0, 1-loop); PlayBuf.ar(1, buf, rate*BufRateScale.ir(buf), \trig.tr+rand, pos, loop)*amp; } } } SGli ...

  5. Env Help

    ... .kr( Env ([6000, 700, 100], [1, 1], [ 'exp' , 'lin' ]).circle.postcs) ) * 0.1 + Impulse .ar(1) }.play; ) ( { SinOsc .ar( EnvGen .kr( Env ([6000, 700, 100], [1, 1], [ 'exp' , 'lin' ]).circle(1).postcs, MouseX .kr > 0.5) ) * 0.1 + Impulse .ar ...

  6. VBAP Doc

    ... = 60, vbapBuf| var panned, source; source = SinOsc.ar([440, 660], 0, Decay2.ar(Impulse.ar([1, 0.9]), 0.1, 0.2)); azi = azi.circleRamp; panned = VBAP.ar(5, source, vbapBuf, [azi - (0.5 * width), azi + (0.5 * width)], ele, spr); // 'standard ...

  7. Env Doc

    ... .kr( Env( levels: [0, 0.1, 0.2, 0.3], times: [0.1, 0.1, 0.1], curve: 8 ), gate: Impulse.kr(3) ); }.plot(duration: 1); ) ⧉ ✔ In the above example, the initial level (0) is never repeated. When retriggered, the envelope moves from its current ...

  8. LevelComp Doc

    ... ange(-1, 1); var stereo = Splay.ar(snd, spread, level, center); Peak.ar(stereo, Impulse.kr(2)).ampdb.poll(2); stereo }.play; ) // when we set full spread, panned to center: // the 2 signals are discrete, left and right // we see the energy- ...

  9. chord-vc Quark

    ... c(excAtk, excDcy, curve: 0)), panShuf = Dshuf((0 .. ratios.size-1)), initTrig = Impulse.kr(0), panLeft, panIncr, sig, hpf; width = min(width, 1 - abs(pan)); panIncr = width / (ratios.size-1); panLeft = pan - width; time = time * Sensitivity ...

  10. 13 Doc

    ... Grains", { arg centerFreq = 777, freqDev = 200, grainFreq = 2; var gate; gate = Impulse.kr(grainFreq); Out.ar( 0, SinOsc.ar( LFNoise0.kr(4, freqDev, centerFreq), 0, EnvGen.kr(Env.sine(0.1), gate, 0.1) ) ) }).add; SynthDef("aDelay", { arg de ...

prev 91 92 93 94 95 96 97 98 99 100 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow