Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (692) Code (80) Doc (247) Help (48) Quark (306) Plugin (11) SCDoc ↗ Forum ↗ Google ↗
  1. Smooth Clipping and Folding Quark

    Smooth Clipping and Folding a suite of pseudo ugens for smooth clipping and folding Part of: miSCellaneous See also: SmoothClipS , SmoothClipQ , SmoothFoldS , SmoothFoldQ , SmoothFoldS2 , SmoothFoldQ2 Wave folding is a synthesis technique f ...

  2. ProteinBioSynthesis_examples Quark

    ... in, doneAction:2) * \ SinOsc .ar(freq, \ SinOsc .ar(freq * p, 0, BrownNoise .kr(pi/8))\ );\ Out .ar(out, Pan2 .ar(u, pan, amp));\ \ \).store;\ )\ \ (\ var pat;\ \ pat = AminoacidPattern ( "ggaacgggtactattatttattataaccagggc" , inf , 0);\ \ P ...

  3. ExtendableObject-tests Quark

    ... postln; self.object * y }; a.zeta // 8 a.zeta(10); // 80 a.zeta(b) // 56 a.asCompileString.interpret == a // true a.totalFree = { 1.0.rand }; // exists, should throw a.addMethod('+', { pi }); // override a + 6 == pi // yes 6 + a == pi // al ...

  4. SharedEnvirTest Quark

    ... now this is to keep the addresses updated \ )\ \ z.merge;\ a.use \ ~x = 9; ~y = pi \; // should be the same on the other side. \ \ \ \ \ ///////////////////////////// end all //////////////////////////// \ \ x.stop;\ c.stop;\ \ z.leave;\ c. ...

  5. RedPerlin Quark

    ... .prNoise1(floory); v1= this.prNoise1(floory+1); if(interp==1, { fracx= 1-(fracx*pi).cos*0.5; v0*(1-fracx)+(v1*fracx)*a }, { v0*(1-fracx)+(v1*fracx)*a }); }.sum(n) } noise2D {|x, y, persistence= 0.25, n= 8, interp= 1| ^{|i| var f, a, fx, fy, ...

  6. geoListener Quark

    ... sponder, <>moveposResponder; var <>la, <>lb, <>lorient; var <>offsetAngle, <>newPi, <>scapeWidth, <>scapeHeight, <>address; var <>perceptionArea; var <>counter = 0; *new { arg a = 50, b = 50, scapeWidth = 1, scapeHeight = 1; //a,b initial p ...

  7. extColPen-asSVGFile Quark

    ... * cmd[2])@(cmd[3].sin * cmd[2])); cEnd = cmd[1] + (((cmd[3] + cmd[4].min(1.9999pi).max(-1.9999pi)).cos * cmd[2])@ ((cmd[3] + cmd[4].min(1.9999pi).max(-1.9999pi)).sin * cmd[2])); if( currentPath.segments.size == 0 ) { currentPath.add( [\M, ...

  8. ZPlane Quark

    ... stance of ZPlane. ( // Create a new instance of ZPlane with a pole at 0.25, 0.25pi and a zero at 0.25, 0.75pi. a = ZPlane .new([ Polar .new(0.25, 0.25pi)], [ Polar .new(0.25, 0.75pi)]); // Notice that ZPlane automatically accounts for the c ...

  9. 2_MKtlElement_tests Quark

    ... on_(sl2d.x); y.valueAction_(sl2d.y); }).front; z = MKtlElement(\polar, (spec: [-pi, pi], type: \xyPolar, ioType: '?')); ~doZAction = { z.doAction }; [x, y].do {|el| el.addAction(~doZAction) }; [x, y].do { |el| el.removeAction(~post) }; // f ...

  10. Trafo Quark

    ... tMatrix returns the used rotation matrix ( t = Trafo .from3dPoints( [0, 0, 0], [pi, 3, 0], [15, 2, 0] ); t.rotMatrix ) ( t = Trafo .new; t.rotMatrix ) basis returns the basis vectors as [[x1, x2, x3],[y1, y2, y3],[z1, z2, z3]] ( t = Trafo ( ...

prev 11 12 13 14 15 16 17 18 19 20 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow