Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (153) Code (11) Doc (54) Help (21) Quark (65) Plugin (2) SCDoc ↗ Forum ↗ Google ↗
  1. Dimple_examples.help Quark

    ... ); // ===================================================================== // 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] ); // ============ ...

  2. SGUI Quark

    ... _(#[ \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= ...

  3. default-effects-extra Quark

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

  4. _SynthLib Quark

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

  5. WFSArrayPanSynthDefs Quark

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

  6. Rational Quark

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

  7. EnvView Quark

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

  8. TestCoreUGens Quark

    ... /// // 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], [\ ...

  9. EnvView Quark

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

  10. Fb1_ODE Quark

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

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow