Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. EQSpec1 Quark

    ... = freq } { \hishelf } { k = k.abs; // positive values for gain at nyquist wc = pi * freq * sampleRate.reciprocal; a0 = (1 - wc)/(1 + wc); } { \loshelf } { k = k.abs; // k values will be converted to negative in synthdef wc = pi * freq * sa ...

  2. EQSpec1 Quark

    ... 1 = rq; } { \hishelf } { k = k.abs; // positive values for gain at nyquist wc = pi * freq * sampleRate.reciprocal; a0 = (1 - wc)/(1 + wc); } { \loshelf } { k = k.abs; // k values will be converted to negative in synthdef wc = pi * freq * sa ...

  3. plusSpec-makeView Quark

    ... alStep; var modeFunc; var font; var editAction; var tempVal; var degMul = 180 / pi; vws = (); font = (RoundView.skin ? ()).font ?? { Font( Font.defaultSansFace, 10 ); }; localStep = step.copy; if( step == 0 ) { localStep = 1 }; bounds.isNil ...

  4. line Quark

    ... ally increases at a rate of 1 per second, you get a sine wave with a period of 2pi (or a freq of 1/(2pi)). To scale the wave, I multiplied the input line by (2pi * lfoRate) so that it's new frequency is lfoRate. The .mod(1) in the LFOs rese ...

  5. Vowel-example Quark

    ... nk .ar( `[q.freqs,amps,amps], Decay .ar( Impulse .ar( exp(1)/5.0 ), SinOsc .kr( pi/9.0, 1.0.rand ).range(0.05,0.7) ) ) * EnvGen .kr( Env .new([-40,-20, -30,-40].dbamp, [2, 1, 2].normalizeSum, 'exp' ), timeScale: dur, levelScale: 0.5, doneAc ...

  6. SharedProxySpace Quark

    ... semble + 400; ~out = { SinOsc .ar(~freq.ar * [1, 1.02], SinOsc .ar(~freq.ar, 0, pi)) * 0.1 }; ~out.stop; // stop only locally // Henry r.push; ~out.stop; // stop only locally // finish: r.clear; p.clear; // quit the servers a.quit; b.quit;

  7. adding-effects Quark

    ... (or put it in your tidal boot script): /* let tsdelay = pF "tsdelay" xsdelay = pI "xsdelay" */ // in SuperCollider // (2) add a module for superdirt // this adds a responder for the parameter // for more examples see synths/core-modules ( ...

  8. HoaMatrix Quark

    ... th(dir, 0.0) }) }, 2, { argDirections } ).collect({ |thetaPhi| // wrap to [ + /-pi, +/-pi/2] Spherical.new(1, thetaPhi[0], thetaPhi[1]).asCartesian.asSpherical.angles }) }) } initFromMatrix { |aMatrix| var size, matrixOrder; // set instance ...

  9. 049-pendulum-double Quark

    ... ze, o1.size); o0.angularVel= (o0.angularVel+a0).clip2(world.maxVel)*(1-world.damping); o1.angularVel= (o1.angularVel+a1).clip2(world.maxVel)*(1-world.damping); o0.theta= o0.theta+o0.angularVel; o1.theta= o1.theta+o1.angularVel; o1.loc= o0.p ...

  10. abstractDrum Quark

    ... squareDrum for more on that). However, for the amplitudes and decay times, some pieces of a model for a plucked string get added in. That's why it's an abstract drum, it's a terrifying jumble of shapes just like abstract art! Position (wher ...

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

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow