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