-
... ds.height/2) ); Pen.lineTo( 0@(svals[0]) ); Pen.fill; Pen.addArc( pt[i], 5, 0, 2pi ); Pen.color = color.alpha_(0.75); Pen.stroke; }); Pen.color = Color.blue(0.5); Pen.moveTo( 0@(svals[0]) ); svals[1..].do({ |val, i| Pen.lineTo( (i+1)@val ); ...
-
... s. It manages the initialization and deallocation of resources relevant to your pieces in a simple manner. See also: MoltenPiece MoltenPlayer Creation / Class Methods *new (argNumPieces) argNumPieces - Number of piece slots to allocate. Sho ...
-
... t the values to floats k = Routine { 0.5.wait; inf.do { |i| useAndModify.value([pi, 0.5pi, 2pi], "thread 2>"); rrand(1, 5).wait; } }; u.play; k.play; ); ⧉ ✔ helpfile source: /usr/local/share/SuperCollider/HelpSource/Classes/Semaphore.schelp ...
-
... \sign, \frac, \scurve, \neg, \squared, \cubed, \abs, \ceil, \floor, \sqrt, // copied methods \degrad, \raddeg, \nextPowerOfTwo, \nextPowerOfThree, ]; classvar binaryOps = #[ '+', '-', '*', '/', \pow, \mod, \min, \max, \amclip, \scaleneg, \c ...
-
... two channels as we will monitor it with headphones ) ⧉ ✔ Let's make a node that picks up the SoundIn (microphone) and spatializes it in a HOA signal we spatialize it a spherical wave and we have it move vertically and change the distance wi ...
-
... in seconds freq = dur.reciprocal; { // imaginary HilbertHIm.ar( SinOsc.ar(freq, pi/2), // cosine test, one cycle over fftbuffer size size: size); }.loadToFloatArray(overSample * dur, s, { |arr| defer { arr = arr.copyRange(start, start+size- ...
-
... , -3.14, -3.14], ["inf", inf, "\"inf\""], ["negative inf", -inf, "\"-inf\""], ["pi", pi, 3.1415926535898], ["exp writing", 1e5, 100000.0], ["neg-exp writing", 1e-5, 0.00001], ["hex", 0x10, 16], ].do({|v| var o = (v[0]: v[1]).postln; var j = ...
-
... x exponentiation with base e. Discussion: exp(Complex(2, 9)) ⧉ ✔ exp(Complex(0, pi)) == -1 // Euler's formula: true ⧉ ✔ . squared Complex self multiplication. Discussion: squared(Complex(2, 1)) ⧉ ✔ . cubed complex triple self multiplication ...
-
... http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/Epic-Pads-td7487382.html#a7492701 s.waitForBoot({ var table, re, im, tab, fftsize, result, pars, freqs, amps, bandwidth, partials, note; var samplerate = s. ...
-
... g rather than answering nil]. test_ZeroDenominator { [1, -1, 0, 100, -100, 0.5, pi].do { |num| this.assertException({ Rational(num, 0) }, Error, format("Rational(%, 0) is refused", num)); }; this.assertException({ Rational(1, 2) / Rational( ...