-
... ); // ===================================================================== // cube d.clear; a = d.createPrism( 0, 0, 0); a.set( "size", [0.15, 0.15, 0.15] ); a.set( "color", [1, 0.2, 0.3] ); a.set( "force", [-0.1, 0, 0] ); // ============ ...
-
... _(#[ \manual_curvature, \step, \linear, \exponential, \sine, \welch, \squared, \cubed ]), [HLayout( box= NumberBox().scroll_step_(0.1).maxDecimals_(1).fixedWidth_(35), usr= UserView().fixedSize_(67@67) ), align:\topLeft] ) ); popup.action= ...
-
... 000 + SinOsc.ar(62,mul: 100)],nil,[0.1, 0.1, 0.05, 0.01]], signal)); mod = (mod.cubed * 8).softclip * 0.5; mod = SelectX.ar(distort, [signal, mod]); ReplaceOut.ar(out, mod); }, [\ir]).add; // Spectral delay ~dirt.addModule('spectral-delay', ...
-
... ,{ |out=0, t_trig=1, freq, decay=0.1, amp=0.9, pan=0| var snd = SinOsc.ar(freq).cubed.cubed; var env = EnvGen.ar(Env.perc(1e-3,decay), t_trig, doneAction:2); OffsetOut.ar(out, Pan2.ar(snd * amp * env, pan)); }).add; SynthDef(\drum1, {|out=0 ...
-
... input = OnePole.ar( input, ( -2pi * ( ( 100000 / ( rho * \distanceFilter.kr(0).cubed ) ).clip(0,10000000) / SampleRate.ir) ).exp ); env = UEnv.kr( extraSilence: ( ( rho / WFSBasicPan.speedOfSound ) * (1 - latencyComp) ) + 0.12 ); input = i ...
-
... s.class.fromReducedTerms(numerator.abs, denominator) } squared { ^this.pow(2) } cubed { ^this.pow(3) } pow { arg n; var result, base, exponent; if (n.isKindOf(Rational)) { n = n.asFloat }; if (n.frac != 0) { ^this.asFloat.pow(n) }; exponent ...
-
... 0 @ viewHeight ) .items_([ \step, \lin, \exp, \sine, \welch, \curve, \squared, \cubed ]) .value_( Env.shapeNumber(env.curves.asCollection.wrapAt(i-1)) ) .font_( font ) .action_({ |pu| if( pu.value != 5 ) { env.curves = env.curves.asCollecti ...
-
... /// // reversible unary ops: [ [\reciprocal, \reciprocal], [\squared, \sqrt], [\cubed, { |x| x ** (1/3) }], [\exp, \log], [\midicps, \cpsmidi], [\midiratio, \ratiomidi], [\dbamp, \ampdb], [\octcps, \cpsoct], [\sin, \asin], [\cos, \acos], [\ ...
-
... 0 @ viewHeight ) .items_([ \step, \lin, \exp, \sine, \welch, \curve, \squared, \cubed ]) .value_( Env.shapeNumber(env.curves.asCollection.wrapAt(i-1)) ) .font_( font ) .action_({ |pu| if( pu.value != 5 ) { env.curves = env.curves.asCollecti ...
-
... 1 / m2); var r = y[0..1].squared.sum.sqrt; [ { y[2] }, { y[3] }, { v * y[0] / r.cubed }, { v * y[1] / r.cubed } ] }, 0, [0, 0, 0, 0], 1, 1); ) // It turns out that this system is numerically very sensitive. // Standard procedures are failin ...