Submit Browse Random
Anonymous Login RSS

SuperCollider Code

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

    ... s the mapping for display styles: \Linear -> 0, \SquareRoot ->1, \Squared ->2, \Cubed ->3, \CubeRoot ->4, \Exponential ->5, \Logarithmic ->6 Note that these work the other way around than Spec, eg. use \Logarithmic where you would use \exp ...

  2. robTron Quark

    ... d = LinLin.kr([c_3c, c_4d], 0, 1, 0, 12*8); #f, h = ([c_6f, c_8h ]).lag(robLag).cubed; // just curve .. i = LinExp.kr(c_8i, 0, 1, minScale, maxScale).lag(robLag)-0.1; s2 = s2.clip(0.0, 1); #pw1, pw2 = [pw1, pw2].lag(robLag+1).clip(0.001, 1- ...

  3. DualNumber Quark

    ... ^this.chainRule(neg(_), -1) } squared { ^this.chainRule(squared(_), (_ * 2)) } cubed { ^this.chainRule(cubed(_), { |x| x.squared * 3 }) } abs { ^this * this.sign } // unary ops with dual zero ceil { ^this.class.new(this.real.ceil, 0.0) } f ...

  4. SpatioScope Quark

    ... ier circles are outer // (assumes dome shape, low channels on bottom, as in IEM CUBE) radii = radii ?? { (numrings .. 1) / (numrings + 1) }; angleOffsets = angleOffsets ?? 0; locs = [ nums, radii, angleOffsets ].flop.collect { |list| this.r ...

  5. ArduinoQuaternion Quark

    ... oQuaternionParser and Quaternion extension ported from Fabio Varesano's FreeIMU_cube Processing example. http://www.varesano.net/ Dependencies: MathLib Quark (Quaternion), Arduino Quark */ ArduinoQuaternion : Arduino { // TODO: write euler ...

  6. extArray-interpolation Quark

    ... / used for every index var c0, c1, c2, c3; #c0, c1, c2, c3 = this; // ^[ c3 * i.cubed, c2 * i.squared, c1 * i, c0 ].sum; ^((c3 * i + c2) * i + c1) * i + c0; } splineIntFunctionArray { |i, x1array, x2array| // input is a full array (like in ...

  7. Republic Quark

    ... out, Pan2 .ar( RLPF .ar( LFPulse .ar(zzf, 0, SinOsc .kr(mod * zzf)), zzf * (env.cubed + mod + 0.5), 0.2 ), pan, env * amp )) }).share; ) r.synthDescs; // the available SynthDescs a = SynthDescLib .global.synthDescs.at( \xxx ); // it has arr ...

  8. AudioUnitBuilder Quark

    ... ]; displayDict=IdentityDictionary[ \Linear -> 0, \SquareRoot->1, \Squared->2, \Cubed->3, \CubeRoot->4, \Exponential->5, \Logarithmic->6 ]; } *new { arg name, subtype, func, specs, type=\aumf; ^super.new.init(name, subtype, func, specs, typ ...

  9. Matrix Quark

    ... unary operators: matrix.uop neg, bitNot, abs, ceil, floor, frac, sign, squared, cubed, sqrt, exp, reciprocal; returns new matrices. binary operators: usage: matrix bop aNumber or: aNumber bop matrix /, div, %, **, min, max; returns new matr ...

  10. SphericalDesign Quark

    ... -- // The T-Designs found here are from the work of: // McLaren's Improved Snub Cube and Other New Spherical Designs in Three // Dimensions, R. H. Hardin and N. J. A. Sloane, Discrete and // Computational Geometry, 15 (1996), pp. 429-441. / ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow