Submit Browse Random
Anonymous Login RSS

SuperCollider Code

All (1643) Code (228) Doc (514) Help (194) Quark (697) Plugin (10) SCDoc ↗ Forum ↗ Google ↗
  1. Pdefn Doc

    ... an argument, create a new pattern each time it is called Pdefn(\x, { Pseq({ 10.rand } ! 8) }); Pn(Pdefn(\x)).asStream.nextN(16); // the function is called in the incoming event as current environment, so parameters can be passed: Pdef(\stu ...

  2. BinaryOpFunction Help

    ... NAryOpFunction related: BinaryOpStream , Pbinop // sound example ( var a = { 19.rand }; var b = { [5, 8, 9].choose }; var c = a + b; fork { 15.do { (instrument: \default , note: [c.value, a.value]).play; 0.3.wait; } } )

  3. UnaryOpFunction Help

    ... , NAryOpFunction related: UnaryOpStream , Punop // sound example ( var a = { 19.rand }; var b = a.sqrt; fork { 15.do { (instrument: \default , note: [a.value, b.value]).play; 0.3.wait; } } )

  4. function Quark

    ... // result shoud be between 0 and 1 // and will be mapped to the output spec 1.0.rand; } ) .setSpec( \function, CodeSpec() ) .category_( 'function' )

  5. function Quark

    ... // result shoud be between 0 and 1 // and will be mapped to the output spec 1.0.rand; } ) .setSpec( \function, CodeSpec() ) .category_( 'function' )

  6. Integer.ext Quark

    ... hresh", "AmClip", "ScaleNeg", "Clip2", "Excess", "Fold2", "Wrap2", "FirstArg", "RandRange", "ExpRandRange"]; ^nm.at(this).asSymbol } nameOfUnaryOpSpecialIndex { var nm = ["-", "!", "IsNil", "NotNil", "BitNot", "Abs", "AsFloat", "AsInt", "Ce ...

  7. PRand Doc

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

  8. SplineGen Doc

    ... Action:2) }.play ) // Linear ( b = LinearSpline( Array.fill(60,{ arg i; [ i,1.0.rand ] }) ); b.gui(nil,1200@300); ) ( { PinkNoise.ar * SplineGen(b).kr(doneAction:2) }.play ) ⧉ ✔ . readKr Plays the spline with a modulatable position input. A ...

  9. Performance Unit - Buffers (part 2) by makary-kleinschmidt (rumush) Code

    ... modMix = 0, dur; var env = EnvGen.ar(Env.linen(0.0005, dur-0.001, 0.0005, 1, IRand(-8,-4)), gate, doneAction:2); var mod = SinOsc.ar(freq*Rand(0.25,2),0,index-(index*modMix))+HenonC.ar(freq*IRand(4,8),mul:index*modMix); var src = SinO ...

  10. Space Game by mjsyts (mjsyts) Code

    ... ius = spriteSize/2; var enemyArray = [Rect.aboutPoint(win.view.bounds.width.rand@0,radius, radius)], explosions = Array.newClear; var numLives=3; var sqrtHalfPi = sqrt(pi/2); var level = 1; var boostView, boostFuel=1, bo ...

prev 61 62 63 64 65 66 67 68 69 70 next

SuperCollider home doc forum wiki git legacy help book

contact | by vividsnow