-
... sc.kr( //amplitude-modulation TRand.kr(1000, 2000, trig), 1.5*pi, //fase TRand.kr(0.0, 1.0, trig)//varying modulation )) //end of modulator ), //end of SinOsc TRand.kr(-1.0, 1.0, t ...
-
... als ? []; this.object.positions.collect({ |pt, i| var res = ((pt.angle.neg + 0.5pi / pi) * 180.0).wrap(-180.0,180.0); if( currentVals[i].notNil ) { case { res == -180 && { currentVals[i] == 180 } } { res = 180; } { res == 180 && { currentVa ...
-
... Examples // An allpass filter example. ( a = FilterCoef.new([Polar.new(0.8, 0.25pi), Polar.new(0.8, -0.25pi)], [Polar.new(0.8.reciprocal, 0.25pi), Polar.new(0.8.reciprocal, -0.25pi)]).postln; a.calc.postln; a.calcImpResp.real.plot("Impulse ...
-
... angeSlider. Next to that it has a lot of extra options. SmoothRangeSlider is inspired and partly based upon blackrains Knob . SmoothRangeSlider inherits allmost all functionality from SmoothSlider . It has two knobs instead of one, and the ...
-
... tire file as a String. readAllStringRTF Reads the entire file as a String, stripping RTF formatting. seek(offset, origin) moves the read/write pointer to a given location in the file, where offset is location given in bytes, and origin is t ...
-
... InQuint.value(2*t-1)/2+0.5)} } //--Sine EaseInSine : Ease { value {|t| ^0-cos(t*pi/2)+1} } EaseOutSine : Ease { value {|t| ^sin(t*pi/2)} } EaseInOutSine : Ease { value {|t| ^-0.5*(cos(pi*t)-1)} } EaseOutInSine : Ease { value {|t| ^if(t<0.5, ...
-
... this, imag) } /* zeros */ *zeroFill { arg size; ^Signal.newClear(size) } /* wrapping */ wrapExtend { arg size; ^this.as(Array).wrapExtend(size).as(Signal) } /* sine */ /* cosine */ *cosineFill { arg size, amplitudes, phases; ^Signal.newClea ...
-
... - other.dual) } excess { |other=1| ^this - clip2(this, other) } // operators copied from SimpleNumber nextPowerOfTwo { ^this.nextPowerOf(2) } nextPowerOf { |base| ^pow(base, ceil(log(this) / log(base))) } nextPowerOfThree { ^pow(3, ceil(lo ...
-
... te,notepulse,noterate; var planeseq,planenotes,planeenv,planenotechange; // piano stuff var noise, string, delaytime, lpf, noise_env,pianosnd,pianosnd2, damp_mul,pianohz,noise_hz; var noise_attack=0.002, noise_decay=0.06, tune_up ...
-
... ckWall (chain, SinOsc .kr(rate * XLine .kr(1, 15 * [1, 1.6], sustain), Rand (0, pi)) ); Out .ar(out, IFFT (chain) * XLine .kr(1, 0.001, sustain, doneAction: 2)) // inverse FFT }).add; ) ( Pbind ( \instrument , \fftgrain , \rate , Pwhite (). ...