Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (266) Code (32) Doc (61) Help (23) Quark (150) SCDoc ↗ Forum ↗ Google ↗
  1. 070-lsystem Doc

    ... 5, 20); //length, theta //--loop w.draw{ cnt= cnt+0.3; //speed lplot.theta= cnt.fold(-90, 90); lsys.reset; lsys.next; lsys.next; lsys.next; lsys.next; //--render Pen.strokeColor= Color.white; Pen.translate(width*0.5, height*0.8); lplot.draw ...

  2. PFold Doc

    PFold: Filter: Description Class methods new Inherited class methods Instance methods Inherited instance methods Examples Classes (extension) | Streams-Patterns-Events > UGenPatterns'>UGenPatterns > UGenPatterns>Modifiers'>Modifiers PFold E ...

  3. Integer Doc

    ... ime nextPrime isPrime indexOfPrime Integer Math * + - modSeaside clip factorial fold log2Ceil wrap Range Limiting clip fold wrap Misc exit generate isInteger isAlt isCaps isCmd isCtrl isFun isHelp isNumPad isShift pidRunning Ambisonic Toolk ...

  4. Rest Doc

    ... loop.coin, Pseq([Rest(), 7], inf), // every second is a Rest Pseries(0, 1, inf).fold(-7, 7) ), \dur, 0.125 ).play ) ⧉ ✔ Using a Rest instance in a duration stream ( Pbind( \degree, Pseries(0, 1, inf).fold(-7, 7), \dur, Pseq([Pn(0.125, { rra ...

  5. Wrap Doc

    ... Object Wrap a signal outside given thresholds. Source: Trig.sc See also: Clip , Fold Description This differs from the BinaryOpUGen wrap2 in that it allows one to set both low and high thresholds. Class Methods Wrap. ar ( in , lo: 0.0 , hi: ...

  6. Clip Doc

    ... tion : Object Clip a signal outside given thresholds. Source: Trig.sc See also: Fold , Wrap Description This differs from the BinaryOpUGen clip2 in that it allows one to set both low and high thresholds. Class Methods Clip. ar ( in , lo: 0. ...

  7. 180-distance_lines Doc

    ... c,vel,acc,mass,size }.dup(n); //--loop w.draw{ Pen.fillColor= Color.grey(0, cnt.fold(0, 500)/10000); Pen.fillRect(Rect(0, 0, width, height)); world.objects.do{|o| world.objects.do{|oo| var dist= o.loc.distance(oo.loc); if(dist<minDist, { Pe ...

  8. Rational Doc

    ... loat pow reciprocal squared isZero floor ceil frac trunc round roundUp mod wrap fold do reverseDo Examples Basic operations Comparisons Sorting Continued fractions Stern-Brocot numbers Conversion between Rational and Float Sound Example (ex ...

  9. InRange Doc

    ... t Tests if a signal is within a given range. Source: Trig.sc Subclasses: Clip , Fold , Schmidt , Wrap See also: InRect , Schmidt Description If lo ≤ in ≤ hi , output 1.0, otherwise output 0.0. Class Methods InRange. ar ( in , lo: 0.0 , hi: ...

  10. RedFingerprint Doc

    ... ; usr= UserView(win, Rect(0, 0, width, height)); usr.drawFunc= { var a= sin(cnt.fold(0, 100)/2pi).linlin(-1, 1, 0.01, 1); var b= sin(cnt.fold(0, 90)/2pi).linlin(-1, 1, 0.1, cnt.fold(0, 50)/25); var rf= RedFingerprint(Wavetable.sineFill(256, ...

prev 1 2 3 4 5 6 7 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow