Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. 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 ...

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

  3. A simple drum machine by coreyker (coreyker) Code

    ... 2); phase_env = EnvGen.ar(Env.perc(1e-6,0.125)); phase = SinOsc.ar(20,0,pi) * phase_env; SinOsc.ar([freq,1.01*freq],phase) * amp_env * amp; } } ~bass.value.play; /* ---------------------- Synthetic snare ---- ...

  4. 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;

  5. 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 ( ...

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

  7. 049-pendulum-double Doc

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

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

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

  10. GNUPlot Quark

    ... lot" ; Accessing Instance and Class Variables start Start GNUPlot and creates a pipe to it. (called automatically when creating a new instance.) stop Quit GNUPlot and close the pipe. Since GNUPlot is opened in "persist" mode, the window wil ...

prev 41 42 43 44 45 46 47 48 49 50 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow